com.jp.protection.pub
Class LicenseReader.FileStorage
java.lang.Object
com.jp.protection.pub.LicenseReader.FileStorage
- All Implemented Interfaces:
- LicenseReader.Storage
- Enclosing class:
- LicenseReader
public static class LicenseReader.FileStorage
- extends java.lang.Object
- implements LicenseReader.Storage
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fLicenseReader
protected LicenseReader fLicenseReader
LicenseReader.FileStorage
public LicenseReader.FileStorage(LicenseReader aLicenseReader)
getLicenseInputStream
public java.io.InputStream getLicenseInputStream()
- Specified by:
getLicenseInputStream in interface LicenseReader.Storage
getLicenseOutputStream
public java.io.OutputStream getLicenseOutputStream()
- Specified by:
getLicenseOutputStream in interface LicenseReader.Storage
getBackupNumber
protected int getBackupNumber(java.io.File aBackupFile)
getLicenseBackups
public java.util.List<java.io.File> getLicenseBackups()
restoreLicenseFromBackup
public boolean restoreLicenseFromBackup()
- Specified by:
restoreLicenseFromBackup in interface LicenseReader.Storage
restoreLicenseFromBackup
public boolean restoreLicenseFromBackup(java.io.File aBackupFile)
getNewBackupLicenseFile
protected java.io.File getNewBackupLicenseFile()
backupLicense
public boolean backupLicense()
- Specified by:
backupLicense in interface LicenseReader.Storage
isSupportsLicenseBackup
public boolean isSupportsLicenseBackup()
- Specified by:
isSupportsLicenseBackup in interface LicenseReader.Storage
canRestoreLicenseFromBackup
public boolean canRestoreLicenseFromBackup()
- Specified by:
canRestoreLicenseFromBackup in interface LicenseReader.Storage
getBackupLicenseInputStream
public java.io.InputStream getBackupLicenseInputStream()
- Specified by:
getBackupLicenseInputStream in interface LicenseReader.Storage
removeLicense
public boolean removeLicense()
- Specified by:
removeLicense in interface LicenseReader.Storage