Name
SharedInputStream
Synopsis
This interface represents an input stream that backs up to data that can be
shared by multiple users. Streams created via the
newStream()
method access the same data as the main
stream, rather than a copy.
public interface SharedInputStream { // Public Instance Methods public abstract long getPosition(); public abstract java.io.InputStream newStream(long start, long end); }
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.