Interface FileValue
-
- All Superinterfaces:
java.io.Serializable
,TypedValue
- All Known Subinterfaces:
DeferredFileValue
- All Known Implementing Classes:
DeferredFileValueImpl
,FileValueImpl
public interface FileValue extends TypedValue
- Since:
- 7.4
- Author:
- Ronny Bräunlich
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getEncoding()
java.nio.charset.Charset
getEncodingAsCharset()
Convenience method to save the transformation.java.lang.String
getFilename()
java.lang.String
getMimeType()
java.io.InputStream
getValue()
The actual value.-
Methods inherited from interface org.camunda.bpm.engine.variable.value.TypedValue
getType, isTransient
-
-
-
-
Method Detail
-
getFilename
java.lang.String getFilename()
-
getMimeType
java.lang.String getMimeType()
-
getEncodingAsCharset
java.nio.charset.Charset getEncodingAsCharset()
Convenience method to save the transformation. This method will perform no check if the saved encoding is known to the JVM and therefore could throw every exception thatCharset.forName(String)
lists.If no encoding has been saved it will return null.
-
getEncoding
java.lang.String getEncoding()
- Returns:
- the saved encoding or null if none has been saved
-
getValue
java.io.InputStream getValue()
Description copied from interface:TypedValue
The actual value. May be null in case the value is null.- Specified by:
getValue
in interfaceTypedValue
- Returns:
- the value
-
-