| java.lang.Object org.netbeans.modules.visualweb.dataconnectivity.utils.SampleDatabaseCreator
SampleDatabaseCreator | public class SampleDatabaseCreator (Code) | | author: John Baker |
Method Summary | |
public static void | createAll(String database, String username, String password, String schema, String sampleZipFile, boolean rememberPassword, String server, int port) Create connection and register a NetBeans property to indicate that sample databae had been created, so as not to recreate if deleted intentionally. | public static void | createDatabase(String database, String sampleZipFile) | public static void | extractZip(File source, FileObject target) |
DRIVER_CLASS_NET | final public static String DRIVER_CLASS_NET(Code) | | |
DRIVER_DISP_NAME_NET | final public static String DRIVER_DISP_NAME_NET(Code) | | |
SampleDatabaseCreator | public SampleDatabaseCreator()(Code) | | Creates a new instance of SampleDatabaseUtils
|
createAll | public static void createAll(String database, String username, String password, String schema, String sampleZipFile, boolean rememberPassword, String server, int port)(Code) | | Create connection and register a NetBeans property to indicate that sample databae had been created, so as not to recreate if deleted intentionally.
|
createDatabase | public static void createDatabase(String database, String sampleZipFile)(Code) | | Unzip sample database if derby registered
Parameters: database - Parameters: sampleZipFile - |
|
|