Package org.graphstream.stream.file.dgs
Class DGSParser
java.lang.Object
org.graphstream.stream.file.dgs.DGSParser
- All Implemented Interfaces:
Parser
public class DGSParser extends Object implements Parser
-
Field Summary
Fields Modifier and Type Field Description static intARRAY_CLOSEstatic intARRAY_OPENstatic intMAP_CLOSEstatic intMAP_OPEN -
Constructor Summary
Constructors Constructor Description DGSParser(FileSourceDGS dgs, Reader reader) -
Method Summary
-
Field Details
-
ARRAY_OPEN
public static final int ARRAY_OPEN- See Also:
- Constant Field Values
-
ARRAY_CLOSE
public static final int ARRAY_CLOSE- See Also:
- Constant Field Values
-
MAP_OPEN
public static final int MAP_OPEN- See Also:
- Constant Field Values
-
MAP_CLOSE
public static final int MAP_CLOSE- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
close
Description copied from interface:ParserClose the stream.- Specified by:
closein interfaceParser- Throws:
IOException
-
open
Description copied from interface:ParserStart parsing the stream.- Specified by:
openin interfaceParser- Throws:
ParseExceptionIOException
-
all
Description copied from interface:ParserParse the whole stream.- Specified by:
allin interfaceParser- Throws:
ParseExceptionIOException
-
next
- Specified by:
nextin interfaceParser- Returns:
- Throws:
ParseExceptionIOException
-
nextStep
- Throws:
IOExceptionParseException
-