acedb
Class Aceobj.DumpStore

java.lang.Object
  extended byacedb.Aceobj.DumpStore
Enclosing class:
Aceobj

protected class Aceobj.DumpStore
extends java.lang.Object

for storing the aceDump temperarily


Constructor Summary
Aceobj.DumpStore(java.lang.String s)
          Constructing the object from a acedump string.
 
Method Summary
 int getTabCount()
          Get the next horizontal branch as AceobjNode (pointer), if no more branch left returns null.
 java.lang.String nextline()
          obtain the next line of text.
 Aceobj.AceobjNode rootBranch()
          make the root branch from the first line of the Ace object dump in the Java format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Aceobj.DumpStore

public Aceobj.DumpStore(java.lang.String s)
Constructing the object from a acedump string.

Parameters:
s - java string representation of aceobject, from the show -j command
Method Detail

nextline

public java.lang.String nextline()
obtain the next line of text.


rootBranch

public Aceobj.AceobjNode rootBranch()
make the root branch from the first line of the Ace object dump in the Java format. Make other nodes the child of root.

Returns:
the root node

getTabCount

public int getTabCount()
Get the next horizontal branch as AceobjNode (pointer), if no more branch left returns null.

Returns:
AceobjNode or null if no more branche (reaching empty line)