|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.blogspot.applications4android.comicreader.core.ComicParser
public abstract class ComicParser
Base class for parsing html files to get the strip info
Constructor Summary | |
---|---|
ComicParser()
|
Method Summary | |
---|---|
protected abstract boolean |
htmlNeeded()
Whether one needs to parse the html file in order to find the strip url |
protected abstract java.lang.String |
parse(java.lang.String url,
java.io.BufferedReader reader,
Strip strip)
Function to read every line from the reader and extract strip-info |
java.lang.String |
parse(java.lang.String url,
Strip strip)
Main function responsible for downloading and reading a html page and returning the strip url |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComicParser()
Method Detail |
---|
public java.lang.String parse(java.lang.String url, Strip strip) throws ClientProtocolException, java.io.IOException, java.net.URISyntaxException
url
- html page urlstrip
- the strip where to store the info
ClientProtocolException
java.io.IOException
java.net.URISyntaxException
protected abstract boolean htmlNeeded()
protected abstract java.lang.String parse(java.lang.String url, java.io.BufferedReader reader, Strip strip) throws java.io.IOException
url
- html page urlreader
- readerstrip
- the strip where to store the info
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |