|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectwicket.util.resource.AbstractResourceStream
wicket.util.resource.AbstractStringResourceStream
wicket.util.resource.StringBufferResourceStream
A string resource that can be appended to.
| Constructor Summary | |
StringBufferResourceStream()
Constructor. |
|
StringBufferResourceStream(java.lang.String contentType)
Constructor. |
|
| Method Summary | |
void |
append(java.lang.String s)
Adds to this string buffer resource |
java.lang.String |
asString()
|
void |
clear()
Clears the string buffer resource. |
protected java.lang.String |
getString()
|
long |
length()
Gets the size of this resource |
void |
prepend(java.lang.String s)
Prepends to this string buffer resource |
| Methods inherited from class wicket.util.resource.AbstractStringResourceStream |
close, getContentType, getInputStream, lastModifiedTime, setLastModified |
| Methods inherited from class wicket.util.resource.AbstractResourceStream |
getCharset, setCharset |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StringBufferResourceStream()
public StringBufferResourceStream(java.lang.String contentType)
contentType - The mime type of this resource, such as "image/jpeg" or
"text/html"| Method Detail |
public void append(java.lang.String s)
s - The string to addpublic void prepend(java.lang.String s)
s - The string to prependpublic void clear()
protected java.lang.String getString()
getString in class AbstractStringResourceStreamAbstractStringResourceStream.getString()public java.lang.String asString()
asString in interface IStringResourceStreamasString in class AbstractResourceStreamAbstractResourceStream.asString()public long length()
IResourceStream
IResourceStream.length()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||