X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=support%2Fsrc%2Forg%2Fwamblee%2Fio%2FStreamResource.java;h=11f815c45c7a4b99eaccfdf835b9a5ec4554ef32;hb=14df90d103ad9292137c4a250a01a257c2a3fe17;hp=e2feb53489f572912d82e9a09a341f43350a0043;hpb=caa126385642ffc57478e928ab871bc09c53e993;p=utils diff --git a/support/src/org/wamblee/io/StreamResource.java b/support/src/org/wamblee/io/StreamResource.java index e2feb534..11f815c4 100644 --- a/support/src/org/wamblee/io/StreamResource.java +++ b/support/src/org/wamblee/io/StreamResource.java @@ -12,13 +12,12 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ + */ package org.wamblee.io; import java.io.IOException; import java.io.InputStream; - /** * Input resource based on an input stream. */ @@ -30,16 +29,20 @@ public class StreamResource implements InputResource { /** * Constructs a resource. - * @param aStream Input stream to read. + * + * @param aStream + * Input stream to read. */ - public StreamResource( InputStream aStream ) { + public StreamResource(InputStream aStream) { _stream = aStream; } - /** (non-Javadoc) + /* + * (non-Javadoc) + * * @see InputResource#getInputStream() */ - public InputStream getInputStream( ) throws IOException { + public InputStream getInputStream() throws IOException { return _stream; } }