com.ptc.windchill.esi.map
Class ESIMap

java.lang.Object
  extended bycom.ptc.windchill.esi.map.ESIMap

public final class ESIMap
extends Object

An abstraction for an ESI map file.

Supported API: true

Extendable: false


Nested Class Summary
 class ESIMap.Entry
           
 
Field Summary
private static String CLASSNAME
           
private  List entries
           
private  String fileName
           
private static String RESOURCE
           
 
Constructor Summary
ESIMap(String fileName)
          Loads the map file identified by the fileName argument.
 
Method Summary
 Collection getSourceAttributes()
          Returns a collection of Strings that represent the names of the source attributes.
 Collection getTargetAttributes()
          Returns a collection of Strings that represent the names of the target attributes.
 Iterator iterator()
          Returns an iterator for the Collection in the entries attribute.
private  void load()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

entries

private List entries

fileName

private String fileName
Constructor Detail

ESIMap

public ESIMap(String fileName)
       throws FileNotFoundException,
              IOException
Loads the map file identified by the fileName argument. Only constructor for the class, thus insuring that every instance is properly initialized.

Supported API: true

Parameters:
fileName - The path & file information defining a map file's location.
Throws:
FileNotFoundException
IOException
Method Detail

getSourceAttributes

public Collection getSourceAttributes()
Returns a collection of Strings that represent the names of the source attributes.

Supported API: false

Returns:
Collection

getTargetAttributes

public Collection getTargetAttributes()
Returns a collection of Strings that represent the names of the target attributes.

Supported API: false

Returns:
Collection

iterator

public Iterator iterator()
Returns an iterator for the Collection in the entries attribute.

Supported API: true

Returns:
Iterator

load

private void load()
           throws FileNotFoundException,
                  IOException
Throws:
FileNotFoundException
IOException