wicket.util.resource
Interface IStringResourceStream

All Superinterfaces:
IModifiable, IResourceStream, java.io.Serializable
All Known Implementing Classes:
AbstractResourceStream

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
 java.lang.String asString()
           
 void setCharset(java.nio.charset.Charset charset)
          Sets the character set used for converting this resource to a String.
 
Methods inherited from interface wicket.util.resource.IResourceStream
close, getContentType, getInputStream, length
 
Methods inherited from interface wicket.util.watch.IModifiable
lastModifiedTime
 

Method Detail

setCharset

public void setCharset(java.nio.charset.Charset charset)
Sets the character set used for converting this resource to a String.

Parameters:
charset - Charset for component

asString

public java.lang.String asString()
Returns:
This resource as a String.


Copyright © 2004-2005 Wicket developers. All Rights Reserved.