de.schlichtherle.truezip.socket
Class ConcurrentInputShop.ConcurrentInputStream
java.lang.Object
java.io.InputStream
de.schlichtherle.truezip.io.DecoratingInputStream
de.schlichtherle.truezip.socket.ConcurrentInputShop.ConcurrentInputStream
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- ConcurrentInputShop<E extends Entry>
@NotThreadSafe
private final class ConcurrentInputShop.ConcurrentInputStream
- extends DecoratingInputStream
ConcurrentInputShop.ConcurrentInputStream
ConcurrentInputShop.ConcurrentInputStream(InputStream in)
read
public int read()
throws IOException
- Overrides:
read in class DecoratingInputStream
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read in class DecoratingInputStream
- Throws:
IOException
skip
public long skip(long n)
throws IOException
- Overrides:
skip in class DecoratingInputStream
- Throws:
IOException
available
public int available()
throws IOException
- Overrides:
available in class DecoratingInputStream
- Throws:
IOException
mark
public void mark(int readlimit)
- Overrides:
mark in class DecoratingInputStream
reset
public void reset()
throws IOException
- Overrides:
reset in class DecoratingInputStream
- Throws:
IOException
markSupported
public boolean markSupported()
- Overrides:
markSupported in class DecoratingInputStream
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class DecoratingInputStream
- Throws:
IOException
finalize
protected void finalize()
throws Throwable
- The finalizer in this class forces this input stream to close.
This ensures that an input target can be updated although the
client application may have "forgot" to close this instance before.
- Overrides:
finalize in class Object
- Throws:
Throwable
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.