public class ImporterPajek extends Object implements FileImporter, LongTask
FileImporter.FileAware| Constructor and Description |
|---|
ImporterPajek() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancel the task.
|
boolean |
execute(ContainerLoader container)
Run the import process.
|
ContainerLoader |
getContainer()
Returns the import container.
|
Report |
getReport()
Returns the import report, filled with logs and potential issues.
|
void |
setProgressTicket(ProgressTicket progressTicket)
Set the progress ticket for the long task.
|
void |
setReader(Reader reader)
Sets the reader where characters can be retrieved.
|
public boolean execute(ContainerLoader container)
Importerpublic boolean cancel()
LongTasktrue if the task has been sucessfully cancelled, false otherwise.public void setReader(Reader reader)
FileImportersetReader in interface FileImporterreader - the reader on datapublic ContainerLoader getContainer()
ImportergetContainer in interface Importerpublic Report getReport()
Importerpublic void setProgressTicket(ProgressTicket progressTicket)
LongTasksetProgressTicket in interface LongTaskprogressTicket - the progress ticket for this taskCopyright © 2007–2017. All rights reserved.