|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.filePiper.model.StatusHolder
public class StatusHolder
Processor of a file.
| Constructor Summary | |
|---|---|
StatusHolder()
|
|
| Method Summary | |
|---|---|
protected void |
appendCount(long count,
String entityName,
StringBuilder sb)
|
protected void |
appendLineOrByteCount(long bytes,
long lines,
StringBuilder sb)
|
void |
bytesProcessed(long nbrByteProcessed)
Report that some bytes of the input stream have been processed. |
protected String |
getAbortedMessage()
|
long |
getByteCount()
|
ExecutionPhase |
getCurrentPhase()
|
protected String |
getDoneMessage()
|
protected String |
getErrorMessage()
|
int |
getInputFileCount()
|
long |
getLineCount()
|
int |
getOutputFileCount()
|
protected String |
getRunningMessage()
|
protected String |
getStartingMessage()
|
String |
getStatusMessage()
|
void |
inputFileStarted()
Report that a new input stream is being processed. |
void |
linesProcessed(long nbrLineProcessed)
Report that some lines of the input stream have been processed. |
void |
outputFileStarted()
Report that a new output stream is being processed. |
void |
reset(ExecutionPhase newPhase)
|
void |
setCurrentPhase(ExecutionPhase newPhase)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatusHolder()
| Method Detail |
|---|
public void reset(ExecutionPhase newPhase)
public String getStatusMessage()
public void setCurrentPhase(ExecutionPhase newPhase)
public void inputFileStarted()
public void outputFileStarted()
public void linesProcessed(long nbrLineProcessed)
nbrLineProcessed - number of lines that were processed.public void bytesProcessed(long nbrByteProcessed)
nbrByteProcessed - number of lines that were processed.public ExecutionPhase getCurrentPhase()
public int getInputFileCount()
public int getOutputFileCount()
public long getLineCount()
public long getByteCount()
protected String getStartingMessage()
protected String getRunningMessage()
protected String getDoneMessage()
protected String getAbortedMessage()
protected String getErrorMessage()
protected void appendLineOrByteCount(long bytes,
long lines,
StringBuilder sb)
protected void appendCount(long count,
String entityName,
StringBuilder sb)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||