Class DefaultSpringWadlResourceDocument

java.lang.Object
org.pentaho.platform.web.servlet.DefaultSpringWadlResourceDocument
All Implemented Interfaces:
org.pentaho.platform.api.util.IWadlDocumentResource

public class DefaultSpringWadlResourceDocument extends Object implements org.pentaho.platform.api.util.IWadlDocumentResource
  • Constructor Details

    • DefaultSpringWadlResourceDocument

      public DefaultSpringWadlResourceDocument(org.springframework.core.io.Resource resource)
  • Method Details

    • getResourceAsStream

      public InputStream getResourceAsStream() throws IOException
      Specified by:
      getResourceAsStream in interface org.pentaho.platform.api.util.IWadlDocumentResource
      Throws:
      IOException
    • getSystemPath

      protected String getSystemPath()
    • getInputStream

      protected InputStream getInputStream(URL url) throws IOException
      Throws:
      IOException
    • isFromPlugin

      public boolean isFromPlugin()
      Specified by:
      isFromPlugin in interface org.pentaho.platform.api.util.IWadlDocumentResource
    • getPluginId

      public String getPluginId()
      Specified by:
      getPluginId in interface org.pentaho.platform.api.util.IWadlDocumentResource