|
||||||||||
| 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
public abstract class AbstractStringResourceStream
Base class for string resources.
| Constructor Summary | |
|---|---|
AbstractStringResourceStream()
Constructor. |
|
AbstractStringResourceStream(java.lang.String contentType)
Constructor. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the resource. |
java.lang.String |
getContentType()
Gets the mime type of this resource |
java.io.InputStream |
getInputStream()
Gets the resource stream. |
protected abstract java.lang.String |
getString()
|
Time |
lastModifiedTime()
Gets the last time this modifiable thing changed. |
void |
setLastModified(Time lastModified)
|
| Methods inherited from class 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 |
| Methods inherited from interface wicket.util.resource.IResourceStream |
|---|
length |
| Constructor Detail |
|---|
public AbstractStringResourceStream()
public AbstractStringResourceStream(java.lang.String contentType)
contentType - The mime type of this resource, such as "image/jpeg" or
"text/html"| Method Detail |
|---|
public void close()
throws java.io.IOException
IResourceStream
java.io.IOExceptionIResourceStream.close()public java.lang.String getContentType()
IResourceStream
IResourceStream.getContentType()
public java.io.InputStream getInputStream()
throws ResourceStreamNotFoundException
IResourceStream
ResourceStreamNotFoundExceptionIResourceStream.getInputStream()public Time lastModifiedTime()
IModifiable
IModifiable.lastModifiedTime()public void setLastModified(Time lastModified)
lastModified - The lastModified to set.protected abstract java.lang.String getString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||