Package org.datanucleus.store.excel
Class XLSManagedConnection
- java.lang.Object
-
- org.datanucleus.store.connection.AbstractManagedConnection
-
- org.datanucleus.store.excel.AbstractExcelManagedConnection
-
- org.datanucleus.store.excel.XLSManagedConnection
-
- All Implemented Interfaces:
org.datanucleus.store.connection.ManagedConnection
public class XLSManagedConnection extends AbstractExcelManagedConnection
Managed Connection for XLS.
-
-
Constructor Summary
Constructors Constructor Description XLSManagedConnection(String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.poi.ss.usermodel.Workbook
getWorkbook()
protected org.apache.poi.ss.usermodel.Workbook
getWorkbook(InputStream is)
-
Methods inherited from class org.datanucleus.store.excel.AbstractExcelManagedConnection
close, getConnection, getXAResource, release
-
Methods inherited from class org.datanucleus.store.connection.AbstractManagedConnection
addListener, closeAfterTransactionEnd, closeOnRelease, commitOnRelease, incrementUseCount, isLocked, lock, releaseSavepoint, removeListener, rollbackToSavepoint, setCloseOnRelease, setCommitOnRelease, setSavepoint, toString, transactionFlushed, transactionPreClose, unlock
-
-
-
-
Constructor Detail
-
XLSManagedConnection
public XLSManagedConnection(String filename)
-
-
Method Detail
-
getWorkbook
protected org.apache.poi.ss.usermodel.Workbook getWorkbook()
- Specified by:
getWorkbook
in classAbstractExcelManagedConnection
-
getWorkbook
protected org.apache.poi.ss.usermodel.Workbook getWorkbook(InputStream is) throws IOException
- Specified by:
getWorkbook
in classAbstractExcelManagedConnection
- Throws:
IOException
-
-