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, IClusterable, IResourceStream, IModifiable
public class XlsStream
- extends AbstractResourceStream
The XLS file resource for the specified Workbook
- Author:
- Pedro Santos
- See Also:
- Serialized Form
|
Constructor Summary |
XlsStream(org.apache.poi.ss.usermodel.Workbook wb)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XlsStream
public XlsStream(org.apache.poi.ss.usermodel.Workbook wb)
getInputStream
public InputStream getInputStream()
throws ResourceStreamNotFoundException
- Throws:
ResourceStreamNotFoundException
close
public void close()
throws IOException
- Throws:
IOException
getContentType
public String getContentType()
- Specified by:
getContentType in interface IResourceStream- Overrides:
getContentType in class AbstractResourceStream
lastModifiedTime
public Time lastModifiedTime()
- Specified by:
lastModifiedTime in interface IModifiable- Overrides:
lastModifiedTime in class AbstractResourceStream
Copyright © 2013. All Rights Reserved.