Package com.streambase.sb.operator
Interface IResourceReader
public interface IResourceReader
Resource reader
-
Method Summary
Modifier and TypeMethodDescriptionGet data directorygetResourceContents
(String name) Read resource contentsgetResourceFile
(String name) Get resource file
-
Method Details
-
getResourceContents
Read resource contents- Parameters:
name
- resource name- Returns:
- input stream to contents
- Throws:
ResourceNotFoundException
- resource not foundStreamBaseException
- error reading resource
-
getResourceFile
Get resource file- Parameters:
name
- resource name- Returns:
- resource file
- Throws:
ResourceNotFoundException
- resource not foundStreamBaseException
- error reading resource
-
getDataDirectory
Get data directory- Returns:
- directory
- Throws:
IOException
- error getting directory
-