Gephi Toolkit Javadoc

org.gephi.project.io
Class LoadTask

java.lang.Object
  extended by org.gephi.project.io.LoadTask
All Implemented Interfaces:
java.lang.Runnable, LongTask

public class LoadTask
extends java.lang.Object
implements LongTask, java.lang.Runnable

Author:
Mathieu Bastian

Nested Class Summary
 class LoadTask.Xml10FilterReader
          FilterReader to skip invalid xml version 1.0 characters.
 
Constructor Summary
LoadTask(java.io.File file)
           
 
Method Summary
 boolean cancel()
          Cancel the task.
 void run()
           
 void setProgressTicket(ProgressTicket progressTicket)
          Set the progress ticket for the long task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadTask

public LoadTask(java.io.File file)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

cancel

public boolean cancel()
Description copied from interface: LongTask
Cancel the task. Returns true if the task has been sucessfully cancelled, false otherwise.

Specified by:
cancel in interface LongTask
Returns:
true if the task has been sucessfully cancelled, false otherwise

setProgressTicket

public void setProgressTicket(ProgressTicket progressTicket)
Description copied from interface: LongTask
Set the progress ticket for the long task. Can't be null.

Specified by:
setProgressTicket in interface LongTask
Parameters:
progressTicket - the progress ticket for this task

Gephi Toolkit Javadoc