|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ru.novosoft.dc.rtf_to_xml.ConversionTask
An instance of this class provides preparation and execution of an RTF_TO_XML conversion task.
Constructor Summary | |
ConversionTask(java.io.PrintStream systemLog)
Create a new conversion task. |
Method Summary | |
void |
addPath(java.lang.String value)
Add a new path to the path list of converted files. |
RTF_TO_XMLContext |
context()
Return the context of this task. |
boolean |
convert()
Execute the task specified in this object and return true if the conversion has finished without errors. |
void |
outputWithIndents()
Switch on the indented output to XML. |
void |
setDestinationPath(java.lang.String value)
Set a destination path for the task. |
void |
setLogLevel(int value)
Set a logging level for the task. |
void |
setSourcePath(java.lang.String value)
Set a source path for the task. |
void |
skipExistingFiles()
Switch on the skip-existing-files mode. |
void |
stopOnErrors()
Switch on the error-stop mode. |
void |
useRecursion()
Switch on the recursive conversion in subdirectories. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ConversionTask(java.io.PrintStream systemLog)
Method Detail |
public final RTF_TO_XMLContext context()
public final void setLogLevel(int value)
NSDCContext
public final void addPath(java.lang.String value)
public final void outputWithIndents()
public final void setSourcePath(java.lang.String value)
public final void setDestinationPath(java.lang.String value)
public final void useRecursion()
public final void stopOnErrors()
public final void skipExistingFiles()
public boolean convert()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |