org.yglib.html.page
Class Page
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EOF
public static int EOF
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
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)