Class ResourceHelper
java.lang.Object
org.eclipse.ease.lang.python.debugger.ResourceHelper
public class ResourceHelper extends Object
-
Constructor Summary
Constructors Constructor Description ResourceHelper() -
Method Summary
Modifier and Type Method Description static InputStreamgetResourceStream(String bundle, String path)Returns anInputStreamfor a given resource within a bundle.
-
Constructor Details
-
ResourceHelper
public ResourceHelper()
-
-
Method Details
-
getResourceStream
Returns anInputStreamfor a given resource within a bundle.- Parameters:
bundle- qualified name of the bundle to resolvepath- full path of the file to load- Returns:
- input stream to resource
- Throws:
IOException- on access errors on the resource
-