public void finish() throws IOException { if (needsReset) { // In the case that nothing is written to this stream, we still need to // write out the header before closing, otherwise the stream won't be // recognized by BZip2CompressionInputStream. internalReset(); } this.output.finish(); needsReset = true; }
public void write(byte[] b, int off, int len) throws IOException { if (needsReset) { internalReset(); } this.output.write(b, off, len); }
public void write(int b) throws IOException { if (needsReset) { internalReset(); } this.output.write(b); }
public void finish() throws IOException { if (needsReset) { // In the case that nothing is written to this stream, we still need to // write out the header before closing, otherwise the stream won't be // recognized by BZip2CompressionInputStream. internalReset(); } this.output.finish(); needsReset = true; }
public void write(byte[] b, int off, int len) throws IOException { if (needsReset) { internalReset(); } this.output.write(b, off, len); }
public void write(byte[] b, int off, int len) throws IOException { if (needsReset) { internalReset(); } this.output.write(b, off, len); }
public void write(byte[] b, int off, int len) throws IOException { if (needsReset) { internalReset(); } this.output.write(b, off, len); }
public void write(int b) throws IOException { if (needsReset) { internalReset(); } this.output.write(b); }
public void close() throws IOException { if (needsReset) { // In the case that nothing is written to this stream, we still need to // write out the header before closing, otherwise the stream won't be // recognized by BZip2CompressionInputStream. internalReset(); } this.output.flush(); this.output.close(); needsReset = true; }
public void write(int b) throws IOException { if (needsReset) { internalReset(); } this.output.write(b); }
public void write(int b) throws IOException { if (needsReset) { internalReset(); } this.output.write(b); }
public void close() throws IOException { if (needsReset) { // In the case that nothing is written to this stream, we still need to // write out the header before closing, otherwise the stream won't be // recognized by BZip2CompressionInputStream. internalReset(); } this.output.flush(); this.output.close(); needsReset = true; }
public void finish() throws IOException { if (needsReset) { // In the case that nothing is written to this stream, we still need to // write out the header before closing, otherwise the stream won't be // recognized by BZip2CompressionInputStream. internalReset(); } this.output.finish(); needsReset = true; }
public void write(int b) throws IOException { if (needsReset) { internalReset(); } this.output.write(b); }
public void write(byte[] b, int off, int len) throws IOException { if (needsReset) { internalReset(); } this.output.write(b, off, len); }
public void write(int b) throws IOException { if (needsReset) { internalReset(); } this.output.write(b); }
public void write(byte[] b, int off, int len) throws IOException { if (needsReset) { internalReset(); } this.output.write(b, off, len); }
public void write(byte[] b, int off, int len) throws IOException { if (needsReset) { internalReset(); } this.output.write(b, off, len); }
public void write(int b) throws IOException { if (needsReset) { internalReset(); } this.output.write(b); }
public void finish() throws IOException { if (needsReset) { // In the case that nothing is written to this stream, we still need to // write out the header before closing, otherwise the stream won't be // recognized by BZip2CompressionInputStream. internalReset(); } this.output.finish(); needsReset = true; }