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