Interface FileValue
-
- All Superinterfaces:
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 String
getEncoding()
Charset
getEncodingAsCharset()
Convenience method to save the transformation.String
getFilename()
String
getMimeType()
InputStream
getValue()
The actual value.-
Methods inherited from interface org.camunda.bpm.engine.variable.value.TypedValue
getType, isTransient
-
-
-
-
Method Detail
-
getFilename
String getFilename()
-
getMimeType
String getMimeType()
-
getEncodingAsCharset
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
String getEncoding()
- Returns:
- the saved encoding or null if none has been saved
-
getValue
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
-
-