
Project
文章平均质量分 58
Vera
new job: project coordinator
展开
-
use java to execute the cmd and compile to jar file
try { String cmd = "cmd.exe /c http://www.google.com/"; Process process = Runtime.getRuntime().exec("cmd.exe /c start http://www.google.com/"); //use ping原创 2009-09-24 10:14:00 · 443 阅读 · 0 评论 -
J2ME read txt file
public void readfile(){ InputStream in = null; DataInputStream dis = null; in = this.getClass().getResourceAsStream("/string.txt");//from resource file dis = new原创 2009-09-30 12:14:00 · 381 阅读 · 0 评论 -
JSF copy files
public static int copyFiles(String orgFile, String newFile) throws AccessControlException { String fromFile = orgFile;//+path //"C://~//Documents//NetBeansProj原创 2009-09-30 12:18:00 · 440 阅读 · 0 评论 -
use J2SE compile jar file
public static int copyFiles(String orgFile, String newFile) throws AccessControlException { String fromFile = orgFile;//+path //"C://~//ProjectJ2MEWebsite//bui原创 2009-09-30 12:21:00 · 551 阅读 · 0 评论