Class ResourceHelper

java.lang.Object
com.flowable.platform.common.resource.ResourceHelper
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.EmbeddedValueResolverAware

public class ResourceHelper
extends java.lang.Object
implements org.springframework.context.ApplicationContextAware, org.springframework.context.EmbeddedValueResolverAware
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected org.springframework.core.io.ResourceLoader resourceLoader  
    protected org.springframework.util.StringValueResolver stringValueResolver  
  • Constructor Summary

    Constructors 
    Constructor Description
    ResourceHelper()  
  • Method Summary

    Modifier and Type Method Description
    java.io.InputStream resolveResourceStringToInputStream​(java.lang.String resourceString)  
    org.springframework.core.io.Resource resolveResourceStringToResource​(java.lang.String resourceString)  
    void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)  
    void setEmbeddedValueResolver​(org.springframework.util.StringValueResolver resolver)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • resourceLoader

      protected org.springframework.core.io.ResourceLoader resourceLoader
    • stringValueResolver

      protected org.springframework.util.StringValueResolver stringValueResolver
  • Constructor Details

  • Method Details

    • resolveResourceStringToResource

      public org.springframework.core.io.Resource resolveResourceStringToResource​(java.lang.String resourceString)
    • resolveResourceStringToInputStream

      public java.io.InputStream resolveResourceStringToInputStream​(java.lang.String resourceString)
    • setEmbeddedValueResolver

      public void setEmbeddedValueResolver​(org.springframework.util.StringValueResolver resolver)
      Specified by:
      setEmbeddedValueResolver in interface org.springframework.context.EmbeddedValueResolverAware
    • setApplicationContext

      public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException