org.camunda.bpm.engine.variable.value
Interface FileValue

All Superinterfaces:
Serializable, TypedValue
All Known Implementing Classes:
FileValueImpl

public interface FileValue
extends TypedValue

Since:
7.4
Author:
Ronny Bräunlich

Method Summary
 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
 

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 that Charset.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 interface TypedValue
Returns:
the value


Copyright © 2015 camunda services GmbH. All rights reserved.