StevenBot-Saltsam

          眼睛能裝下世界,為何卻裝不下眼淚? 一只風箏一輩子只為一根線冒險。 那不是一場游戲,為何總有一根線牽著心懷,隱隱作疼? 那不是一段邂逅,為何飄在橋上的影子,總纏進夢鄉? 那不是一個夢境,為何你的溫柔私語,總是不經意的響起?

          導航

          <2011年10月>
          2526272829301
          2345678
          9101112131415
          16171819202122
          23242526272829
          303112345

          統計

          常用鏈接

          留言簿

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          datas link

          OSChinal Sources codes Library

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          Platform來獲取一些系統的路徑和參數

          在Eclipse的插件開發中,可以通過Platform來獲取一些系統的路徑和參數。 
          假定Eclipse的安裝路徑為:D:/Java/eclipse 
          創建的Workspace路徑為:D:/Java/eclipse/workspace 

          Platform.getNL():zh_CN 
          Platform.getWS():win32 
          Platform.getOS():win32 
          Platform.getOSArch():x86 
          Platform.getStateStamp():155 
          Platform.getUserLocation().getURL():file:/D:/Profiles/windowsloginname/user/ 
          Platform.getInstallLocation().getURL():file:/d:/Java/eclipse/ 
          Platform.getConfigurationLocation().getURL():file:/d:/Java/eclipse/configuration/ 
          Platform.getInstanceLocation().getURL():file:/D:/Java/eclipse/workspace/ 
          Platform.getLocation():D:/Java/eclipse/workspace 
          Platform.getLocation().toOSString():D:/Java/eclipse/workspace 
          Platform.getLogFileLocation():D:/Java/eclipse/workspace/.metadata/.log 
          Platform.getLogFileLocation().toOSString():D:/Java/eclipse/workspace/.metadata/.log 
          Platform.getPluginStateLocation(Platform.getPlugin("NamedPlugin")):D:/Java/eclipse/workspace/.metadata/.plugins/NamedPlugin 
          Platform.getPlugin("NamedPlugin").getStateLocation():D:/Java/eclipse/workspace/.metadata/.plugins/NamedPlugin 
          Platform.getPlugin("NamedPlugin").getDescriptor():NamedPlugin_1.0.0 
          Platform.getPlugin("NamedPlugin").getDescriptor().getLabel():Plug-in Name 
          Platform.getPlugin("NamedPlugin").getDescriptor().getProviderName():ProviderName 
          Platform.getPlugin("NamedPlugin").getDescriptor().getUniqueIdentifier():NamedPlugin 
          Platform.getPlugin("NamedPlugin").getDescriptor().getInstallURL():platform:/plugin/NamedPlugin_1.0.0/ 
          Platform.getPlugin("NamedPlugin").getDescriptor().getInstallURL().getPath():/plugin/NamedPlugin_1.0.0/

          posted on 2011-10-25 10:49 Steven_bot 閱讀(1525) 評論(0)  編輯  收藏 所屬分類: eclipse

          主站蜘蛛池模板: 泰宁县| 沙洋县| 呈贡县| 多伦县| 皮山县| 资兴市| 长白| 京山县| 永清县| 当涂县| 张家界市| 贺州市| 万盛区| 酒泉市| 英吉沙县| 壶关县| 忻州市| 怀柔区| 临泽县| 波密县| 安岳县| 高唐县| 黑山县| 湟源县| 民权县| 北票市| 姚安县| 庐江县| 泉州市| 聂拉木县| 桦川县| 全州县| 疏勒县| 兴化市| 乌兰县| 建昌县| 青浦区| 朝阳县| 左权县| 香河县| 彭水|