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
Method Summary |
void |
all()
Parse the whole stream. |
void |
close()
Close the stream. |
boolean |
next()
|
boolean |
nextStep()
|
void |
open()
Start parsing the stream. |
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
DGSParser
public DGSParser(FileSourceDGS dgs,
Reader reader)
close
public void close()
throws IOException
- Description copied from interface:
Parser
- Close the stream.
- Specified by:
close
in interface Parser
- Throws:
IOException
open
public void open()
throws IOException,
ParseException
- Description copied from interface:
Parser
- Start parsing the stream.
- Specified by:
open
in interface Parser
- Throws:
ParseException
IOException
all
public void all()
throws IOException,
ParseException
- Description copied from interface:
Parser
- Parse the whole stream.
- Specified by:
all
in interface Parser
- Throws:
ParseException
IOException
next
public boolean next()
throws IOException,
ParseException
- Specified by:
next
in interface Parser
- Returns:
-
- Throws:
ParseException
IOException
nextStep
public boolean nextStep()
throws IOException,
ParseException
- Throws:
IOException
ParseException
Copyright © 2012. All Rights Reserved.