electric.xml.io.mapping
Class MapFileLoader

java.lang.Object
  extended byelectric.xml.io.mapping.MapFileLoader
All Implemented Interfaces:
IEXMLLoggingConstants, ILoaderConstants, ILoggingConstants

public final class MapFileLoader
extends java.lang.Object
implements ILoaderConstants, IEXMLLoggingConstants

MapFileLoader.

Author:
webMethods

Field Summary
 
Fields inherited from interface electric.xml.io.mapping.ILoaderConstants
DEFAULT_MAP_PATH, FILE_SEPARATOR, JAR_EXT, MAP_EXT, NO_MAP_FILES, ZIP_EXT
 
Fields inherited from interface electric.xml.IEXMLLoggingConstants
MAPPING_EVENT, SCHEMA_EVENT
 
Fields inherited from interface electric.util.log.ILoggingConstants
CLASSLOADER_EVENT, COMMAND_EVENT, COMMENT_EVENT, CONFIG_EVENT, DEBUG_EVENT, ELECTRIC_LOGGING_PROPERTY, ERROR_EVENT, EXCEPTION_EVENT, FILE_EVENT, LICENSE_EVENT, RESOURCES_EVENT, SECURITY_EVENT, SHUTDOWN_EVENT, SOURCE_EVENT, SQL_EVENT, STARTUP_EVENT, WARNING_EVENT
 
Constructor Summary
MapFileLoader()
           
 
Method Summary
 MapFile[] loadMapFiles(java.lang.String path)
          Load map files from the given path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapFileLoader

public MapFileLoader()
Method Detail

loadMapFiles

public MapFile[] loadMapFiles(java.lang.String path)
                       throws java.io.IOException,
                              ParseException,
                              java.lang.SecurityException
Load map files from the given path. This method does not "read" the mappings (translate them into schema and cache the results), it just parses the XML into a Document. If path points to something directory-like, all the entries ending in ".map" are processed.

Parameters:
path -
Returns:
map files read from the path
Throws:
java.io.IOException
ParseException
java.lang.SecurityException


copyright© 2001-2004 by webMethods All Rights Reserved.