com.jp.protection.pub
Class LicenseReader.InMemoryStorage

java.lang.Object
  extended by 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


Field Summary
protected  byte[] fLicenseBytes
           
protected  LicenseReader fLicenseReader
           
 
Constructor Summary
LicenseReader.InMemoryStorage(LicenseReader aLicenseReader)
           
 
Method Summary
 boolean backupLicense()
           
 boolean canRestoreLicenseFromBackup()
           
 java.io.InputStream getBackupLicenseInputStream()
           
 byte[] getLicenseBytes()
           
 java.io.InputStream getLicenseInputStream()
           
 java.io.OutputStream getLicenseOutputStream()
           
 boolean isSupportsLicenseBackup()
           
 boolean removeLicense()
           
 boolean restoreLicenseFromBackup()
           
 void setLicenseBytes(byte[] aLicenseBytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fLicenseBytes

protected byte[] fLicenseBytes

fLicenseReader

protected LicenseReader fLicenseReader
Constructor Detail

LicenseReader.InMemoryStorage

public LicenseReader.InMemoryStorage(LicenseReader aLicenseReader)
Method Detail

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