资源简介
my eclipse10汉化

代码片段和文件信息
import java.io.File;
import java.util.ArrayList;
import java.util.List;
/**
* MyEclipse 8.x安装插件代码生成器
* @author Administrator
*
*/
public class CreatePluginsConfig {
private String path;
public CreatePluginsConfig(String path) {
this.path = path;
}
public void print() {
List list = getFileList(path);
if (list == null) {
return;
}
int length = list.size();
for (int i = 0; i < length; i++) {
String result = ““;
String thePath = getFormatPath(getString(list.get(i)));
File file = new File(thePath);
if (file.isDirectory()) {
String fileName = file.getName();
if (fileName.indexOf(“_“) < 0) {
continue;
}
String[] filenames = fileName.split(“_“);
String filename1 = filenames[0];
String filename2 = filenames[1];
result = filename1 + ““ + filename2 + “file:/“ + path + “\\“
+ fileName + “\\4false“;
System.out.println(result);
} else if (file.isFile()) {
String fileName = file.getName();
if (fileName.indexOf(“_“) < 0) {
continue;
}
String[] filenames = fileName.split(“_“);
String filename1 = filenames[0]+“_“+filenames[1];
String filename2 = filenames[2].substring(0 filenames[2].lastIndexOf(“.“));
result = filename1 + ““ + filename2 + “file:/“ + path + “\\“
+ fileName + “4false“;
System.out.println(result);
}
}
}
public List getFileList(String path) {
path = getFormatPath(path);
path = path + “/“;
File filePath = new File(path);
if (!filePath.isDirectory()) {
return null;
}
String[] filelist = filePath.list();
List filelistFilter = new ArrayList();
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) {
new CreatePluginsConfig(“
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-04-24 09:48 MyEclipse10hh\
目录 0 2017-04-24 09:48 MyEclipse10hh\MyEclipse 10汉化包\
文件 3215 2014-01-04 15:33 MyEclipse10hh\MyEclipse 10汉化包\CreatePluginsConfig.java
目录 0 2017-03-20 16:42 MyEclipse10hh\MyEclipse 10汉化包\language\
目录 0 2017-03-20 16:42 MyEclipse10hh\MyEclipse 10汉化包\language\features\
目录 0 2017-03-20 16:42 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_birt_zh_3.4.0.v20090215043402\
文件 21695 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_birt_zh_3.4.0.v20090215043402\eclipse_update_120.jpg
文件 6367 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_birt_zh_3.4.0.v20090215043402\feature.properties
文件 11667 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_birt_zh_3.4.0.v20090215043402\feature.xm
目录 0 2017-03-20 16:42 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_datatools_zh_3.4.0.v20090215043402\
文件 21695 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_datatools_zh_3.4.0.v20090215043402\eclipse_update_120.jpg
文件 6367 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_datatools_zh_3.4.0.v20090215043402\feature.properties
文件 1251 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_datatools_zh_3.4.0.v20090215043402\feature.xm
目录 0 2017-03-20 16:42 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_dsdp.tm_zh_3.4.0.v20090215043402\
文件 21695 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_dsdp.tm_zh_3.4.0.v20090215043402\eclipse_update_120.jpg
文件 6367 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_dsdp.tm_zh_3.4.0.v20090215043402\feature.properties
文件 742 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_dsdp.tm_zh_3.4.0.v20090215043402\feature.xm
目录 0 2017-03-20 16:42 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_eclipse_zh_3.4.0.v20090215043402\
文件 21695 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_eclipse_zh_3.4.0.v20090215043402\eclipse_update_120.jpg
文件 6367 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_eclipse_zh_3.4.0.v20090215043402\feature.properties
文件 26034 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_eclipse_zh_3.4.0.v20090215043402\feature.xm
目录 0 2017-03-20 16:42 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_modeling.gmf_zh_3.4.0.v20090215043402\
文件 21695 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_modeling.gmf_zh_3.4.0.v20090215043402\eclipse_update_120.jpg
文件 6367 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_modeling.gmf_zh_3.4.0.v20090215043402\feature.properties
文件 605 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_modeling.gmf_zh_3.4.0.v20090215043402\feature.xm
目录 0 2017-03-20 16:42 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_modeling.m2m_zh_3.4.0.v20090215043402\
文件 21695 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_modeling.m2m_zh_3.4.0.v20090215043402\eclipse_update_120.jpg
文件 6367 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_modeling.m2m_zh_3.4.0.v20090215043402\feature.properties
文件 605 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_modeling.m2m_zh_3.4.0.v20090215043402\feature.xm
目录 0 2017-03-20 16:42 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_modeling.m2t_zh_3.4.0.v20090215043402\
文件 21695 2009-02-15 04:51 MyEclipse10hh\MyEclipse 10汉化包\language\features\org.eclipse.babel.nls_modeling.m2t_zh_3.4.0.v20090215043402\eclipse_update_120.jpg
............此处省略433个文件信息
相关资源
- SpringBoot+H2+mybatis-plus59130
- MoNyog8.5+破解补丁
- 全国4级地址库,京东数据
- mybatis连接oracle实例
- php程序实现数据库的增删改查
- 基于SSM+CXF构建的RESTFul webservice
- 302 Found
- Spring+MyBatis企业应用实战第一二版的源
- springboot+mybatis整合实现注册登录
- 基于web的图书馆运营系统
- 创新SoundBlaster系列声卡ALchemy炼金术辅
- myeclipse9 注册机(自动生成注册码和激
- MYCRM帮福瑞达摸销售家底儿
- 利用足丝蛋白序列鉴定贻贝属(Myti
- MyBatis plugin 3.155 (最新版)
- MyBatis 3.4.7 中文帮助文档(CHM)
- mybatis3-api.chm
- MyEclipse2018.8.0破解
- myeclipse-2016-CI-6破解文件
- SpringBoot+Mybatis+前后台隔离技术,完整
- 浪潮myGS-EIP企业信息门户管理软件
- 浪潮myGS-SCM供应链管理软件
- 浪潮myGS-Financing资金管理软件
- IP地址对照表
- Spring+Struts2+Mybatis的一个增删改查的
- Navicat 完整版 (Mac 破解版,亲试成功
- myeclips的xfire插件.rar
- 使用MybatisPlus+SpringMBVC完成的CUID以及分
- 数据库大量数据导出Excel
- PROE外挂SMY_EMD
评论
共有 条评论