Properties manipulation
public static JdbcMySqlUtil getJdbcUtil() throws IOException,
InstantiationException, IllegalAccessException,
ClassNotFoundException {
Properties prop = new Properties();
InputStream is = new FileInputStream(new File(
"resource/configure.properties"));
prop.load(is);
JdbcMySqlUtil jdbc = (JdbcMySqlUtil) Class.forName(
prop.getProperty("ClassName")).newInstance();
return jdbc;
}
InstantiationException, IllegalAccessException,
ClassNotFoundException {
Properties prop = new Properties();
InputStream is = new FileInputStream(new File(
"resource/configure.properties"));
prop.load(is);
JdbcMySqlUtil jdbc = (JdbcMySqlUtil) Class.forName(
prop.getProperty("ClassName")).newInstance();
return jdbc;
}