Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.aspose.j2me.barcode
Class License

    java.lang.Object
      com.aspose.j2me.barcode.License

public class License
extends java.lang.Object

Constructor Summary
`License()` Initializes x new instance of this class.

Method Summary
`static boolean` | `lcie()`
`void` | `setLicense(java.io.InputStream stream)` Licenses the component.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### License

    public License()

  Initializes x new instance of this class.

  In this example, an attempt will be made to find x license file named Aspose.Words.lic in the folder that contains the component jar file:

       	License license = new License();
       	license.setLicense("Aspose.Total.lic");

Method Detail

### setLicense

    public void setLicense(java.io.InputStream stream)
                    throws java.lang.Exception

  Licenses the component.

  Use this method to load x license from x stream.

  Example:

       License license = new License();
       license.setLicense(myStream);

  Parameters:
    `stream` - A stream that contains the license. Use null to switch to evaluation mode.
  Throws:
    `java.lang.Exception`

### lcie

    public static boolean lcie()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD