org.eclipse.osgi.framework.internal.core
Class ReferenceInputStream
java.lang.Object
java.io.InputStream
org.eclipse.osgi.framework.internal.core.ReferenceInputStream
- All Implemented Interfaces:
- Closeable
public class ReferenceInputStream
- extends InputStream
InputStream subclass which provides a reference (via URL) to the data
rather than allowing the input stream to be directly read.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reference
protected URL reference
ReferenceInputStream
public ReferenceInputStream(URL reference)
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
getReference
public URL getReference()
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.