|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.rdg.resc.jstyx.infernogrid.SexpParser
public class SexpParser
Class for parsing an InputStream into sets of S-expressions.
| Constructor Summary | |
|---|---|
SexpParser(java.io.InputStream is)
Creates a new instance of SexpParser |
|
SexpParser(java.io.InputStreamReader reader)
Creates a new instance of SexpParser |
|
| Method Summary | |
|---|---|
void |
close()
Closes the underlying InputStream |
Sexpression |
getNextSexp()
|
static void |
main(java.lang.String[] args)
Test function that reads the list of nodes from an Inferno Grid installation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SexpParser(java.io.InputStream is)
public SexpParser(java.io.InputStreamReader reader)
| Method Detail |
|---|
public Sexpression getNextSexp()
throws SexpParseException,
java.io.IOException
SexpParseException - if the input stream does not contain a valid
Sexpression
java.io.IOException - if there was an error reading the input streampublic void close()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||