classes
Class LoadNXCFileTask

java.lang.Object
  extended by org.jdesktop.swingworker.SwingWorker<T,V>
      extended by org.jdesktop.application.Task<java.lang.String,java.lang.Void>
          extended by classes.LoadNXCFileTask
All Implemented Interfaces:
java.lang.Runnable, java.util.concurrent.Future<java.lang.String>
Direct Known Subclasses:
NXCEestiView.LoadFileTask

public class LoadNXCFileTask
extends org.jdesktop.application.Task<java.lang.String,java.lang.Void>

NXC faili lugemine


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdesktop.application.Task
org.jdesktop.application.Task.BlockingScope, org.jdesktop.application.Task.InputBlocker
 
Nested classes/interfaces inherited from class org.jdesktop.swingworker.SwingWorker
org.jdesktop.swingworker.SwingWorker.StateValue
 
Field Summary
private  java.io.File file
           
 
Constructor Summary
LoadNXCFileTask(org.jdesktop.application.Application application, java.io.File file)
           
 
Method Summary
protected  java.lang.String doInBackground()
          Faili lugemine
 java.io.File getFile()
           
 
Methods inherited from class org.jdesktop.application.Task
addTaskListener, cancelled, done, failed, finished, getApplication, getContext, getDescription, getExecutionDuration, getInputBlocker, getMessage, getMessageDuration, getResourceMap, getTaskListeners, getTaskService, getTitle, getUserCanCancel, interrupted, isPending, isProgressPropertyValid, isStarted, message, process, removeTaskListener, resourceName, setDescription, setInputBlocker, setMessage, setProgress, setProgress, setProgress, setTitle, setUserCanCancel, succeeded
 
Methods inherited from class org.jdesktop.swingworker.SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

private final java.io.File file
Constructor Detail

LoadNXCFileTask

public LoadNXCFileTask(org.jdesktop.application.Application application,
                       java.io.File file)
Method Detail

getFile

public final java.io.File getFile()
Returns:
Avatud fail

doInBackground

protected java.lang.String doInBackground()
                                   throws java.io.IOException
Faili lugemine

Specified by:
doInBackground in class org.jdesktop.swingworker.SwingWorker<java.lang.String,java.lang.Void>
Returns:
faili sisu
Throws:
java.io.IOException