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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileValueBuilderencoding(java.lang.String encoding)Sets the encoding for the file in the value infos (optional).FileValueBuilderencoding(java.nio.charset.Charset encoding)Sets the encoding for the file in the value infos (optional).FileValueBuilderfile(byte[] bytes)Sets the value to the specifiedBytearrayFileValueBuilderfile(java.io.File file)Sets the value to the specifiedFile.FileValueBuilderfile(java.io.InputStream stream)Sets the value to the specifiedInputStream.FileValueBuildermimeType(java.lang.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, setTransient
-
-
-
-
Method Detail
-
mimeType
FileValueBuilder mimeType(java.lang.String mimeType)
Saves the MIME type of a file in the value infos.- Parameters:
mimeType- the MIME type as string
-
file
FileValueBuilder file(java.io.File file)
Sets the value to the specifiedFile.- See Also:
file(byte[]),file(InputStream)
-
file
FileValueBuilder file(java.io.InputStream stream)
Sets the value to the specifiedInputStream.- See Also:
file(byte[]),file(File)
-
file
FileValueBuilder file(byte[] bytes)
Sets the value to the specifiedBytearray- See Also:
file(File),file(InputStream)
-
encoding
FileValueBuilder encoding(java.nio.charset.Charset encoding)
Sets the encoding for the file in the value infos (optional).- Parameters:
encoding-- Returns:
-
encoding
FileValueBuilder encoding(java.lang.String encoding)
Sets the encoding for the file in the value infos (optional).- Parameters:
encoding-- Returns:
-
-