Package uk.ac.bristol.star.cdf.util
Class CdfList
java.lang.Object
uk.ac.bristol.star.cdf.util.CdfList
Utility to describe a CDF file, optionally with record data.
Intended to be used from the commandline via the
main
method.
The output format is somewhat reminiscent of the cdfdump
command in the CDF distribution.- Since:
- 21 Jun 2013
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CdfList
Constructor.- Parameters:
cdf
- CDF contentout
- output stream for listingwriteData
- true if data values as well as metadata are to be written
-
-
Method Details
-
run
Does the work, writing output.- Throws:
IOException
-
runMain
Does the work for the command line tool, handling arguments. Sucess is indicated by the return value.- Parameters:
args
- command-line arguments- Returns:
- 0 for success, non-zero for failure
- Throws:
IOException
-
main
Main method. Use -help for arguments.- Throws:
IOException
-