public class MDBServiceImpl extends AbstractService implements MDBService
MDBService
for parsing MDB database files.
Constructor and Description |
---|
MDBServiceImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the currently initialized file.
|
void |
initialize(String filename)
Prepare the given .mdb file for reading.
|
Vector<Vector<String[]>> |
parseDatabase()
Read all tables from a pre-initialized .mdb files.
|
checkClassDependency
public void initialize(String filename) throws IOException
MDBService
MDBService.parseDatabase()
.initialize
in interface MDBService
IOException
- if a problem occurs when opening the filepublic Vector<Vector<String[]>> parseDatabase() throws IOException
MDBService
MDBService.initialize(String)
must be called before calling parseDatabase().parseDatabase
in interface MDBService
IOException
- if there is a problem reading the table datapublic void close()
MDBService
close
in interface MDBService
Copyright © 2014 Open Microscopy Environment