org.eclipse.net4j.util.io
Class GZIPStreamWrapper

java.lang.Object
  extended by org.eclipse.net4j.util.io.GZIPStreamWrapper
All Implemented Interfaces:
IStreamWrapper

public class GZIPStreamWrapper
extends java.lang.Object
implements IStreamWrapper


Constructor Summary
GZIPStreamWrapper()
           
 
Method Summary
 void finishInputStream(java.io.InputStream in)
           
 void finishOutputStream(java.io.OutputStream out)
           
static void main(java.lang.String[] args)
          TODO Move or remove me
 java.util.zip.GZIPInputStream wrapInputStream(java.io.InputStream in)
           
 java.util.zip.GZIPOutputStream wrapOutputStream(java.io.OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GZIPStreamWrapper

public GZIPStreamWrapper()
Method Detail

wrapInputStream

public java.util.zip.GZIPInputStream wrapInputStream(java.io.InputStream in)
                                              throws java.io.IOException
Specified by:
wrapInputStream in interface IStreamWrapper
Throws:
java.io.IOException

wrapOutputStream

public java.util.zip.GZIPOutputStream wrapOutputStream(java.io.OutputStream out)
                                                throws java.io.IOException
Specified by:
wrapOutputStream in interface IStreamWrapper
Throws:
java.io.IOException

finishInputStream

public void finishInputStream(java.io.InputStream in)
                       throws java.io.IOException
Specified by:
finishInputStream in interface IStreamWrapper
Throws:
java.io.IOException

finishOutputStream

public void finishOutputStream(java.io.OutputStream out)
                        throws java.io.IOException
Specified by:
finishOutputStream in interface IStreamWrapper
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
TODO Move or remove me

Throws:
java.lang.Exception

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.