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
- Throws:
Exception
decorate
public OutputStream decorate(OutputStream out)
throws Exception
- Description copied from interface:
StreamDecorator
- Decorate the given stream.
- Specified by:
decorate
in interface StreamDecorator
- Throws:
Exception
Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.