source: proiecte/HadoopJUnit/hadoop-0.20.1/src/core/org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.java @ 120

Last change on this file since 120 was 120, checked in by (none), 14 years ago

Added the mail files for the Hadoop JUNit Project

  • Property svn:executable set to *
File size: 1.0 KB
Line 
1package org.apache.hadoop.io.compress.bzip2;
2
3import java.io.IOException;
4
5import org.apache.hadoop.io.compress.Decompressor;
6
7/**
8 * This is a dummy decompressor for BZip2.
9 */
10public class BZip2DummyDecompressor implements Decompressor {
11
12  @Override
13  public int decompress(byte[] b, int off, int len) throws IOException {
14    throw new UnsupportedOperationException();
15  }
16
17  @Override
18  public void end() {
19    throw new UnsupportedOperationException();
20  }
21
22  @Override
23  public boolean finished() {
24    throw new UnsupportedOperationException();
25  }
26
27  @Override
28  public boolean needsDictionary() {
29    throw new UnsupportedOperationException();
30  }
31
32  @Override
33  public boolean needsInput() {
34    throw new UnsupportedOperationException();
35  }
36
37  @Override
38  public void reset() {
39    // do nothing
40  }
41
42  @Override
43  public void setDictionary(byte[] b, int off, int len) {
44    throw new UnsupportedOperationException();
45  }
46
47  @Override
48  public void setInput(byte[] b, int off, int len) {
49    throw new UnsupportedOperationException();
50  }
51
52}
Note: See TracBrowser for help on using the repository browser.