Package org.apache.wicket.util.resource
Interface IStringResourceStream
-
- All Superinterfaces:
AutoCloseable
,Closeable
,IClusterable
,IModifiable
,IResourceStream
,Serializable
- All Known Implementing Classes:
AbstractStringResourceStream
,CssTemplate
,JavaScriptTemplate
,PackageTextTemplate
,StringBufferResourceStream
,StringResourceStream
,TextTemplate
,TextTemplateDecorator
public interface IStringResourceStream extends IResourceStream
A resource that can be converted to a String representation, possibly using an explicit Charset.- Author:
- Jonathan Locke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
asString()
void
setCharset(Charset charset)
Sets the character set used for converting this resource to a String.-
Methods inherited from interface org.apache.wicket.util.watch.IModifiable
lastModifiedTime
-
Methods inherited from interface org.apache.wicket.util.resource.IResourceStream
close, getContentType, getInputStream, getLocale, getStyle, getVariation, length, setLocale, setStyle, setVariation
-
-
-
-
Method Detail
-
setCharset
void setCharset(Charset charset)
Sets the character set used for converting this resource to a String.- Parameters:
charset
- Charset for component
-
-