com.trackstudio.app.csv
Class CSVImportManager

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.trackstudio.app.csv.CSVImportManager
All Implemented Interfaces:
ProgressManager, java.lang.Runnable

public class CSVImportManager
extends java.lang.Thread
implements ProgressManager


Field Summary
 java.util.List result
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CSVImportManager(SessionContext sc, java.lang.String projectId, java.lang.String scriptId, java.io.BufferedReader is)
           
 
Method Summary
 void cancel()
           
 java.util.List csvImport()
           
 java.lang.String getDescription()
           
 CSVImportMetadata getMetadata()
           
 int getProgress()
           
 java.util.List getResult()
           
 int getSize()
           
 boolean isCanceled()
           
 boolean isFinished()
           
 boolean isStarted()
           
 void run()
           
 void setProgress(int o)
           
 void setResult(java.util.List result)
           
 void setSize(int t)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

result

public java.util.List result
Constructor Detail

CSVImportManager

public CSVImportManager(SessionContext sc,
                        java.lang.String projectId,
                        java.lang.String scriptId,
                        java.io.BufferedReader is)
Method Detail

getMetadata

public CSVImportMetadata getMetadata()

getResult

public java.util.List getResult()

setResult

public void setResult(java.util.List result)

run

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

csvImport

public java.util.List csvImport()
                         throws GranException
Throws:
GranException

getProgress

public int getProgress()
Specified by:
getProgress in interface ProgressManager

getSize

public int getSize()
Specified by:
getSize in interface ProgressManager

setSize

public void setSize(int t)
Specified by:
setSize in interface ProgressManager

setProgress

public void setProgress(int o)
Specified by:
setProgress in interface ProgressManager

isStarted

public boolean isStarted()
Specified by:
isStarted in interface ProgressManager

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface ProgressManager

isFinished

public boolean isFinished()
Specified by:
isFinished in interface ProgressManager

isCanceled

public boolean isCanceled()

cancel

public void cancel()


Copyright © 2002-2005 TrackStudio, Ltd. All Rights Reserved.