All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ejmf.toolkit.gui.multiimage.MakeMultiImage

java.lang.Object
   |
   +----ejmf.toolkit.gui.multiimage.MakeMultiImage

public class MakeMultiImage
extends Object
A conveniece class for creating a multi-image (.mti) file.

Usage:

 java MakeMultiImage   
 
The frame-delay is in nanoseconds.

See Also:
MultiImageComponent, MultiImageFrame, ShowMultiImage

Variable Index

 o usage
The usage message when run from the command line

Constructor Index

 o MakeMultiImage()

Method Index

 o fileToByteArray(File)
Opens a file and loads the contents into a byte array.
 o main(String[])
Creates a multi-image (.mit) file based on the given frame delay and input files.

Variables

 o usage
 public static String usage
The usage message when run from the command line

Constructors

 o MakeMultiImage
 public MakeMultiImage()

Methods

 o main
 public static void main(String args[])
Creates a multi-image (.mit) file based on the given frame delay and input files. The input files may be of any format which the JDK can use to create an Image.

Parameters:
args[] - See the above usage
 o fileToByteArray
 public static byte[] fileToByteArray(File f) throws IOException
Opens a file and loads the contents into a byte array.

Parameters:
f - The file to open
Returns:
A byte array containing the contents of the file.
Throws: IOException
If the file could not be read.

All Packages  Class Hierarchy  This Package  Previous  Next  Index