|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wicket.util.resource.AbstractResourceStream
public abstract class AbstractResourceStream
IResourceStream
,
Serialized FormConstructor Summary | |
---|---|
AbstractResourceStream()
|
Method Summary | |
---|---|
java.lang.String |
asString()
|
protected java.nio.charset.Charset |
getCharset()
|
java.util.Locale |
getLocale()
|
void |
setCharset(java.nio.charset.Charset charset)
Sets the character set used for reading this resource. |
void |
setLocale(java.util.Locale locale)
This method shouldn't be used for the outside, It is used by the Loaders to set the resolved locale. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface wicket.util.resource.IResourceStream |
---|
close, getContentType, getInputStream, length |
Methods inherited from interface wicket.util.watch.IModifiable |
---|
lastModifiedTime |
Constructor Detail |
---|
public AbstractResourceStream()
Method Detail |
---|
public void setCharset(java.nio.charset.Charset charset)
setCharset
in interface IStringResourceStream
charset
- Charset for componentpublic java.lang.String asString()
asString
in interface IStringResourceStream
protected java.nio.charset.Charset getCharset()
public java.util.Locale getLocale()
getLocale
in interface IResourceStream
IResourceStream.getLocale()
public void setLocale(java.util.Locale locale)
IResourceStream
setLocale
in interface IResourceStream
locale
- The Locale where this stream did resolve to.IResourceStream.setLocale(java.util.Locale)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |