|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.resource.AbstractResourceStream
public abstract class AbstractResourceStream
IResourceStream,
Serialized Form| Constructor Summary | |
|---|---|
AbstractResourceStream()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.wicket.util.resource.IResourceStream |
|---|
close, getInputStream |
| Constructor Detail |
|---|
public AbstractResourceStream()
| Method Detail |
|---|
public Locale getLocale()
getLocale in interface IResourceStreampublic void setLocale(Locale locale)
IResourceStream
setLocale 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)
IResourceStream
setStyle in interface IResourceStreamstyle - The style where this stream did resolve to.public void setVariation(String variation)
IResourceStream
setVariation in interface IResourceStreamvariation - The Variation where this stream did resolve to.public Bytes length()
IResourceStream
length in interface IResourceStreamnull if unknownpublic String getContentType()
IResourceStream
getContentType in interface IResourceStreamResourceStreamRequestHandler handle the Content-Type automaticallyWebResponse#detectContentType(org.apache.wicket.RequestCycle, String)public Time lastModifiedTime()
IModifiable
lastModifiedTime in interface IModifiableTime
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||