wicket.contrib.tinymce.image
Class FileResourceStream
java.lang.Object
org.apache.wicket.util.resource.AbstractResourceStream
wicket.contrib.tinymce.image.FileResourceStream
- All Implemented Interfaces:
- Closeable, Serializable, org.apache.wicket.IClusterable, org.apache.wicket.util.resource.IResourceStream, org.apache.wicket.util.resource.IStringResourceStream, org.apache.wicket.util.watch.IModifiable
public class FileResourceStream
- extends org.apache.wicket.util.resource.AbstractResourceStream
Resource stream for images.
- Author:
- Michal Letynski
- See Also:
- Serialized Form
| Methods inherited from class org.apache.wicket.util.resource.AbstractResourceStream |
asString, getCharset, getLocale, lastModifiedTime, length, setCharset, setLocale |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileResourceStream
public FileResourceStream(String pContentType,
InputStream pInputStream)
getContentType
public String getContentType()
- Specified by:
getContentType in interface org.apache.wicket.util.resource.IResourceStream- Overrides:
getContentType in class org.apache.wicket.util.resource.AbstractResourceStream
getInputStream
public InputStream getInputStream()
throws org.apache.wicket.util.resource.ResourceStreamNotFoundException
-
- Throws:
org.apache.wicket.util.resource.ResourceStreamNotFoundException
close
public void close()
throws IOException
-
- Throws:
IOException
Copyright © 2004-2012. All Rights Reserved.