|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.transport.LabelReader
public class LabelReader
Class that reads a PDS label into a string buffer. The actual parsing of the label is delegated to the PDS product-tools package. Each LabelReader instance can be used only once.
Constructor Summary | |
---|---|
LabelReader(URI uri,
String indent)
Constructor reads the label into the private string buffer. |
Method Summary | |
---|---|
static void |
main(String[] args)
Debug method. |
StringBuffer |
read()
Method to access the serialized label. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabelReader(URI uri, String indent) throws Exception
uri:
- the URI location of the label to readindent:
- the starting indentation for printing each statement
Exception
Method Detail |
---|
public StringBuffer read()
public static void main(String[] args) throws Exception
args
-
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |