~ubuntu-branches/ubuntu/utopic/libcommons-compress-java/utopic

« back to all changes in this revision

Viewing changes to src/main/java/org/apache/commons/compress/compressors/xz/XZCompressorInputStream.java

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg
  • Date: 2013-11-02 13:55:47 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20131102135547-nhcubj3ae7rv6t13
Tags: 1.6-1
* New upstream release
* Updated Standards-Version to 3.9.5 (no changes)
* Build depend on debhelper >= 9
* Removed the unused debian/orig-tar.sh script

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
/**
30
30
 * XZ decompressor.
31
 
 * @since Commons Compress 1.4
 
31
 * @since 1.4
32
32
 */
33
33
public class XZCompressorInputStream extends CompressorInputStream {
34
34
    private final InputStream in;
99
99
        }
100
100
    }
101
101
 
102
 
    /** {@inheritDoc} */
103
102
    @Override
104
103
    public int read() throws IOException {
105
104
        int ret = in.read();
107
106
        return ret;
108
107
    }
109
108
 
110
 
    /** {@inheritDoc} */
111
109
    @Override
112
110
    public int read(byte[] buf, int off, int len) throws IOException {
113
111
        int ret = in.read(buf, off, len);
115
113
        return ret;
116
114
    }
117
115
 
118
 
    /** {@inheritDoc} */
119
116
    @Override
120
117
    public long skip(long n) throws IOException {
121
118
        return in.skip(n);
122
119
    }
123
120
 
124
 
    /** {@inheritDoc} */
125
121
    @Override
126
122
    public int available() throws IOException {
127
123
        return in.available();
128
124
    }
129
125
 
130
 
    /** {@inheritDoc} */
131
126
    @Override
132
127
    public void close() throws IOException {
133
128
        in.close();