CompressedOutputStream.java

Go to the documentation of this file.
00001 package edu.rice.cs.hpc.traceviewer.db.remote;
00002 
00003 import java.io.DataOutputStream;
00004 import java.io.IOException;
00005 import java.util.zip.GZIPOutputStream;
00006 
00015 public class CompressedOutputStream extends DataOutputStream {
00016 
00017     GZIPOutputStream outStr;
00018 
00019     public CompressedOutputStream(GZIPOutputStream _outStr) {
00020         super(_outStr);
00021         outStr = _outStr;
00022     }
00023 
00024     @Override
00025     public void flush() throws IOException {
00026         
00027         outStr.finish();
00028         super.flush();
00029         System.out.println("Comp OS Flushed");
00030     }
00031 
00032 }

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1