public abstract class AbstractResourceStream extends Object implements IResourceStream
IResourceStream,
Serialized Form| Constructor and Description |
|---|
AbstractResourceStream() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
Gets the mime type of this resource
|
Locale |
getLocale() |
String |
getStyle() |
String |
getVariation() |
Time |
lastModifiedTime()
Gets the last time this modifiable thing changed.
|
Bytes |
length()
Gets the size of this resource
|
void |
setLocale(Locale locale)
This method shouldn't be used from the outside.
|
void |
setStyle(String style)
This method shouldn't be used from the outside.
|
void |
setVariation(String variation)
This method shouldn't be used from the outside.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getInputStreampublic Locale getLocale()
getLocale in interface IResourceStreampublic void setLocale(Locale locale)
IResourceStreamsetLocale in interface IResourceStreamlocale - The Locale where this stream did resolve to.public String getStyle()
getStyle in interface IResourceStreampublic String getVariation()
getVariation in interface IResourceStreampublic void setStyle(String style)
IResourceStreamsetStyle in interface IResourceStreamstyle - The style where this stream did resolve to.public void setVariation(String variation)
IResourceStreamsetVariation in interface IResourceStreamvariation - The Variation where this stream did resolve to.public Bytes length()
IResourceStreamlength in interface IResourceStreamnull if unknownpublic String getContentType()
IResourceStreamgetContentType in interface IResourceStreampublic Time lastModifiedTime()
IModifiablelastModifiedTime in interface IModifiableTime or
null if that information is not availableCopyright © 2006–2015 Apache Software Foundation. All rights reserved.