Package com.helger.io.resource.wrapped
Class GZIPReadableResource
java.lang.Object
com.helger.io.resource.wrapped.AbstractWrappedReadableResource
com.helger.io.resource.wrapped.GZIPReadableResource
- All Implemented Interfaces:
com.helger.base.io.iface.IHasInputStream,com.helger.base.io.iface.IHasInputStreamAndReader,IReadableResource,IResourceBase,IWrappedReadableResource
A readable resource that is GZIP compressed.
- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable InputStream@NonNull GZIPReadableResourcegetReadableCloneForPath(@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.AbstractWrappedReadableResource
exists, getAsFile, getAsURL, getPath, getResourceID, getWrappedReadableResource, 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.IHasInputStream
getBufferedInputStream, withBufferedInputStreamDo, withInputStreamDoMethods inherited from interface com.helger.base.io.iface.IHasInputStreamAndReader
getBufferedReader, getReaderMethods inherited from interface com.helger.io.resource.wrapped.IWrappedReadableResource
isReadMultiple
-
Constructor Details
-
GZIPReadableResource
Constructor.- Parameters:
aBaseResource- The base readable resource to wrap. May not benull.
-
-
Method Details
-
getInputStream
-
getReadableCloneForPath
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.
-