public class MaybeCompressedFileResource extends Object implements ReadableResource
| Constructor and Description |
|---|
MaybeCompressedFileResource(ReadableResource resource) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseName()
Short name that concisely describes this resource
|
String |
getDisplayName()
Human readable name of this resource
|
ReadableResource |
getResource() |
URI |
getURI()
Uniform resource identifier that uniquely describes this resource
|
InputStream |
read()
Returns an input stream that provides means to read the resource
|
public MaybeCompressedFileResource(ReadableResource resource)
public InputStream read() throws MissingResourceException
ReadableResourceread in interface ReadableResourceMissingResourceExceptionpublic ReadableResource getResource()
public String getDisplayName()
ResourcegetDisplayName in interface Resourcepublic URI getURI()
Resourcepublic String getBaseName()
ResourcegetBaseName in interface ResourceCopyright © 2013. All rights reserved