Package org.pentaho.platform.api.util
Interface IWadlDocumentResource
-
public interface IWadlDocumentResource
Exposes a SpringResource Interface to access wadl extension files
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPluginId()
Gets the pluginId where the SpringResource is being retrievedInputStream
getResourceAsStream()
Gets the InputStream of the referenced SpringResourceboolean
isFromPlugin()
Identifies if the resource we are fetching is from a plugin or not
-
-
-
Method Detail
-
getResourceAsStream
InputStream getResourceAsStream() throws IOException
Gets the InputStream of the referenced SpringResource- Returns:
- InputStream with the file that SpringResource points
- Throws:
IOException
-
isFromPlugin
boolean isFromPlugin()
Identifies if the resource we are fetching is from a plugin or not- Returns:
- true if the resource is being retrieved from a plugin
-
getPluginId
String getPluginId()
Gets the pluginId where the SpringResource is being retrieved- Returns:
- String with the pluginId
-
-