GTGE API

Package com.golden.gamedev.util

Provides important utility classes, such as utility for array, file, image, etc.

See:
          Description

Class Summary
FileUtil Utility class provides functions for processing java.io.File object, such as renaming file extension, reading and writing text file, etc.
FontUtil Utility class for manipulating java.awt.Font object.
ImageUtil Utility class for creating, loading, and manipulating image.
Utility Utility class provides general functions, such as array enlargement/shrinkment operation, array mixed, randomize, and other functions that categorized as common functions.
 

Package com.golden.gamedev.util Description

Provides important utility classes, such as utility for array, file, image, etc.

Utility class is a class that consists a collection of static methods. A static method can be called directly without the need of creating the instance of the class. Thus all methods in this package can be used directly.

For example to use image utility (ImageUtil class) :

   BufferedImage src;

   // rotate the src image 90, clockwise
   // directly call ImageUtil rotate method
   BufferedImage rotatedImage = ImageUtil.rotate(src, 90);


GTGE API

Copyright © 2003-2005 Golden T Studios. All rights reserved. Use is subject to license terms.
GoldenStudios.or.id