首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

myeclipse反编译插件

2013-03-19 
myeclipse反编译插件 .???????????????????????? + fileName + \\,4,false?? ??????????????? System.o

myeclipse反编译插件 .
?myeclipse反编译插件??????????????????????? + fileName + "\\,4,false";??
??????????????? System.out.println(result);??
??????????? } else if (file.isFile())??
??????????? {??
??????????????? String fileName = file.getName();??
??????????????? if (fileName.indexOf("_") < 0)??
??????????????? {??
??????????????????? continue;??
??????????????? }??
??????????????? int last = fileName.lastIndexOf("_");// 最后一个下划线的位置??
??????????????? String filename1 = fileName.substring(0, last);??
??????????????? String filename2 = fileName.substring(last + 1, fileName??
??????????????????????? .length() - 4);??
??????????????? result = filename1 + "," + filename2 + ",file:/" + path + "\"?
??????????????????????? + fileName + ",4,false";??
??????????????? System.out.println(result);??
??????????? }??
?
??????? }??
??? }??
?
??? public List<String> getFileList(String path)??
??? {??
??????? path = getFormatPath(path);??
??????? path = path + "/";??
??????? File filePath = new File(path);??
??????? if (!filePath.isDirectory())??
??????? {??
??????????? return null;??
??????? }??
??????? String[] filelist = filePath.list();??
??????? List<String> filelistFilter = new ArrayList<String>();??
?
??????? for (int i = 0; i < filelist.length; i++)??
??????? {??
??????????? String tempfilename = getFormatPath(path + filelist[i]);??
??????????? filelistFilter.add(tempfilename);??
??????? }??
??????? return filelistFilter;??
??? }??
?
??? public String getString(Object object)??
??? {??
??????? if (object == null)??
??????? {??
??????????? return "";??
??????? }??
??????? return String.valueOf(object);??
??? }??
?
??? public String getFormatPath(String path)??
??? {??
??????? path = path.replaceAll("\\\", "/");??
??????? path = path.replaceAll("//", "/");??
??????? return path;??
??? }??
?
??? public static void main(String[] args)??
??? {??
??????? /*替换成你的插件的安装目录*/
??????????? String plugin = "C:\\Users\\Administrator\\AppData\\Local\\Genuitec\\dropins";??
??????? new CreatePluginsConfig().print(plugin);??
??? }??
}? ?

?

?

?

4.重启MyEclipse,配置?windows--》Preference
myeclipse反编译插件
?

?
myeclipse反编译插件
?

?

?

?

----希望大家都能有用!!! ^ ^

热点排行