com.infoengine.modeler.data
Class Page

java.lang.Object
  extended bycom.infoengine.modeler.data.Page

public class Page
extends Object


Field Summary
private  Vector contents
           
private  String fname
           
 
Constructor Summary
Page()
           
Page(String fname)
           
 
Method Summary
 void addContent(Object o)
           
 void addContentAt(Object o, int at)
           
 Vector flatten()
           
 Object getContentAt(int at)
           
 Enumeration getContents()
           
 int getContentSize()
           
 String getFname()
           
 String getSource()
           
static void main(String[] args)
           
static Page parse(CharAtATimeReader reader)
           
static Page parse(Reader r, long length)
           
static Page parse(String page)
           
 void setFname(String fname)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

contents

private Vector contents

fname

private String fname
Constructor Detail

Page

public Page()

Page

public Page(String fname)
Method Detail

addContent

public void addContent(Object o)

addContentAt

public void addContentAt(Object o,
                         int at)

getContentAt

public Object getContentAt(int at)

getContentSize

public int getContentSize()

getContents

public Enumeration getContents()

parse

public static Page parse(String page)
                  throws Exception
Throws:
Exception

parse

public static Page parse(Reader r,
                         long length)
                  throws Exception
Throws:
Exception

parse

public static Page parse(CharAtATimeReader reader)
                  throws Exception
Throws:
Exception

toString

public String toString()

getSource

public String getSource()

flatten

public Vector flatten()

setFname

public void setFname(String fname)

getFname

public String getFname()

main

public static void main(String[] args)