@Override public void close() throws IOException { if (closed.compareAndSet(false, true)) { try { originalStream.close(); } catch (IOException e) { handleIOException(e); } finally { fs.unregisterInputStream(this); } } }
@Override public int read(byte[] b, int off, int len) throws IOException { try { return originalStream.read(b, off, len); } catch (IOException e) { handleIOException(e); return 0; // silence the compiler } }
@Override public void seek(long desired) throws IOException { try { originalStream.seek(desired); } catch (IOException e) { handleIOException(e); } }
@Override public void seek(long desired) throws IOException { try { originalStream.seek(desired); } catch (IOException e) { handleIOException(e); } }
@Override public void reset() throws IOException { try { originalStream.reset(); } catch (IOException e) { handleIOException(e); } }
@Override public int available() throws IOException { try { return originalStream.available(); } catch (IOException e) { handleIOException(e); return 0; // silence the compiler } }
@Override public long getPos() throws IOException { try { return originalStream.getPos(); } catch (IOException e) { handleIOException(e); return 0; // silence the compiler } }
@Override public int available() throws IOException { try { return originalStream.available(); } catch (IOException e) { handleIOException(e); return 0; // silence the compiler } }
@Override public int read() throws IOException { try { return originalStream.read(); } catch (IOException e) { handleIOException(e); return 0; // silence the compiler } }
@Override public int read(byte[] b, int off, int len) throws IOException { try { return originalStream.read(b, off, len); } catch (IOException e) { handleIOException(e); return 0; // silence the compiler } }
@Override public long getPos() throws IOException { try { return originalStream.getPos(); } catch (IOException e) { handleIOException(e); return 0; // silence the compiler } }
@Override public long skip(long n) throws IOException { try { return originalStream.skip(n); } catch (IOException e) { handleIOException(e); return 0L; // silence the compiler } }
@Override public void seek(long desired) throws IOException { try { originalStream.seek(desired); } catch (IOException e) { handleIOException(e); } }
@Override public int read(byte[] b, int off, int len) throws IOException { try { return originalStream.read(b, off, len); } catch (IOException e) { handleIOException(e); return 0; // silence the compiler } }
@Override public int read(byte[] b) throws IOException { try { return originalStream.read(b); } catch (IOException e) { handleIOException(e); return 0; // silence the compiler } }
@Override public long getPos() throws IOException { try { return originalStream.getPos(); } catch (IOException e) { handleIOException(e); return 0; // silence the compiler } }
@Override public void reset() throws IOException { try { originalStream.reset(); } catch (IOException e) { handleIOException(e); } }
@Override public int read() throws IOException { try { return originalStream.read(); } catch (IOException e) { handleIOException(e); return 0; // silence the compiler } }
@Override public int available() throws IOException { try { return originalStream.available(); } catch (IOException e) { handleIOException(e); return 0; // silence the compiler } }
@Override public long skip(long n) throws IOException { try { return originalStream.skip(n); } catch (IOException e) { handleIOException(e); return 0L; // silence the compiler } }