Package org.pentaho.platform.web.servlet
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 Summary
Constructors Constructor Description DefaultSpringWadlResourceDocument(org.springframework.core.io.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InputStreamgetInputStream(URL url)StringgetPluginId()InputStreamgetResourceAsStream()protected StringgetSystemPath()booleanisFromPlugin()
-
-
-
Method Detail
-
getResourceAsStream
public InputStream getResourceAsStream() throws IOException
- Specified by:
getResourceAsStreamin interfaceorg.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:
isFromPluginin interfaceorg.pentaho.platform.api.util.IWadlDocumentResource
-
getPluginId
public String getPluginId()
- Specified by:
getPluginIdin interfaceorg.pentaho.platform.api.util.IWadlDocumentResource
-
-