|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gephi.io.importer.plugin.file.ImporterVNA
public class ImporterVNA
Netdraw .vna files importer implemented as a simple state machine due to very loose specification of .vna format (http://netwiki.amath.unc.edu/DataFormats/NetDrawVna).
Nested Class Summary | |
---|---|
static class |
ImporterVNA.EdgeWidthFunction
|
Constructor Summary | |
---|---|
ImporterVNA()
|
Method Summary | |
---|---|
boolean |
cancel()
Cancel the task. |
boolean |
execute(ContainerLoader container)
Run the import processus. |
ContainerLoader |
getContainer()
Returns the import container. |
Report |
getReport()
Returns the import report, filled with logs and potential issues. |
void |
setEdgeWidthFunction(ImporterVNA.EdgeWidthFunction function)
|
void |
setProgressTicket(ProgressTicket progressTicket)
Set the progress ticket for the long task. |
void |
setReader(java.io.Reader reader)
Sets the reader where characters can be retrieved. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImporterVNA()
Method Detail |
---|
public boolean execute(ContainerLoader container)
Importer
execute
in interface Importer
container
- the container where imported data will be pushed
true
if the import is successfull or
false
if it has been cancelledpublic void setEdgeWidthFunction(ImporterVNA.EdgeWidthFunction function)
public void setReader(java.io.Reader reader)
FileImporter
setReader
in interface FileImporter
reader
- the reader on datapublic ContainerLoader getContainer()
Importer
getContainer
in interface Importer
public Report getReport()
Importer
getReport
in interface Importer
public boolean cancel()
LongTask
true
if the task has been sucessfully cancelled, false
otherwise.
cancel
in interface LongTask
true
if the task has been sucessfully cancelled, false
otherwisepublic void setProgressTicket(ProgressTicket progressTicket)
LongTask
setProgressTicket
in interface LongTask
progressTicket
- the progress ticket for this task
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |