All classes that are a part of RasterMaster® Java are contained in the Snow package. Use the import statement to call the classes, either import Snow.*; or import Snow.Snowbnd;

Placing Classes In The Classpath Directory

The Snow.jar containing the RasterMaster Java classes must be placed in a directory included in your CLASSPATH environment variable. If they are not in your CLASSPATH, or if your CLASSPATH environment variable is not specified, you can add them with the statement below:

SET  CLASSPATH=C:\JAVA

Specifying the Classpath At Compile

You can also specify the classpath at compile and run time by passing in the CLASSPATH as a parameter to the virtual machine by using the statement below:

c:\jdk1.7\bin\java  -classpath  c:\snowbound\;  MySnowClass

Note: When using the CLASSPATH, specify the parent directory of the Snow.jar file. For example, if the RasterMaster class files are located at c:\snowbound\Snow.jar, the classpath to the RasterMaster classes is c:\snowbound.

##RasterMaster Image Object

The Snowbnd image object is the main API class in the RasterMaster SDK, representing a single image and all of its related operations, such as decompress, pan, scroll, zoom, and others. Just place snow.jar into your CLASSPATH, add a Snowbnd image object to your application, and then you will have easy access to RasterMaster Java’s ability to read, manipulate, display, and save images.

Constructing a New Snowbnd Object

To construct a new Snowbnd object, use the default constructor below:

Snowbnd  Simage  =  new  Snowbnd();