import java.sql.DriverManager;
import java.text.MessageFormat;
import java.util.Enumeration;
-import org.mxchange.jcore.exceptions.UnsupportedDatabaseDriverException;
import org.mxchange.jcore.BaseFrameworkSystem;
+import org.mxchange.jcore.exceptions.UnsupportedDatabaseDriverException;
/**
* Generall database backend
* Validates driver name and throws an exception if the driver is not valid
*
* @param driverName Driver name (e.g. "mysql")
- * @throws org.mxchange.addressbook.exceptions.UnsupportedDatabaseDriverException If the given driver name cannot be solved into a driver instance
+ * @throws org.mxchange.jcore.exceptions.UnsupportedDatabaseDriverException If the given driver name cannot be solved into a driver instance
*/
protected void validateDriver (final String driverName) throws UnsupportedDatabaseDriverException {
// Trace message
* Gets an iterator for contacts
*
* @return Iterator for contacts
- * @throws org.mxchange.addressbook.exceptions.BadTokenException If the CSV token is badly formulated
+ * @throws org.mxchange.jcore.exceptions.BadTokenException If the CSV token is badly formulated
*/
public Iterator<? extends Storeable> iterator () throws BadTokenException;
*
* @param rowIndex Row index (or how much to skip)
* @return A Storeable instance
- * @throws org.mxchange.addressbook.exceptions.BadTokenException If a token was badly formatted
+ * @throws org.mxchange.jcore.exceptions.BadTokenException If a token was badly formatted
*/
public Storeable readRow (final int rowIndex) throws BadTokenException;
}
* Gets an iterator for contacts
*
* @return Iterator for contacts
- * @throws org.mxchange.addressbook.exceptions.BadTokenException If the
+ * @throws org.mxchange.jcore.exceptions.BadTokenException If the
* underlaying method has found an invalid token
*/
@Override
*
* @param rowIndex Row index (or how much to skip)
* @return A Storeable instance
- * @throws org.mxchange.addressbook.exceptions.BadTokenException If a token
+ * @throws org.mxchange.jcore.exceptions.BadTokenException If a token
* was badly formatted
*/
@Override
* Constructor with table name
*
* @param tableName Table to access
- * @throws org.mxchange.addressbook.exceptions.UnsupportedDatabaseDriverException
+ * @throws org.mxchange.jcore.exceptions.UnsupportedDatabaseDriverException If the requested driver is not supported
*/
public MySqlDatabaseBackend (final String tableName) throws UnsupportedDatabaseDriverException {
// Validate driver
/**
* Initialize backend
*
- * @throws org.mxchange.addressbook.exceptions.UnsupportedDatabaseBackendException If the backend is not supported
+ * @throws org.mxchange.jcore.exceptions.UnsupportedDatabaseBackendException If the backend is not supported
* @throws java.sql.SQLException If a SQL database backend fails to connect
*/
protected void initBackend () throws UnsupportedDatabaseBackendException, SQLException {
* An interface for classes which should be storeable as a CSV string
*
* @author Roland Haeder
- * @deprecated This method was for an old way of storing data into
+ * @deprecated This interface was for an old way of storing data into
* comma-separated value files. Now that there is BASE64-encoding, this formating
* is no longer needed.
*/
import org.mxchange.jcore.FrameworkInterface;
/**
- *
+ * A general interface for any kind of manager classes
+ *
* @author Roland Haeder
*/
public interface Manageable extends FrameworkInterface {