Class LocalStencilSetImpl
- java.lang.Object
-
- org.jbpm.designer.web.plugin.impl.LocalResource
-
- org.jbpm.designer.web.stencilset.impl.LocalStencilSetImpl
-
- All Implemented Interfaces:
IDiagramStencilSet
public class LocalStencilSetImpl extends LocalResource implements IDiagramStencilSet
A local implementation of the stencilset for stencilsets defined inside the platform.
-
-
Constructor Summary
Constructors Constructor Description LocalStencilSetImpl(String name, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getResourceContents(String path)
Finds and returns the contents of a resource located under the stencilset.-
Methods inherited from class org.jbpm.designer.web.plugin.impl.LocalResource
getContents, getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jbpm.designer.web.stencilset.IDiagramStencilSet
getContents, getName
-
-
-
-
Method Detail
-
getResourceContents
public InputStream getResourceContents(String path)
Description copied from interface:IDiagramStencilSet
Finds and returns the contents of a resource located under the stencilset.- Specified by:
getResourceContents
in interfaceIDiagramStencilSet
- Parameters:
path
- the path of the resource- Returns:
- the contents of the resouce.
-
-