public class GZIPReadableResource extends AbstractWrappedReadableResource
| Constructor and Description |
|---|
GZIPReadableResource(IReadableResource aBaseResource) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
Get the input stream to read from the object.
|
GZIPReadableResource |
getReadableCloneForPath(String sPath)
Get a new resource of the same implementation type as this object but for a
different path.
|
exists, getAsFile, getAsURL, getBaseResource, getPath, getResourceID, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetReaderpublic GZIPReadableResource(@Nonnull IReadableResource aBaseResource)
@Nullable public InputStream getInputStream()
IHasInputStreamInputStream needs to be created!null if resolving failed.@Nonnull public GZIPReadableResource getReadableCloneForPath(@Nonnull String sPath)
IReadableResourcesPath - The new path to use. May not be null.null.Copyright © 2014–2017 Philip Helger. All rights reserved.