com.jp.protection.pub
Class LicenseReader.InMemoryStorage
java.lang.Object
com.jp.protection.pub.LicenseReader.InMemoryStorage
- All Implemented Interfaces:
- LicenseReader.Storage
- Enclosing class:
- LicenseReader
public static class LicenseReader.InMemoryStorage
- 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 |
fLicenseBytes
protected byte[] fLicenseBytes
fLicenseReader
protected LicenseReader fLicenseReader
LicenseReader.InMemoryStorage
public LicenseReader.InMemoryStorage(LicenseReader aLicenseReader)
getLicenseBytes
public byte[] getLicenseBytes()
setLicenseBytes
public void setLicenseBytes(byte[] aLicenseBytes)
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
restoreLicenseFromBackup
public boolean restoreLicenseFromBackup()
- Specified by:
restoreLicenseFromBackup
in interface LicenseReader.Storage
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