Package org.pentaho.platform.api.util
Interface IWadlDocumentResource
public interface IWadlDocumentResource
Exposes a SpringResource Interface to access wadl extension files
-
Method Summary
Modifier and TypeMethodDescriptionGets the pluginId where the SpringResource is being retrievedGets the InputStream of the referenced SpringResourceboolean
Identifies if the resource we are fetching is from a plugin or not
-
Method Details
-
getResourceAsStream
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
-