|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.roverguild.pdsutil.PDSInfo
This class uses the PDSFilenameTranslator class to provide a human readable summary of the metadata contained within a PDS file provided as a command line argument.
| Constructor Summary | |
PDSInfo()
|
|
| Method Summary | |
static java.lang.String |
formatData(java.lang.String fieldName,
java.lang.String transData)
A utility method used to format field names and translated data into tidy, printable strings. |
static void |
main(java.lang.String[] args)
Main method. |
static java.lang.String |
makeSeparatorLine(int length,
char chr)
Make a separator line of a specified length. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PDSInfo()
| Method Detail |
public static java.lang.String formatData(java.lang.String fieldName,
java.lang.String transData)
fieldName - a String containing the PDS field nametransData - a String containing the translated PDS data
public static java.lang.String makeSeparatorLine(int length,
char chr)
length - Length of the separator line to create.chr - The character to use in creating the separator.
public static void main(java.lang.String[] args)
args - Arguments from the command line, specifically,
the PDS filename string to be translated.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||