Package com.castlabs
Class SimpleLicenseLoader
java.lang.Object
com.castlabs.SimpleLicenseLoader
- All Implemented Interfaces:
 LicenseLoader
Implementation of the 
LicenseLoader that will return license data as passed in
 the constructor.- Since:
 - 3.3.0
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionSimpleLicenseLoader(byte[] licenseData) SimpleLicenseLoader(String licenseData)  - 
Method Summary
Modifier and TypeMethodDescriptionbyte[]This method must find the license file and return its bytes or throw an Exception if the license data could not be loaded. 
- 
Constructor Details
- 
SimpleLicenseLoader
 - 
SimpleLicenseLoader
public SimpleLicenseLoader(@NonNull byte[] licenseData)  
 - 
 - 
Method Details
- 
getLicenseData
Description copied from interface:LicenseLoaderThis method must find the license file and return its bytes or throw an Exception if the license data could not be loaded.- Specified by:
 getLicenseDatain interfaceLicenseLoader- Returns:
 - license the byte representation of the license file
 - Throws:
 Exception- in case the license data could not be loaded
 
 -