Package org.eclipse.rap.rwt.service
Interface ResourceLoader
-
public interface ResourceLoaderA resource loader is used to load the contents of a named resource.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.InputStreamgetResourceAsStream(java.lang.String resourceName)Returns an input stream to the resource contents.
-
-
-
Method Detail
-
getResourceAsStream
java.io.InputStream getResourceAsStream(java.lang.String resourceName) throws java.io.IOExceptionReturns an input stream to the resource contents.- Parameters:
a- name to identify the resource- Returns:
- an input stream or
nullif the resource could not be found - Throws:
java.io.IOException
-
-