util
Class AsciiReader.BlockReformat
java.lang.Object
util.AsciiReader.BlockReformat
- Enclosing class:
- AsciiReader
public static class AsciiReader.BlockReformat
- extends Object
Similar to block data, this class reads an ascii-column file, but
on output performs a re-format using the decimal formatters specified.
|
Method Summary |
static void |
main(String[] arg)
First command line argument is the ascii file, the second is a
comma-separated string of columns to read and the third is a comma
separated string of number formats to use on output. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsciiReader.BlockReformat
public AsciiReader.BlockReformat()
main
public static void main(String[] arg)
throws ParseException
- First command line argument is the ascii file, the second is a
comma-separated string of columns to read and the third is a comma
separated string of number formats to use on output. If the third
command line argument is missing, we use standard formatters for
all columns. If the second and third are not of equal size,
output fails.
- Throws:
ParseException