Permalink
Browse files

review comments : restore the old constructor for LzoOutputStream.

  • Loading branch information...
Raghu Angadi
Raghu Angadi committed Jul 27, 2011
1 parent f011c24 commit e8c4f2bf2bef2311e1252190fcbc16288ff13d6b
@@ -57,7 +57,7 @@ public CompressionOutputStream createIndexedOutputStream(OutputStream out,
@Override
public CompressionOutputStream createOutputStream(OutputStream out,
- Compressor compressor) throws IOException {
+ Compressor compressor) throws IOException {
return createIndexedOutputStream(out, null, compressor);
}
@@ -76,6 +76,12 @@ protected static void writeLzopHeader(OutputStream out,
}
}
+ public LzopOutputStream(OutputStream out, Compressor compressor,
+ int bufferSize, LzoCompressor.CompressionStrategy strategy)
+ throws IOException {
+ this(out, null, compressor, bufferSize, strategy);
+ }
+
public LzopOutputStream(OutputStream out, DataOutputStream indexOut,
Compressor compressor, int bufferSize,
LzoCompressor.CompressionStrategy strategy)

0 comments on commit e8c4f2b

Please sign in to comment.