com.jp.protection.pub.pro
Class LicenseUpgradeChecker.FileLicenseReader

java.lang.Object
  extended by com.jp.protection.pub.LicenseReader
      extended by com.jp.protection.pub.pro.LicenseUpgradeChecker.FileLicenseReader
Enclosing class:
LicenseUpgradeChecker

public static class LicenseUpgradeChecker.FileLicenseReader
extends LicenseReader

Special sub-class of LicenseReader that allows reading licenses from a specified file


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jp.protection.pub.LicenseReader
LicenseReader.FileStorage, LicenseReader.InMemoryStorage, LicenseReader.Storage
 
Field Summary
protected  java.io.File fFile
           
 
Fields inherited from class com.jp.protection.pub.LicenseReader
fClassForLoadLicenseResource, fDecryptKeyBytes, fLicense, fLicenseFileName, fLicenseFolder, fLicenseRead, fLicenseReaderIssueResolver, fLicenseResourceFolder, fPerformLicenseBackups, fSearchLicenseInFile, fSecurityAlgorithm, fSecurityProvider, fSkipEncryption, fStorage, fUserHomeRelative, fVerbose
 
Constructor Summary
LicenseUpgradeChecker.FileLicenseReader(java.io.File aFile)
          Creates a new instance of FileLicenseReader
 
Method Summary
 java.io.InputStream getLicenseInputStream()
          Returns input stream to read license from
 
Methods inherited from class com.jp.protection.pub.LicenseReader
addLicenseReaderListener, backupLicense, canRestoreLicenseFromBackup, checkLicenseFile, decodeLicense, error, error, fireLicenseAboutToRead, fireLicenseAvailable, fireLicenseCorrupted, fireLicenseMissing, fireLicenseRemoved, fireLicenseUpdated, getBackupLicenseInputStream, getClassForLoadLicenseResource, getDecryptKeyBytes, getIssueResolver, getLicense, getLicense, getLicenseBytes, getLicenseBytes, getLicenseFile, getLicenseFileInputStream, getLicenseFileLocation, getLicenseFileName, getLicenseFolder, getLicenseOutputStream, getLicenseProduct, getLicenseResourceFolder, getLicenseResourceInputStream, getLicenseResourceLocation, getPrivateKeyBytes, getSecurityAlgorithm, getSecurityProvider, getStorage, getUserHome, isLicenseRead, isPerformLicenseBackups, isSearchLicenseInFile, isSkipEncryption, isUserHomeRelative, isVerbose, readLicense, readLicense, readLicense, removeLicense, removeLicenseReaderListener, restoreLicenseFromBackup, setClassForLoadLicenseResource, setDecryptKeyBytes, setDecryptKeyBytes, setIssueResolver, setLicenseFileName, setLicenseFolder, setLicenseResourceFolder, setPerformLicenseBackups, setPrivateKeyBytes, setPrivateKeyBytes, setSearchLicenseInFile, setSecurityAlgorithm, setSkipEncryption, setStorage, setUserHomeRelative, setVerbose, smartDecodeLicense, smartGetLicenseBytes, smartReadLicense, updateLicense, updateLicense, updateLicense
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fFile

protected java.io.File fFile
Constructor Detail

LicenseUpgradeChecker.FileLicenseReader

public LicenseUpgradeChecker.FileLicenseReader(java.io.File aFile)
Creates a new instance of FileLicenseReader

Parameters:
aFile - a license file to read a license from
Method Detail

getLicenseInputStream

public java.io.InputStream getLicenseInputStream()
Description copied from class: LicenseReader
Returns input stream to read license from

Overrides:
getLicenseInputStream in class LicenseReader
Returns:
input stream to read license from