public class Options extends com.jgoodies.binding.beans.Model implements AttacheCaseConstant, java.lang.Cloneable
ARCHIVE_FILE_ATTR, ATC_DATA_FILE_VERSION, ATC_DATA_FILE_VERSION_3, ATC_DATA_FILE_VERSION_MAX, ATC_DATA_SUB_VERSION_6, ATC_DATA_SUB_VERSION_7, ATC_EXTENSION, ATTACHE_CASE_APP_VERSION, BLOWFISH_PASS_FOOTER, BUF_FOOTER_SIZE, BUF_HEADER_SIZE, BUF_PASSWORD_SIZE, BUF_SHA1_SIZE, BUF_SIZE_256, BUF_SIZE_32, CURRENT_FILE_NAME_KEY, DATE_FORMAT_PATTERN, DEBUG, DECRYPT_MODE, DEFAULT_MODE, DESTROY_TOKEN_STRING, ENCRYPT_MODE, FILE_BUFFER_SIZE, INI_FILE_NAME, MAC_INI_FILE_PATH, MSG_CONFIRM_CONTINUE, MSG_CONFIRM_OPEN_DECRYPTED_FILES, MSG_CONFIRM_OVER_WRITE_SAME_DIR, MSG_CONFIRM_OVER_WRITE_SAME_FILE, MSG_ERROR_CHECKSUM, MSG_ERROR_COMPARE_FILE, MSG_ERROR_DIR_EXIST, MSG_ERROR_DISK_SPACE, MSG_ERROR_FILE_DESTORYED, MSG_ERROR_FILE_EXIST, MSG_ERROR_ILLEGAL_PASSWORD, MSG_ERROR_LOWER_VERSION, MSG_ERROR_NO_DIR_NAME, MSG_ERROR_NO_FILE_NAME, MSG_ERROR_NOT_ENCRYPT_FILE, MSG_ERROR_NOT_FILE_EXIST, MSG_ERROR_OUT_FILE_OPEN, MSG_ERROR_OUT_FILE_WRITE, MSG_ERROR_PASSWORD_WRONG, MSG_ERROR_UPPER_VERSION, MSG_INPUT_NEW_DIR, MSG_INPUT_NEW_FILE, MSG_INPUT_PASSWORD, MSG_PROCESS_STOPPED, OLD_DATA_FILE_VERSION, PASSCODE_ATTACHECASE, PROGRESS_BAR_NAME, READ_FILE_BUF_SIZE, READ_ONLY_FILE_ATTR, RESOURCE, RIJNDAEL_BLOCK_SIZE, SHORT_CUT_KEY, SIZE_OF_INT, SIZE_OF_LONG, START_OF_DATE, TOKEN_STRING, TYPE_ALGORISM_BLOWFISH, TYPE_ALGORISM_RIJNDAEL, TYPE_DECODE_FILE, TYPE_ENCODE_FILE, V_GAP_FOR_ICON, VERSION, VERSION_MODE, Z_DEFAULT_COMPRESSION, Z_MAX_COMPRESSION, Z_MIN_COMPRESSION
コンストラクタと説明 |
---|
Options()
Optionオブジェクトを構成します。
|
Options(java.lang.String[] args)
コマンドライン引数を渡してOptionオブジェクトを構成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addChangeListener()
プロパティが変更されたなら変数changedをtrueに変更するためのPropertyChangeListenerを追加します。
|
Options |
clone() |
java.lang.String |
getAppPath() |
java.lang.String |
getAutoNameFormatText() |
int |
getCompressRate() |
java.lang.String |
getDecodeFolderPath() |
java.util.List<java.lang.String> |
getDecryptFileNames() |
java.lang.String |
getDecryptPassword() |
java.lang.String |
getDecryptPasswordByEncryption()
復号用パスワードを暗号化して取得する
|
java.lang.String |
getDecryptPasswordFileName() |
int |
getDeleteMode() |
java.lang.String |
getEncodeFolderPath() |
java.util.List<java.lang.String> |
getEncryptFileNames() |
java.lang.String |
getEncryptPassword() |
java.lang.String |
getEncryptPasswordByEncryption()
暗号化用パスワードを暗号化して取得する
|
java.lang.String |
getEncryptPasswordFileName() |
java.lang.String |
getExtensionString() |
int |
getMaxMistake() |
int |
getRandomWriteCount() |
int |
getRunMode() |
int |
getVersionNum() |
int |
getZeroWriteCount() |
boolean |
isAddFileName() |
boolean |
isAllFilePacked() |
boolean |
isAlwaysOnTop() |
boolean |
isAskEncryptOrDecrypt() |
boolean |
isCamouflageExtention() |
boolean |
isChanged() |
boolean |
isConfirmOverwirte() |
boolean |
isCui() |
boolean |
isDecodeToSameFolder() |
boolean |
isDecryptPasswordRequired() |
boolean |
isDeleteEncryptoFile() |
boolean |
isDeleteOriginalFile() |
boolean |
isEncodeToSameFolder() |
boolean |
isEncryptPasswordRequired() |
boolean |
isEncryptWithoutConfirmation() |
boolean |
isFileBrakeOption() |
boolean |
isIncludeExtension() |
boolean |
isIncludeHidden() |
boolean |
isKeepTimestamp() |
boolean |
isMemoryDecryptPassword() |
boolean |
isMemoryEncryptPassword() |
boolean |
isNotMakeParentFolder() |
boolean |
isNotMulipleStarts() |
boolean |
isOpenDirectoryAfterDecrypt() |
boolean |
isOpenFile() |
boolean |
isQuitAfterEncrypt() |
boolean |
isShowPassword() |
boolean |
isSilent() |
boolean |
isTimestampNow() |
boolean |
isUsePasswordFile() |
boolean |
isUsePasswordOption() |
boolean |
isUseVersion2() |
void |
loadFromFile()
iniファイルから設定を取得します。
|
void |
saveToFile()
iniファイルに設定を保存します。
|
void |
setAddFileName(boolean addFileName) |
void |
setAllFilePacked(boolean allFilePacked) |
void |
setAlwaysOnTop(boolean alwaysOnTop) |
void |
setAppPath(java.lang.String appPath) |
void |
setAskEncryptOrDecrypt(boolean askEncryptOrDecrypt) |
void |
setAutoNameFormatText(java.lang.String autoNameFormatText) |
void |
setCamouflageExtention(boolean camouflageExtention) |
void |
setChanged(boolean changed) |
void |
setCompressRate(int compressRate) |
void |
setConfirmOverwirte(boolean confirmOverwirte) |
void |
setDecodeFolderPath(java.lang.String decodeFolderPath) |
void |
setDecodeToSameFolder(boolean decodeToSameFolder) |
void |
setDecryptFileNames(java.util.List<java.lang.String> fileNames) |
void |
setDecryptFilenames(java.lang.String fileName) |
void |
setDecryptPasswardRequired(boolean passwardRequired) |
void |
setDecryptPassword(java.lang.String password) |
void |
setDecryptPasswordByEncryption(java.lang.String decryptedPassword)
暗号化された復号用パスワードが与えられるので,復号して格納する
|
void |
setDecryptPasswordFileName(java.lang.String passwordFileName) |
void |
setDecryptPasswordRequired(boolean decryptPasswordRequired) |
void |
setDecryptPasswordToNull(java.lang.String password) |
void |
setDeleteEncryptoFile(boolean deleteEncryptoFile) |
void |
setDeleteMode(int deleteMode) |
void |
setDeleteOriginalFile(boolean deleteOriginalFile) |
void |
setEncodeFolderPath(java.lang.String encodeFolderPath) |
void |
setEncodeToSameFolder(boolean encodeToSameFolder) |
void |
setEncryptFileNames(java.util.List<java.lang.String> fileNames) |
void |
setEncryptFilenames(java.lang.String fileName) |
void |
setEncryptPasswardRequired(boolean passwardRequired) |
void |
setEncryptPassword(java.lang.String password) |
void |
setEncryptPasswordByEncryption(java.lang.String encryptedPassword)
暗号化された暗号化用パスワードが与えられるので,復号して格納する
|
void |
setEncryptPasswordFileName(java.lang.String passwordFileName) |
void |
setEncryptPasswordRequired(boolean encryptPasswordRequired) |
void |
setEncryptPasswordToNull(java.lang.String password) |
void |
setEncryptWithoutConfirmation(boolean encryptWithoutConfirmation) |
void |
setExtensionString(java.lang.String extensionString) |
void |
setFileBrakeOption(boolean fileBrakeOption) |
void |
setIncludeExtension(boolean includeExtension) |
void |
setIncludeHidden(boolean includeHidden) |
void |
setKeepTimestamp(boolean keepTimeStamp) |
void |
setMaxMistake(int maxMistake) |
void |
setMemoryDecryptPassword(boolean memoryDecryptPassword) |
void |
setMemoryEncryptPassword(boolean memoryEncryptPassword) |
void |
setNotMakeParentFolder(boolean notMakeParentFolder) |
void |
setNotMulipleStarts(boolean notMulipleStarts) |
void |
setOpenDirectoryAfterDecrypt(boolean openDirectoryAfterDecrypt) |
void |
setOpenFile(boolean openFile) |
void |
setQuitAfterEncrypt(boolean quitAfterEncrypt) |
void |
setRandomWriteCount(int randomWriteCount) |
void |
setRunMode(int runMode) |
void |
setShowPassword(boolean showPassword) |
void |
setSilent(boolean silent) |
void |
setTimestampNow(boolean timestampNow) |
void |
setUsePasswordFile(boolean usePasswordFile) |
void |
setUsePasswordOption(boolean usePasswordOption) |
void |
setUseVersion2(boolean useVersion2) |
void |
setVersionNum(int versionNum) |
void |
setZeroWriteCount(int zeroWriteCount) |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
public Options()
public Options(java.lang.String[] args)
args
- コマンドライン引数public void addChangeListener()
public boolean isIncludeHidden()
public boolean isSilent()
public void setSilent(boolean silent)
public boolean isIncludeExtension()
public void setIncludeExtension(boolean includeExtension)
public boolean isAllFilePacked()
public void setAllFilePacked(boolean allFilePacked)
public java.lang.String getAutoNameFormatText()
public void setAutoNameFormatText(java.lang.String autoNameFormatText)
public boolean isCamouflageExtention()
public void setCamouflageExtention(boolean camouflageExtention)
public java.lang.String getExtensionString()
public void setExtensionString(java.lang.String extensionString)
public int getCompressRate()
public void setCompressRate(int compressRate)
public void setDecryptPasswardRequired(boolean passwardRequired)
public void setEncryptPasswardRequired(boolean passwardRequired)
public java.util.List<java.lang.String> getEncryptFileNames()
public void setEncryptFileNames(java.util.List<java.lang.String> fileNames)
public void setEncryptFilenames(java.lang.String fileName)
public void setDecryptFileNames(java.util.List<java.lang.String> fileNames)
public void setDecryptFilenames(java.lang.String fileName)
public java.util.List<java.lang.String> getDecryptFileNames()
public boolean isDeleteOriginalFile()
public void setDeleteOriginalFile(boolean deleteOriginalFile)
public boolean isDeleteEncryptoFile()
public void setDeleteEncryptoFile(boolean deleteEncryptoFile)
public boolean isTimestampNow()
public void setTimestampNow(boolean timestampNow)
public boolean isKeepTimestamp()
public void setKeepTimestamp(boolean keepTimeStamp)
public boolean isConfirmOverwirte()
public void setConfirmOverwirte(boolean confirmOverwirte)
public boolean isOpenFile()
public void setOpenFile(boolean openFile)
public java.lang.String getAppPath()
public void setAppPath(java.lang.String appPath)
public int getVersionNum()
public void setVersionNum(int versionNum)
public java.lang.String getEncryptPassword()
public java.lang.String getEncryptPasswordByEncryption()
public java.lang.String getDecryptPassword()
public java.lang.String getDecryptPasswordByEncryption()
public void setEncryptPassword(java.lang.String password)
public void setEncryptPasswordToNull(java.lang.String password)
public void setEncryptPasswordByEncryption(java.lang.String encryptedPassword)
encryptedPassword
- 暗号化された暗号化用パスワードpublic void setDecryptPassword(java.lang.String password)
public void setDecryptPasswordToNull(java.lang.String password)
public void setDecryptPasswordByEncryption(java.lang.String decryptedPassword)
decryptedPassword
- 暗号化された復号用パスワードpublic boolean isDecodeToSameFolder()
public void setDecodeToSameFolder(boolean decodeToSameFolder)
public java.lang.String getDecodeFolderPath()
public void setDecodeFolderPath(java.lang.String decodeFolderPath)
public int getRunMode()
public void setRunMode(int runMode)
public java.lang.String getEncryptPasswordFileName()
public java.lang.String getDecryptPasswordFileName()
public void setDecryptPasswordFileName(java.lang.String passwordFileName)
public void setEncryptPasswordFileName(java.lang.String passwordFileName)
public int getDeleteMode()
public void setDeleteMode(int deleteMode)
public int getRandomWriteCount()
public void setRandomWriteCount(int randomWriteCount)
public int getZeroWriteCount()
public void setZeroWriteCount(int zeroWriteCount)
public boolean isCui()
public boolean isFileBrakeOption()
public void setFileBrakeOption(boolean fileBrakeOption)
public int getMaxMistake()
public void setMaxMistake(int maxMistake)
public boolean isNotMulipleStarts()
public void setNotMulipleStarts(boolean notMulipleStarts)
public boolean isEncryptPasswordRequired()
public void setEncryptPasswordRequired(boolean encryptPasswordRequired)
public boolean isDecryptPasswordRequired()
public void setDecryptPasswordRequired(boolean decryptPasswordRequired)
public void setIncludeHidden(boolean includeHidden)
public boolean isQuitAfterEncrypt()
public void setQuitAfterEncrypt(boolean quitAfterEncrypt)
public boolean isAlwaysOnTop()
public void setAlwaysOnTop(boolean alwaysOnTop)
public boolean isOpenDirectoryAfterDecrypt()
public void setOpenDirectoryAfterDecrypt(boolean openDirectoryAfterDecrypt)
public boolean isAskEncryptOrDecrypt()
public void setAskEncryptOrDecrypt(boolean askEncryptOrDecrypt)
public boolean isMemoryEncryptPassword()
public void setMemoryEncryptPassword(boolean memoryEncryptPassword)
public boolean isMemoryDecryptPassword()
public void setMemoryDecryptPassword(boolean memoryDecryptPassword)
public boolean isEncryptWithoutConfirmation()
public void setEncryptWithoutConfirmation(boolean encryptWithoutConfirmation)
public boolean isShowPassword()
public void setShowPassword(boolean showPassword)
public boolean isEncodeToSameFolder()
public void setEncodeToSameFolder(boolean encodeToSameFolder)
public java.lang.String getEncodeFolderPath()
public void setEncodeFolderPath(java.lang.String encodeFolderPath)
public boolean isNotMakeParentFolder()
public void setNotMakeParentFolder(boolean notMakeParentFolder)
public boolean isUsePasswordFile()
public void setUsePasswordFile(boolean usePasswordFile)
public Options clone() throws java.lang.CloneNotSupportedException
clone
クラス内 java.lang.Object
java.lang.CloneNotSupportedException
public boolean isChanged()
public void setChanged(boolean changed)
public boolean isAddFileName()
public void setAddFileName(boolean addFileName)
public void loadFromFile()
public void saveToFile()
public boolean isUsePasswordOption()
public void setUsePasswordOption(boolean usePasswordOption)
public boolean isUseVersion2()
public void setUseVersion2(boolean useVersion2)