java zip insert oracle blob

时间:2015-08-26 17:41:33
【文件属性】:

文件名称:java zip insert oracle blob

文件大小:2.88MB

文件格式:RAR

更新时间:2015-08-26 17:41:33

zip

public void testInsertToDB(String path) { //get last file name by time String fileName = ""; try { fileName = InputStreamHelp.newInstance().getLastFilename(path); LogHelp.getLogger().debug("this file name is(" + fileName + ")"); } catch (Exception e) { e.printStackTrace(); } // file to zip and get zip name String outputName = ZipHelp.newInstance().fileToZip(path, fileName); //zip insert database DatabaseOperate.newInstance().insertToDBInputStream(path, outputName); }


【文件预览】:
test
----.project(380B)
----src()
--------log()
--------core()
--------uitl()
--------dao()
--------log4j.properties(589B)
--------package()
----core()
--------XMLToDB.class(2KB)
----uitl()
--------OutputStreamHelp.class(2KB)
--------ZipHelp.class(6KB)
--------StringHelp.class(1KB)
--------InputStreamHelp.class(3KB)
----dao()
--------imp()
--------BaseDao.class(3KB)
----.settings()
--------org.eclipse.jdt.core.prefs(602B)
----.fatjar(331B)
----.classpath(495B)
----powercent.log(1KB)
----bin()
--------.project(380B)
--------log()
--------core()
--------uitl()
--------dao()
--------.settings()
--------log4j.properties(589B)
--------.fatjar(331B)
--------.classpath(495B)
--------powercent.log(1KB)

网友评论