Module org.apache.wicket.util
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
A resource that can be converted to a String representation, possibly using an explicit Charset.
- Author:
- Jonathan Locke
-
Method Summary
Modifier and TypeMethodDescriptionasString()
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 Details
-
setCharset
Sets the character set used for converting this resource to a String.- Parameters:
charset
- Charset for component
-
asString
- Returns:
- This resource as a String.
-