org.camunda.bpm.engine.variable.value.builder
Interface FileValueBuilder

All Superinterfaces:
TypedValueBuilder<FileValue>
All Known Implementing Classes:
FileValueBuilderImpl

public interface FileValueBuilder
extends TypedValueBuilder<FileValue>

Since:
7.4
Author:
Ronny Bräunlich

Method Summary
 FileValueBuilder encoding(Charset encoding)
          Sets the encoding for the file in the value infos (optional).
 FileValueBuilder encoding(String encoding)
          Sets the encoding for the file in the value infos (optional).
 FileValueBuilder file(byte[] bytes)
          Sets the value to the specified Byte array
 FileValueBuilder file(File file)
          Sets the value to the specified File.
 FileValueBuilder file(InputStream stream)
          Sets the value to the specified InputStream.
 FileValueBuilder mimeType(String mimeType)
          Saves the MIME type of a file in the value infos.
 
Methods inherited from interface org.camunda.bpm.engine.variable.value.builder.TypedValueBuilder
create
 

Method Detail

mimeType

FileValueBuilder mimeType(String mimeType)
Saves the MIME type of a file in the value infos.

Parameters:
type - the MIME type as string

file

FileValueBuilder file(File file)
Sets the value to the specified File.

See Also:
file(byte[]), file(InputStream)

file

FileValueBuilder file(InputStream stream)
Sets the value to the specified InputStream.

See Also:
file(byte[]), file(File)

file

FileValueBuilder file(byte[] bytes)
Sets the value to the specified Byte array

See Also:
file(File), file(InputStream)

encoding

FileValueBuilder encoding(Charset encoding)
Sets the encoding for the file in the value infos (optional).

Parameters:
encoding -
Returns:

encoding

FileValueBuilder encoding(String encoding)
Sets the encoding for the file in the value infos (optional).

Parameters:
encoding -
Returns:


Copyright © 2015 camunda services GmbH. All rights reserved.