Package examples.utilities.dbexcelcvs
Class DBExamples
- java.lang.Object
-
- examples.utilities.dbexcelcvs.DBExamples
-
public class DBExamples extends java.lang.ObjectThe purpose of this class is to provide a series of examples that utilize some of the functionality within the dbutil package
-
-
Constructor Summary
Constructors Constructor Description DBExamples()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidexample1()This example shows how to create a new database from a creation script and perform some simple operations on the databasestatic voidexampleDbToExcelExport()Shows how to make a SP database from scripts and then writes the database to an Excel workbookstatic voidexampleExcelDbImport()Shows how to create the SP database by importing from an Excel workbookstatic DatabaseIfcexampleSPCreationFromFullScript()This example shows how to create a SP database from a creation script and perform a simple operation on the database.static voidmain(java.lang.String[] args)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOException- Throws:
java.io.IOException
-
example1
public static void example1()
This example shows how to create a new database from a creation script and perform some simple operations on the database
-
exampleDbToExcelExport
public static void exampleDbToExcelExport() throws java.io.IOExceptionShows how to make a SP database from scripts and then writes the database to an Excel workbook- Throws:
java.io.IOException- an exception
-
exampleExcelDbImport
public static void exampleExcelDbImport() throws java.io.IOExceptionShows how to create the SP database by importing from an Excel workbook- Throws:
java.io.IOException- the IO exception
-
exampleSPCreationFromFullScript
public static DatabaseIfc exampleSPCreationFromFullScript()
This example shows how to create a SP database from a creation script and perform a simple operation on the database.- Returns:
- the created database
-
-