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 FileValueBuilder
encoding(String encoding)
Sets the encoding for the file in the value infos (optional).FileValueBuilder
encoding(Charset encoding)
Sets the encoding for the file in the value infos (optional).FileValueBuilder
file(byte[] bytes)
Sets the value to the specifiedByte
arrayFileValueBuilder
file(File file)
Sets the value to the specifiedFile
.FileValueBuilder
file(InputStream stream)
Sets the value to the specifiedInputStream
.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, setTransient
-
-
-
-
Method Detail
-
mimeType
FileValueBuilder mimeType(String mimeType)
Saves the MIME type of a file in the value infos.- Parameters:
mimeType
- the MIME type as string
-
file
FileValueBuilder file(File file)
Sets the value to the specifiedFile
.- See Also:
file(byte[])
,file(InputStream)
-
file
FileValueBuilder file(InputStream stream)
Sets the value to the specifiedInputStream
.- See Also:
file(byte[])
,file(File)
-
file
FileValueBuilder file(byte[] bytes)
Sets the value to the specifiedByte
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:
-
-