org.millscript.millscript.loaders
Class RasterImageLoader

java.lang.Object
  extended by org.millscript.millscript.loaders.Loader
      extended by org.millscript.millscript.loaders.ValueLoader
          extended by org.millscript.millscript.loaders.RasterImageLoader
All Implemented Interfaces:
org.millscript.commons.alert.AlertOrigin

public final class RasterImageLoader
extends ValueLoader

General purporse raster image file loader. The exact type of file we are loading is determined from the file extension. We could force the issue by hard coding a specific image reader.


Field Summary
 
Fields inherited from class org.millscript.millscript.loaders.Loader
entry, pack, symbol
 
Constructor Summary
RasterImageLoader()
           
 
Method Summary
 java.lang.Object loadValue()
          Causes this loader to load it's value.
 
Methods inherited from class org.millscript.millscript.loaders.ValueLoader
loadBindings
 
Methods inherited from class org.millscript.millscript.loaders.Loader
getInstance, getLineNumber, getOrigin, getSymbol, newLoader, setContext, setLineNumber, setLoader, setOrigin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterImageLoader

public RasterImageLoader()
Method Detail

loadValue

public java.lang.Object loadValue()
Description copied from class: Loader
Causes this loader to load it's value.

Specified by:
loadValue in class Loader
Returns:
the object that was loaded
See Also:
Loader.loadValue()


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.