|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwriter2latex.BatchHandlerImpl
public class BatchHandlerImpl
This class implements a BatchHandler for command line usage
| Constructor Summary | |
|---|---|
BatchHandlerImpl()
|
|
| Method Summary | |
|---|---|
boolean |
cancel()
Notification that the conversion may be cancelled. |
void |
endConversion()
Notification that the conversion has finished |
void |
endDirectory(java.lang.String sName,
boolean bSuccess)
Notification that a directory conversion has finished |
void |
endFile(java.lang.String sName,
boolean bSuccess)
Notification that a file conversion has finished |
void |
startConversion()
Notification that the conversion is started |
void |
startDirectory(java.lang.String sName)
Notification that a directory conversion starts |
void |
startFile(java.lang.String sName)
Notification that a file conversion starts |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BatchHandlerImpl()
| Method Detail |
|---|
public void startConversion()
BatchHandler
startConversion in interface BatchHandlerpublic void endConversion()
BatchHandler
endConversion in interface BatchHandlerpublic void startDirectory(java.lang.String sName)
BatchHandler
startDirectory in interface BatchHandlersName - the name of the directory to convert
public void endDirectory(java.lang.String sName,
boolean bSuccess)
BatchHandler
endDirectory in interface BatchHandlersName - the name of the directorybSuccess - true if the conversion was successful (this only means
that the index page was created with success, not that the conversion
of files and subdirectories was successful)public void startFile(java.lang.String sName)
BatchHandler
startFile in interface BatchHandlersName - the name of the file to convert
public void endFile(java.lang.String sName,
boolean bSuccess)
BatchHandler
endFile in interface BatchHandlersName - the name of the filebSuccess - true if the conversion of this file was successfulpublic boolean cancel()
BatchHandlerBatchConverter fires this event once per document.
Cancelling the conversion does not delete files that was already
converted
cancel in interface BatchHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||