Platform.getInstanceLocation().getURL().getPath();
filePath = FileLocator.toFileURL(Platform.getBundle(IAppConstants.APPLICATION_ID)
.getEntry("")).getPath().toString();
至于這個,就是很多網頁里面寫的
Platform.asLocalURL(PRODUCT_BUNDLE.getEntry("")).getPath()).getAbsolutePath(); 根本就沒有過用!安裝后,路經根本就不是你需要的。
posted on 2008-01-13 23:39
北國狼人的BloG 閱讀(303)
評論(0) 編輯 收藏