Package ca.spatial.table
Class FoxProDictionary
java.lang.Object
ca.spatial.table.FoxProDictionary
This class will read the FoxPro data dicitonary and
translate internal 'long names' into external 'short names'.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Dump out meta data describing the contents of a FoxPro database.getColumnName(String tableName, String columnName)
Retrieve the short column name for the specified column.getFileName(String tableName)
Retrieve the OS file name for the specified table.static void
Dump out meta data describing the contents of a FoxPro database.
-
Constructor Details
-
FoxProDictionary
- Throws:
IOException
-
-
Method Details
-
getFileName
Retrieve the OS file name for the specified table. Return as a qualifed name against the location of the database file. -
getColumnName
Retrieve the short column name for the specified column. It appears that the algorithm is 'truncate to 10 characters, and upper case'. In case of a collision, return the first 9 characters and append a sequential number starting at '2'. For example, 'abcdefghij_a' =>'ABCDEFGHIJ' 'abcdefghij_b' => 'ABCDEFGHI2' 'abcdefghij_c' => 'ABCDEFGHI3' -
dump
Dump out meta data describing the contents of a FoxPro database.- Parameters:
filename
- The name of the output html file.
-
main
Dump out meta data describing the contents of a FoxPro database.
-