org.yglib.html.page
Class Page

java.lang.Object
  extended by org.yglib.html.page.Page

public class Page
extends java.lang.Object


Field Summary
static int EOF
           
 
Constructor Summary
Page(java.io.File sourceFile)
           
Page(java.net.URL url, int timeout)
           
 
Method Summary
 char getChar(int index)
           
 char getCurrentChar()
           
 int getCursor()
           
 char getNextChar()
           
 java.lang.String getSubString(int start, int end)
           
 void initCursor()
           
static void main(java.lang.String... v)
           
 boolean setCursor(int offset)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EOF

public static int EOF
Constructor Detail

Page

public Page(java.io.File sourceFile)
     throws java.io.IOException
Throws:
java.io.IOException

Page

public Page(java.net.URL url,
            int timeout)
     throws java.io.IOException
Throws:
java.io.IOException
Method Detail

initCursor

public void initCursor()

getCurrentChar

public char getCurrentChar()

getNextChar

public char getNextChar()

getCursor

public int getCursor()

getChar

public char getChar(int index)

getSubString

public java.lang.String getSubString(int start,
                                     int end)

setCursor

public boolean setCursor(int offset)

main

public static void main(java.lang.String... v)