|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.huguesjohnson.BatchCompressionThreadParameters
public class BatchCompressionThreadParameters
BatchCompressionThreadParameters stores parameters used by BatchCompressionThread.
| Nested Class Summary | |
|---|---|
static class |
BatchCompressionThreadParameters.ArchiveCompleteActions
|
static class |
BatchCompressionThreadParameters.ArchiveTypes
|
| Constructor Summary | |
|---|---|
BatchCompressionThreadParameters()
|
|
| Method Summary | |
|---|---|
void |
addInputFile(java.lang.String inputFile)
Adds a file to the list of files to archive. |
void |
clearFileList()
Clears the list of files to archive. |
BatchCompressionThreadParameters.ArchiveCompleteActions |
getAction()
Returns the action to perform on files after archiving. |
boolean |
getAppendDate()
Return whether or not to append the date to output file names. |
boolean |
getAppendExtension()
Return whether or not to append the extension to output file names. |
BatchCompressionThreadParameters.ArchiveTypes |
getArchiveType()
Returns type of archives to create. |
java.lang.String[] |
getFileList()
Returns the list of files to archive. |
java.lang.String |
getOutputDirectory()
Returns the path to the destination directory. |
java.lang.String |
getTempDirectory()
Returns the path to the temporary directory. |
boolean |
getWriteDebugLog()
Returns whether or not to write a debug log. |
void |
removeInputFile(java.lang.String removeFile)
Removes a file from the list of files to archive. |
void |
setAction(BatchCompressionThreadParameters.ArchiveCompleteActions action)
Sets the action to perform on files after archiving. |
void |
setAppendDate(boolean appendDate)
Sets whether or not to append the date to output file names. |
void |
setAppendExtension(boolean appendExtension)
Sets whether or not to append the extension to output file names. |
void |
setArchiveType(BatchCompressionThreadParameters.ArchiveTypes archiveType)
Set the type of archives to create. |
void |
setInputFileList(java.lang.String[] sourceFileList)
Sets the list of files to archive. |
void |
setOutputDirectory(java.lang.String outputDirectory)
Sets the path to the destination directory. |
void |
setTempDirectory(java.lang.String tempDirectory)
Sets the path to the temporary directory. |
void |
setWriteDebugLog(boolean writeDebugLog)
Set whether or not to write a debug log. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BatchCompressionThreadParameters()
| Method Detail |
|---|
public void setInputFileList(java.lang.String[] sourceFileList)
sourceFileList - The list of files to archive.public java.lang.String[] getFileList()
public void setOutputDirectory(java.lang.String outputDirectory)
outputDirectory - The new path to the output directory.public java.lang.String getOutputDirectory()
public void setTempDirectory(java.lang.String tempDirectory)
tempDirectory - The new path to the temporary directory.public java.lang.String getTempDirectory()
public void setArchiveType(BatchCompressionThreadParameters.ArchiveTypes archiveType)
archiveType - The type of archive to create.public BatchCompressionThreadParameters.ArchiveTypes getArchiveType()
public void addInputFile(java.lang.String inputFile)
inputFile - The full path of the file to add.public void removeInputFile(java.lang.String removeFile)
removeFile - The full path of the file to remove.public void clearFileList()
public void setAction(BatchCompressionThreadParameters.ArchiveCompleteActions action)
action - The action to perform.public BatchCompressionThreadParameters.ArchiveCompleteActions getAction()
public void setAppendDate(boolean appendDate)
appendDate - Set to true to append date to output file names.public boolean getAppendDate()
public void setAppendExtension(boolean appendExtension)
appendExtension - Set to true to append extension to output file names.public boolean getAppendExtension()
public void setWriteDebugLog(boolean writeDebugLog)
writeDebugLog - Set to true if a debug log should be created.public boolean getWriteDebugLog()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||