org.graphstream.stream.file.dgs
Class DGSParser

java.lang.Object
  extended by org.graphstream.stream.file.dgs.DGSParser
All Implemented Interfaces:
Parser

public class DGSParser
extends Object
implements Parser


Field Summary
static int ARRAY_CLOSE
           
static int ARRAY_OPEN
           
static int MAP_CLOSE
           
static int MAP_OPEN
           
 
Constructor Summary
DGSParser(FileSourceDGS dgs, Reader reader)
           
 
Method Summary
 void all()
          Parse the whole stream.
 void close()
          Close the stream.
 boolean next()
           
 boolean nextStep()
           
 void open()
          Start parsing the stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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 Detail

DGSParser

public DGSParser(FileSourceDGS dgs,
                 Reader reader)
Method Detail

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 © 2013. All Rights Reserved.