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 InputStream
getInputStream(URL url)
String
getPluginId()
InputStream
getResourceAsStream()
protected String
getSystemPath()
boolean
isFromPlugin()
-
-
-
Method Detail
-
getResourceAsStream
public InputStream getResourceAsStream() throws IOException
- Specified by:
getResourceAsStream
in 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:
isFromPlugin
in interfaceorg.pentaho.platform.api.util.IWadlDocumentResource
-
getPluginId
public String getPluginId()
- Specified by:
getPluginId
in interfaceorg.pentaho.platform.api.util.IWadlDocumentResource
-
-