|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnz.ac.waikato.mcennis.rat.graph.model.ModelShell
nz.ac.waikato.mcennis.rat.dataAquisition.CrawlLiveJournal
public class CrawlLiveJournal
This class enables parsing and spidering of the LiveJournal site. FIXME: There are still some basic components that are needed to be generalized - the class will need to be modified before it can be used in a new situation.
| Field Summary |
|---|
| Fields inherited from class nz.ac.waikato.mcennis.rat.graph.model.ModelShell |
|---|
listener |
| Constructor Summary | |
|---|---|
CrawlLiveJournal()
Creates a new instance of CrawlLiveJournal |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancel the run at the end of the next user. |
Graph |
get()
Obtain a reference to the graph this object holds |
InputDescriptor[] |
getInputType()
The input type describes all the different kinds of graph objects that are utilized (and hence required) by this object. |
OutputDescriptor[] |
getOutputType()
The output type describes all the different kinds of graph objects that are created during the execution of this algorithm. |
Parameter[] |
getParameter()
List of all parameters this component accepts. |
Parameter |
getParameter(java.lang.String param)
Returns the specific parameter identified by its key-name. |
SettableParameter[] |
getSettableParameter()
Returns settable (i.e. |
SettableParameter |
getSettableParameter(java.lang.String param)
Return the settable parameter namede by this key-name. |
void |
init(java.util.Properties map)
parameter[0] Key-name:'name' Type:java.lang.String Structural: true Description: Name of this component. |
void |
set(Graph g)
Set the graph to be populated by this object |
void |
start()
Creates the crawler and proxies and starts spidering FOAF descriptions. |
| Methods inherited from class nz.ac.waikato.mcennis.rat.graph.model.ModelShell |
|---|
addListener, fireChange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface nz.ac.waikato.mcennis.rat.graph.model.Model |
|---|
addListener |
| Constructor Detail |
|---|
public CrawlLiveJournal()
| Method Detail |
|---|
public void start()
start in interface DataAquisitionpublic void cancel()
cancel in interface DataAquisitionpublic InputDescriptor[] getInputType()
Component
getInputType in interface ComponentInputDescriptorpublic OutputDescriptor[] getOutputType()
Component
getOutputType in interface ComponentOutputDescriptorpublic Parameter[] getParameter()
Component
getParameter in interface Componentpublic Parameter getParameter(java.lang.String param)
Component
getParameter in interface Componentparam - key-name of the parameter
public SettableParameter[] getSettableParameter()
Component
getSettableParameter in interface Componentpublic SettableParameter getSettableParameter(java.lang.String param)
Component
getSettableParameter in interface Componentparam - key-name of the parameter
public void init(java.util.Properties map)
init in interface Componentmap - key-value pairs used to initialize this componentpublic void set(Graph g)
DataAquisition
set in interface DataAquisitiong - graph to be created for analysispublic Graph get()
DataAquisition
get in interface DataAquisition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||