Package org.wicketstuff.poi.excel
Class XlsStream
- java.lang.Object
-
- org.apache.wicket.util.resource.AbstractResourceStream
-
- org.wicketstuff.poi.excel.XlsStream
-
- All Implemented Interfaces:
Closeable,Serializable,AutoCloseable,IClusterable,IResourceStream,IModifiable
public class XlsStream extends AbstractResourceStream
The XLS file resource for the specifiedWorkbook- Author:
- Pedro Santos
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XlsStream(org.apache.poi.ss.usermodel.Workbook wb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()StringgetContentType()InputStreamgetInputStream()InstantlastModifiedTime()-
Methods inherited from class org.apache.wicket.util.resource.AbstractResourceStream
getLocale, getStyle, getVariation, length, setLocale, setStyle, setVariation
-
-
-
-
Method Detail
-
getInputStream
public InputStream getInputStream() throws ResourceStreamNotFoundException
- Throws:
ResourceStreamNotFoundException
-
close
public void close() throws IOException- Throws:
IOException
-
getContentType
public String getContentType()
- Specified by:
getContentTypein interfaceIResourceStream- Overrides:
getContentTypein classAbstractResourceStream
-
lastModifiedTime
public Instant lastModifiedTime()
- Specified by:
lastModifiedTimein interfaceIModifiable- Overrides:
lastModifiedTimein classAbstractResourceStream
-
-