public abstract class LicenseWriter extends Object
Modifier and Type | Method and Description |
---|---|
static void |
write(License license,
OutputStream outputStream,
KeyPair keyPair,
Signature signature)
Writes a new license file for the given license and stores it in the provided output stream.
|
static void |
writeJar(License license,
OutputStream outputStream,
KeyPair keyPair,
Signature signature)
Writes a new license jar file for the given license and stores it in the provided output stream.
|
public static void write(License license, OutputStream outputStream, KeyPair keyPair, Signature signature) throws IOException
license
- the license to persistoutputStream
- the output stream to which the license file is writtenkeyPair
- the key pair to apply when signing the license filesignature
- the signature to apply when signing the license fileIOException
- thrown in case of an error while writing the license filepublic static void writeJar(License license, OutputStream outputStream, KeyPair keyPair, Signature signature) throws IOException
license
- the license to persistoutputStream
- the output stream to which the license jar file is writtenkeyPair
- the key pair to apply when signing the license filesignature
- the signature to apply when signing the license fileIOException
- thrown in case of an error while writing the license fileCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.