Package wicket.contrib.tinymce4.image
Class FileResourceStream
- java.lang.Object
-
- org.apache.wicket.util.resource.AbstractResourceStream
-
- wicket.contrib.tinymce4.image.FileResourceStream
-
- All Implemented Interfaces:
Closeable,Serializable,AutoCloseable,IClusterable,IResourceStream,IModifiable
public class FileResourceStream extends AbstractResourceStream
Resource stream for images.- Author:
- Michal Letynski
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileResourceStream(String pContentType, InputStream pInputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()StringgetContentType()InputStreamgetInputStream()-
Methods inherited from class org.apache.wicket.util.resource.AbstractResourceStream
getLocale, getStyle, getVariation, lastModifiedTime, length, setLocale, setStyle, setVariation
-
-
-
-
Constructor Detail
-
FileResourceStream
public FileResourceStream(String pContentType, InputStream pInputStream)
-
-
Method Detail
-
getContentType
public String getContentType()
- Specified by:
getContentTypein interfaceIResourceStream- Overrides:
getContentTypein classAbstractResourceStream
-
getInputStream
public InputStream getInputStream() throws ResourceStreamNotFoundException
- Throws:
ResourceStreamNotFoundException
-
close
public void close() throws IOException- Throws:
IOException
-
-