com.etasoft.trans.map
Class axMapFile

java.lang.Object
  extended bycom.etasoft.trans.map.axMapFile

public class axMapFile
extends java.lang.Object

Utility class for loading and saving of maps


Field Summary
static int CMP
           
static int XML
           
 
Method Summary
static axMap loadMap(java.io.InputStream inputStream)
          Alternate way to load CMP maps using external input stream.
static axMap loadMap(java.lang.String fileName)
          Load the map from CMP format.
static void saveMap(java.lang.String fileName, axMap map)
          Save the map in CMP format.
static void saveMapXML(java.lang.String fileName, axMap map)
          Save the map in XML format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CMP

public static final int CMP
See Also:
Constant Field Values

XML

public static final int XML
See Also:
Constant Field Values
Method Detail

loadMap

public static axMap loadMap(java.io.InputStream inputStream)
                     throws axException
Alternate way to load CMP maps using external input stream.

Throws:
axException

loadMap

public static axMap loadMap(java.lang.String fileName)
                     throws axException
Load the map from CMP format.

Throws:
axException

saveMap

public static void saveMap(java.lang.String fileName,
                           axMap map)
                    throws axException
Save the map in CMP format.

Throws:
axException

saveMapXML

public static void saveMapXML(java.lang.String fileName,
                              axMap map)
                       throws axException
Save the map in XML format.

Throws:
axException