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

          主站蜘蛛池模板: 贵定县| 潮州市| 芦山县| 嵊州市| 梓潼县| 镇赉县| 鄂托克旗| 富平县| 永新县| 德昌县| 开鲁县| 平顺县| 灯塔市| 从化市| 自贡市| 綦江县| 河源市| 都匀市| 江门市| 澄迈县| 平阴县| 乌兰察布市| 九台市| 陇川县| 洪湖市| 桂东县| 瓦房店市| 宕昌县| 永定县| 张家川| 北海市| 辽阳市| 莱芜市| 安国市| 新田县| 高台县| 镇江市| 邓州市| 阳朔县| 广东省| 兴宁市|