Package com.helger.io.resource.wrapped
Class GZIPWritableResource
java.lang.Object
com.helger.io.resource.wrapped.AbstractWrappedWritableResource
com.helger.io.resource.wrapped.GZIPWritableResource
- All Implemented Interfaces:
com.helger.base.io.iface.IHasOutputStream,com.helger.base.io.iface.IHasOutputStreamAndWriter,IResourceBase,IWritableResource,IWrappedWritableResource
A writable resource that is GZIP compressed.
- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable OutputStreamgetOutputStream(@NonNull com.helger.base.io.EAppend eAppend) @NonNull GZIPWritableResourcegetWritableCloneForPath(@NonNull 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.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.base.io.iface.IHasOutputStream
getBufferedOutputStreamMethods inherited from interface com.helger.base.io.iface.IHasOutputStreamAndWriter
getBufferedWriter, getWriterMethods inherited from interface com.helger.io.resource.wrapped.IWrappedWritableResource
isWriteMultiple
-
Constructor Details
-
GZIPWritableResource
Constructor.- Parameters:
aBaseResource- The base writable resource to wrap. May not benull.
-
-
Method Details
-
getOutputStream
-
getWritableCloneForPath
Get 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.
-