Class FlowableExpressionBase64Utils
java.lang.Object
com.flowable.platform.expressions.FlowableExpressionBase64Utils
public class FlowableExpressionBase64Utils
extends java.lang.Object
Expression Bean Name: flwBase64Utils
Provides utilities to work with base64.
- Author:
- Valentin Rentschler
-
Field Summary
Fields Modifier and Type Field Description protected org.flowable.content.api.ContentService
contentService
-
Constructor Summary
Constructors Constructor Description FlowableExpressionBase64Utils()
-
Method Summary
Modifier and Type Method Description java.lang.String
decodeToString(java.lang.String toDecode, java.lang.String encoding)
protected java.lang.String
encodeContentItem(org.flowable.content.api.ContentItem contentItem)
java.lang.String
encodeToString(java.lang.Object src)
org.flowable.content.api.ContentService
getContentService()
void
setContentService(org.flowable.content.api.ContentService contentService)
-
Field Details
-
contentService
protected org.flowable.content.api.ContentService contentService
-
-
Constructor Details
-
FlowableExpressionBase64Utils
public FlowableExpressionBase64Utils()
-
-
Method Details
-
encodeToString
public java.lang.String encodeToString(java.lang.Object src) -
encodeContentItem
protected java.lang.String encodeContentItem(org.flowable.content.api.ContentItem contentItem) -
decodeToString
public java.lang.String decodeToString(java.lang.String toDecode, java.lang.String encoding) throws java.io.UnsupportedEncodingException- Throws:
java.io.UnsupportedEncodingException
-
getContentService
public org.flowable.content.api.ContentService getContentService() -
setContentService
public void setContentService(org.flowable.content.api.ContentService contentService)
-