当前页面:
在线文档首页 >
JBoss JBPM 3.1.3 API 英文版文档
FileDefinition (jbpm-3.1.3) - JBoss JBPM 3.1.3 API 英文版文档
org.jbpm.file.def
Class FileDefinition
java.lang.Object
org.jbpm.module.def.ModuleDefinition
org.jbpm.file.def.FileDefinition
- All Implemented Interfaces:
- java.io.Serializable
public class FileDefinition
- extends ModuleDefinition
- See Also:
- Serialized Form
Method Summary |
void |
addFile(java.lang.String name,
byte[] bytes)
add a file to this definition. |
void |
addFile(java.lang.String name,
java.io.InputStream is)
add a file to this definition. |
ModuleInstance |
createInstance()
|
byte[] |
getBytes(java.lang.String name)
retrieve a file of this definition as a byte array. |
java.util.Map |
getBytesMap()
|
java.io.InputStream |
getInputStream(java.lang.String name)
retrieve a file of this definition as an inputstream. |
java.util.Map |
getInputStreamMap()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileDefinition
public FileDefinition()
createInstance
public ModuleInstance createInstance()
- Specified by:
createInstance
in class ModuleDefinition
addFile
public void addFile(java.lang.String name,
byte[] bytes)
- add a file to this definition.
addFile
public void addFile(java.lang.String name,
java.io.InputStream is)
- add a file to this definition.
getInputStream
public java.io.InputStream getInputStream(java.lang.String name)
- retrieve a file of this definition as an inputstream.
getInputStreamMap
public java.util.Map getInputStreamMap()
getBytesMap
public java.util.Map getBytesMap()
getBytes
public byte[] getBytes(java.lang.String name)
- retrieve a file of this definition as a byte array.
Version : jbpm-3.1.3