|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.spaz.cron.datasource.sql.USDAsr17.USDAImporter
public class USDAImporter
Constructor Summary | |
---|---|
USDAImporter(java.sql.Connection conn,
java.io.OutputStream out)
|
Method Summary | |
---|---|
void |
abortTask()
The task has been cancelled. |
boolean |
canAbortTask()
Return true if the program can finish. |
java.io.InputStream |
getSourceStream()
|
java.net.URL |
getSourceURL()
|
java.lang.String |
getTaskDescription()
A description of the current Task being performed |
int |
getTaskProgress()
A number between 0 and 100 representing the % completion of the task. |
void |
run()
|
void |
setSourceStream(java.io.InputStream sourceStream)
|
void |
setSourceURL(java.net.URL sourceURL)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public USDAImporter(java.sql.Connection conn, java.io.OutputStream out)
Method Detail |
---|
public java.io.InputStream getSourceStream()
public void setSourceStream(java.io.InputStream sourceStream)
public java.net.URL getSourceURL()
public void setSourceURL(java.net.URL sourceURL)
public void run()
run
in interface java.lang.Runnable
public int getTaskProgress()
Task
getTaskProgress
in interface Task
public void abortTask()
Task
abortTask
in interface Task
public boolean canAbortTask()
Task
canAbortTask
in interface Task
public java.lang.String getTaskDescription()
Task
getTaskDescription
in interface Task
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |