Class CustomCompressor
- java.lang.Object
-
- com.sfu_3dlg_hcvc.multiscan.a3dscannerapp.fio.CustomCompressor
-
public class CustomCompressor extends java.lang.Object
Compressor that will convert a file into a compressed file using a Deflater
-
-
Constructor Summary
Constructors Constructor Description CustomCompressor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
compressFile(java.io.File raw, java.io.File compressed)
private static void
shovelInToOut(java.io.InputStream in, java.io.OutputStream out)
-
-
-
Method Detail
-
compressFile
public static void compressFile(java.io.File raw, java.io.File compressed) throws java.io.IOException
- Throws:
java.io.IOException
-
shovelInToOut
private static void shovelInToOut(java.io.InputStream in, java.io.OutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
-