|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.util.resource.AbstractResourceStream
public abstract class AbstractResourceStream
IResourceStream
,
Serialized FormConstructor Summary | |
---|---|
AbstractResourceStream()
|
Method Summary | |
---|---|
java.lang.String |
getContentType()
Gets the mime type of this resource |
java.util.Locale |
getLocale()
|
java.lang.String |
getStyle()
|
java.lang.String |
getVariation()
|
Time |
lastModifiedTime()
Gets the last time this modifiable thing changed. |
Bytes |
length()
Gets the size of this resource |
void |
setLocale(java.util.Locale locale)
This method shouldn't be used from the outside. |
void |
setStyle(java.lang.String style)
This method shouldn't be used from the outside. |
void |
setVariation(java.lang.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 java.util.Locale getLocale()
getLocale
in interface IResourceStream
public void setLocale(java.util.Locale locale)
IResourceStream
setLocale
in interface IResourceStream
locale
- The Locale where this stream did resolve to.public java.lang.String getStyle()
getStyle
in interface IResourceStream
public java.lang.String getVariation()
getVariation
in interface IResourceStream
public void setStyle(java.lang.String style)
IResourceStream
setStyle
in interface IResourceStream
style
- The style where this stream did resolve to.public void setVariation(java.lang.String variation)
IResourceStream
setVariation
in interface IResourceStream
variation
- The Variation where this stream did resolve to.public Bytes length()
IResourceStream
length
in interface IResourceStream
null
if unknownpublic java.lang.String getContentType()
IResourceStream
getContentType
in interface IResourceStream
ResourceStreamRequestHandler
handle the Content-Type automaticallyWebResponse#detectContentType(org.apache.wicket.RequestCycle, String)
public Time lastModifiedTime()
IModifiable
lastModifiedTime
in interface IModifiable
Time
or
null
if that information is not available
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |