日期:2014-05-20 浏览次数:20929 次
try {
FileOutputStream fos = new FileOutputStream("C:\\Documents and Settings\\Administrator\\1" );
InputStream is = test.class.getClassLoader().getResourceAsStream("1");
//t.copyAll(is, fos);
fos.close();
is.close();
} catch (Exception f) {
//try to load anyways - could be a sharing violation
}