|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TitleHandler
Method Summary | |
---|---|
java.util.List |
getHeadings()
retrieve a list of headings for the most recently parsed object |
java.lang.String |
getTitle()
get the title of the most recently parsed document |
void |
parse(java.lang.String url)
load and parse the URL url. |
Method Detail |
---|
void parse(java.lang.String url) throws java.lang.Exception
url
- the URL of the document to be parsed
java.lang.Exception
- if an error occurs parsing the documentjava.lang.String getTitle() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if no document has been
parsed by this handlerjava.util.List getHeadings() throws java.lang.IllegalStateException
Heading
objects for each of the
headings in the object
java.lang.IllegalStateException
- if no document has been
parsed by this handler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |