- public InputStream getInputStream( ) throws IOException {
- InputStream stream = Thread.currentThread( ).getContextClassLoader( )
- .getResourceAsStream( _resource );
- if ( stream == null ) {
- throw new IOException("Class path resource '" + _resource + "' not found.");
+ public InputStream getInputStream() throws IOException {
+ InputStream stream = Thread.currentThread().getContextClassLoader()
+ .getResourceAsStream(_resource);
+ if (stream == null) {
+ throw new IOException("Class path resource '" + _resource
+ + "' not found.");