|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfr.paris.telecomParisTech.dbWEB.arcomem.wp5.appliocationAwareHelper.crawling.WebForumHandler
public class WebForumHandler
Handles Web Forum type of Web applications. Web Forum is also known as discussion boards, or Internet forum, or message boards.
| Field Summary | |
|---|---|
AppLevelHandler |
instanceme
|
CommonUtil |
xpathInstance
Declares Object of CommonUtil class. |
| Constructor Summary | |
|---|---|
WebForumHandler()
Sole constructor. |
|
| Method Summary | |
|---|---|
Boolean |
checkExecuteNavigation(String action,
File htmlFile,
String identifier,
String objects)
Check if Page navigation detected if yes then Execute |
ArrayList |
extractresult_VBulletin_phpBB(String identifier,
String objects)
Extracts the Objects from Post level for VBulletin and PhpBB type of Web Applications |
void |
pageNavigation(File htmlFile,
String identifier,
String objects)
copy navigaation pattern from KB and execute |
void |
returnfile(URL url)
Download, clean and return the newly navigated Web page |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public AppLevelHandler instanceme
public CommonUtil xpathInstance
CommonUtil class.
| Constructor Detail |
|---|
public WebForumHandler()
| Method Detail |
|---|
public Boolean checkExecuteNavigation(String action,
File htmlFile,
String identifier,
String objects)
throws SAXException,
IOException,
XPathExpressionException,
ParserConfigurationException,
org.htmlcleaner.XPatherException,
gr.ntua.h2rdf.bytes.NotSupportedDatatypeException
action - navigation patternhtmlFile - Html file referenceidentifier - Main detection patternobjects - Expressuin for object extraction
SAXException
IOException
XPathExpressionException
ParserConfigurationException
org.htmlcleaner.XPatherException
gr.ntua.h2rdf.bytes.NotSupportedDatatypeException
public ArrayList extractresult_VBulletin_phpBB(String identifier,
String objects)
throws ParserConfigurationException,
SAXException,
IOException,
XPathExpressionException,
org.htmlcleaner.XPatherException,
gr.ntua.h2rdf.bytes.NotSupportedDatatypeException
identifier - crawling actionobjects - Object that needs to be extracted
ParserConfigurationException
SAXException
IOException
XPathExpressionException
org.htmlcleaner.XPatherException
gr.ntua.h2rdf.bytes.NotSupportedDatatypeException
public void pageNavigation(File htmlFile,
String identifier,
String objects)
throws XPathExpressionException,
ParserConfigurationException,
SAXException,
IOException,
org.htmlcleaner.XPatherException,
gr.ntua.h2rdf.bytes.NotSupportedDatatypeException
htmlFile - HTML referenceidentifier - detection patternobjects - expression to extract objects
XPathExpressionException
ParserConfigurationException
SAXException
IOException
org.htmlcleaner.XPatherException
gr.ntua.h2rdf.bytes.NotSupportedDatatypeException
public void returnfile(URL url)
throws IOException
url - Newly found URL after navigation
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||