|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Container
A container is created each time data are imported by importers. Its role is to host all data collected by importers during import process. After pushing data in the container, its content can be analysed to verify its validity and then be processed by processors. Thus containers are loaded by importers and unloaded by processors.
See ContainerLoader
for how to push graph and attributes data in the container and see
ContainerUnloader
for how to retrieve data in the container.
Importer
,
Processor
Method Summary | |
---|---|
void |
closeLoader()
Close the current loading and clean content before unloading. |
ContainerLoader |
getLoader()
Get containers loading interface. |
Report |
getReport()
Returns the report associated to this container, if exists. |
java.lang.String |
getSource()
If exists, returns the source of the data. |
ContainerUnloader |
getUnloader()
Get containers unloading interface. |
boolean |
isAutoScale()
|
boolean |
isDynamicGraph()
|
boolean |
isHierarchicalGraph()
|
void |
setAllowAutoNode(boolean value)
|
void |
setAllowParallelEdge(boolean value)
|
void |
setAllowSelfLoop(boolean value)
|
void |
setAutoScale(boolean autoscale)
|
void |
setReport(Report report)
Set a report this container can use to report issues detected when loading the container. |
void |
setSource(java.lang.String source)
Set the source of the data put in the container. |
void |
setUndirectedSumDirectedEdgesWeight(boolean value)
|
boolean |
verify()
This method must be called after the loading is complete and before unloading. |
Method Detail |
---|
void setSource(java.lang.String source)
source
- the original source of data.
java.lang.NullPointerException
- if source
is null
java.lang.String getSource()
null
if source is not defined.ContainerLoader getLoader()
ContainerUnloader getUnloader()
void setAutoScale(boolean autoscale)
boolean isAutoScale()
void setAllowSelfLoop(boolean value)
void setAllowAutoNode(boolean value)
void setAllowParallelEdge(boolean value)
void setUndirectedSumDirectedEdgesWeight(boolean value)
void setReport(Report report)
report
- set report
as the default report for this container
java.lang.NullPointerException
- if report
is null
Report getReport()
null
if no report is definedboolean verify()
true
if container data is consistent, false
otherwisevoid closeLoader()
boolean isDynamicGraph()
boolean isHierarchicalGraph()
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |