|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.bristol.star.cdf.util.CdfList
public class 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.
Constructor Summary | |
---|---|
CdfList(CdfContent cdf,
java.io.PrintStream out,
boolean writeData)
Constructor. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Main method. |
void |
run()
Does the work, writing output. |
static int |
runMain(java.lang.String[] args)
Does the work for the command line tool, handling arguments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CdfList(CdfContent cdf, java.io.PrintStream out, boolean writeData)
cdf
- CDF contentout
- output stream for listingwriteData
- true if data values as well as metadata are to
be writtenMethod Detail |
---|
public void run() throws java.io.IOException
java.io.IOException
public static int runMain(java.lang.String[] args) throws java.io.IOException
args
- command-line arguments
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |