public class StencilSetJsonHelper
extends java.lang.Object
Constructor and Description |
---|
StencilSetJsonHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
generateCustomStencilSet(java.util.Collection<Stencil> stencils)
Generates a stecnilset JSON that contains custom stencils and their propertyPackages
|
static java.util.List<Stencil> |
parseStencilSetJson(java.lang.String stencilSetJson)
Parses a stencilset JSON and converts it to the list of
Stencil entities |
public static java.util.List<Stencil> parseStencilSetJson(java.lang.String stencilSetJson)
Stencil
entitiespublic static java.lang.String generateCustomStencilSet(java.util.Collection<Stencil> stencils) throws java.io.IOException
stencils
- list of all stencils from the stencil editorjava.io.IOException