]> git.mxchange.org Git - jcore.git/commitdiff
Some cleanups from previous import from addressbook project
authorRoland Haeder <roland@mxchange.org>
Thu, 6 Aug 2015 07:25:25 +0000 (09:25 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 6 Aug 2015 07:25:25 +0000 (09:25 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jcore/database/backend/BaseDatabaseBackend.java
src/org/mxchange/jcore/database/backend/DatabaseBackend.java
src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java
src/org/mxchange/jcore/database/backend/mysql/MySqlDatabaseBackend.java
src/org/mxchange/jcore/database/frontend/BaseDatabaseFrontend.java
src/org/mxchange/jcore/database/storage/csv/StoreableCsv.java
src/org/mxchange/jcore/manager/Manageable.java

index 5ef25062b64e2e13651989b8e998d3315309241a..6374909dbd5f07bfe80d3496ccfca2f369b60bae 100644 (file)
@@ -20,8 +20,8 @@ import java.sql.Driver;
 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
@@ -40,7 +40,7 @@ public class BaseDatabaseBackend extends BaseFrameworkSystem {
         * 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
index c7fa70e07bd68a5e22c44f0a56a2db2824c28dc2..3a8154257964dc8c7408a9e11daa4989a3b36a92 100644 (file)
@@ -93,7 +93,7 @@ public interface DatabaseBackend extends FrameworkInterface {
         * 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;
 
@@ -102,7 +102,7 @@ public interface DatabaseBackend extends FrameworkInterface {
         * 
         * @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;
 }
index fb46edabb65a955d7d9d05c09d525890b06372e6..aba21ce07d02ab41e246219e4d19ecded466db42 100644 (file)
@@ -257,7 +257,7 @@ public class Base64CsvDatabaseBackend extends BaseDatabaseBackend implements Dat
         * 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
@@ -309,7 +309,7 @@ public class Base64CsvDatabaseBackend extends BaseDatabaseBackend implements Dat
         *
         * @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
index 4fe807c7266a31b00521251f51fdbf874ae0dc23..054edf159f98d7f746989d0d06dccaec56d1a619 100644 (file)
@@ -50,7 +50,7 @@ public class MySqlDatabaseBackend extends BaseDatabaseBackend implements Databas
         * 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
index a4ab83bcd6d858c03f96767a352c3582d5121e40..3ac52577bf937c88598c6e187c88efa84d98075f 100644 (file)
@@ -63,7 +63,7 @@ public abstract class BaseDatabaseFrontend extends BaseFrameworkSystem implement
        /**
         * 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 {
index 431fa796f1a9efa86debc01fcc562415fcc7b26f..1f09325b70f0007529550c33508416aa3a896b43 100644 (file)
@@ -22,7 +22,7 @@ import org.mxchange.jcore.database.storage.Storeable;
  * 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.
  */
index 5e7fa1b2a1f9600e964819f9c744557830fad6ea..1402e1d286c5177d307fbf3626a2139fba6b2d6c 100644 (file)
@@ -19,7 +19,8 @@ package org.mxchange.jcore.manager;
 import org.mxchange.jcore.FrameworkInterface;
 
 /**
- *
+ * A general interface for any kind of manager classes
+ * 
  * @author Roland Haeder
  */
 public interface Manageable extends FrameworkInterface {