Class GZIPWritableResource
java.lang.Object
com.helger.commons.io.resource.wrapped.AbstractWrappedWritableResource
com.helger.commons.io.resource.wrapped.GZIPWritableResource
- All Implemented Interfaces:
IHasOutputStream,IHasOutputStreamAndWriter,IResourceBase,IWritableResource,IWrappedWritableResource
A writable resource that is GZIP compressed.
- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOutputStream(EAppend eAppend) Get the output stream to read from the object.getWritableCloneForPath(String sPath) Get a new resource of the same implementation type as this object but for a different path.Methods inherited from class com.helger.commons.io.resource.wrapped.AbstractWrappedWritableResource
exists, getAsFile, getAsURL, getPath, getResourceID, getWrappedWritableResource, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.commons.io.IHasOutputStream
getBufferedOutputStreamMethods inherited from interface com.helger.commons.io.IHasOutputStreamAndWriter
getBufferedWriter, getWriterMethods inherited from interface com.helger.commons.io.resource.wrapped.IWrappedWritableResource
isWriteMultiple
-
Constructor Details
-
GZIPWritableResource
-
-
Method Details
-
getOutputStream
Description copied from interface:IHasOutputStreamGet the output stream to read from the object. Each time this method is call, a newOutputStreamneeds to be created!- Parameters:
eAppend- appending mode. May not benull.- Returns:
nullif resolving failed.
-
getWritableCloneForPath
Description copied from interface:IWritableResourceGet a new resource of the same implementation type as this object but for a different path.- Parameters:
sPath- The new path to use. May not benull.- Returns:
- The resource of the same implementation but a different path. May
not be
null.
-