public class IlvDAFIFTableDescription extends Object
Constructor and Description |
---|
IlvDAFIFTableDescription(String directory,
String name)
Creates a new
IlvDAFIFTableDescription . |
Modifier and Type | Method and Description |
---|---|
void |
addChildTable(IlvDAFIFTableDescription desc)
Adds a child description.
|
void |
addReferenceTable(char key,
IlvDAFIFTableDescription tableDescription)
Adds a referenced description.
|
IlvFeatureAttribute[] |
decodeAttributes(String line)
Decodes the ASCII line extracted from a DAFIF text file into a table of feature attributes.
|
IlvAttributeInfoProperty |
getAttributeInfoProperty()
Returns the description of the feature attributes.
|
IlvDAFIFTableDescription[] |
getChildList()
Returns the table of child descriptions.
|
String |
getDirectory()
Returns the DAFIF directory.
|
String |
getFileName()
Returns the file name used to read the table ("directory/name.TXT").
|
String |
getName()
Returns the DAFIF table name.
|
Character |
getReferredKey(IlvDAFIFTableDescription tableDescription)
Returns the key used to reference the description or null.
|
String |
getTableName()
Returns the mnemonic used to identify the table("directory/name").
|
String |
makeKey(String line)
Creates a unique key from the ASCII string.
|
String |
makeParentReference(String line)
Creates a parent reference key from the ASCII string.
|
String |
makeReference(String line,
char nkey)
Creates a reference key from the ASCII string.
|
String |
toString()
Returns a string representation of the object.
|
public void addChildTable(IlvDAFIFTableDescription desc)
desc
- A child description.public IlvFeatureAttribute[] decodeAttributes(String line)
line
- An ASCII line extracted from a DAFIF text file.public String getFileName()
public String getTableName()
public IlvAttributeInfoProperty getAttributeInfoProperty()
public String toString()
toString
in class Object
Object.toString()
public String getDirectory()
public String getName()
public IlvDAFIFTableDescription[] getChildList()
public String makeKey(String line)
line
- An ASCII string read from the DAFIF text file.public String makeParentReference(String line)
line
- An ASCII string read from the DAFIF text file.public String makeReference(String line, char nkey)
line
- An ASCII string read from the DAFIF text file.nkey
- The key number.public void addReferenceTable(char key, IlvDAFIFTableDescription tableDescription)
key
- The key used to reference the description ('p' for parent, '1' for 1st referred table, ...).tableDescription
- The child description.public Character getReferredKey(IlvDAFIFTableDescription tableDescription)
tableDescription
- The child description.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.