com.solarmetric.remote
Class GZIPStreamDecorator
java.lang.Object
|
+--com.solarmetric.remote.GZIPStreamDecorator
- All Implemented Interfaces:
- StreamDecorator
- public class GZIPStreamDecorator
- extends Object
- implements StreamDecorator
Adds GZIP compression to IO streams.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GZIPStreamDecorator
public GZIPStreamDecorator()
decorate
public InputStream decorate(InputStream in)
throws Exception
- Description copied from interface:
StreamDecorator
- Decorate the given stream.
- Specified by:
decorate
in interface StreamDecorator
decorate
public OutputStream decorate(OutputStream out)
throws Exception
- Description copied from interface:
StreamDecorator
- Decorate the given stream.
- Specified by:
decorate
in interface StreamDecorator
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.