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,StringBufferResourceStream,StringResourceStream
A resource that can be converted to a String representation, possibly using an explicit Charset.
- Author:
- Jonathan Locke
-
Method Summary
Modifier and TypeMethodDescriptionasString()voidsetCharset(Charset charset) Sets the character set used for converting this resource to a String.Methods inherited from interface org.apache.wicket.util.watch.IModifiable
lastModifiedTimeMethods 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.
-