本文整理了Java中org.apache.cxf.helpers.FileUtils.getFilesRecurse()
方法的一些代码示例,展示了FileUtils.getFilesRecurse()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FileUtils.getFilesRecurse()
方法的具体详情如下:
包路径:org.apache.cxf.helpers.FileUtils
类名称:FileUtils
方法名:getFilesRecurse
暂无
代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs
public static List<File> getFilesRecurse(File dir, final String pattern) {
return getFilesRecurse(dir, pattern, null);
}
代码示例来源:origin: org.apache.cxf/cxf-api
public static List<File> getFilesRecurse(File dir, final String pattern) {
return getFilesRecurse(dir, pattern, null);
}
代码示例来源:origin: org.apache.cxf/cxf-common-utilities
public static List<File> getFilesRecurse(File dir, final String pattern) {
return getFilesRecurse(dir, pattern, null);
}
代码示例来源:origin: org.apache.cxf/cxf-api
public static List<File> getFiles(File dir, final String pattern, File exclude) {
return getFilesRecurse(dir, Pattern.compile(pattern), exclude, false, new ArrayList<File>());
}
public static List<File> getFilesRecurse(File dir, final String pattern, File exclude) {
代码示例来源:origin: org.apache.cxf/cxf-common-utilities
public static List<File> getFiles(File dir, final String pattern, File exclude) {
return getFilesRecurse(dir, Pattern.compile(pattern), exclude, false, new ArrayList<File>());
}
public static List<File> getFilesRecurse(File dir, final String pattern, File exclude) {
代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs
public static List<File> getFiles(File dir, final String pattern, File exclude) {
return getFilesRecurse(dir, Pattern.compile(pattern), exclude, false, new ArrayList<File>());
}
public static List<File> getFilesRecurse(File dir, final String pattern, File exclude) {
代码示例来源:origin: org.apache.cxf/cxf-api
private static List<File> getFilesRecurse(File dir,
Pattern pattern,
File exclude, boolean rec,
List<File> fileList) {
for (File file : dir.listFiles()) {
if (file.equals(exclude)) {
continue;
}
if (file.isDirectory() && rec) {
getFilesRecurse(file, pattern, exclude, rec, fileList);
} else {
Matcher m = pattern.matcher(file.getName());
if (m.matches()) {
fileList.add(file);
}
}
}
return fileList;
}
代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs
private static List<File> getFilesRecurse(File dir,
Pattern pattern,
File exclude, boolean rec,
List<File> fileList) {
for (File file : dir.listFiles()) {
if (file.equals(exclude)) {
continue;
}
if (file.isDirectory() && rec) {
getFilesRecurse(file, pattern, exclude, rec, fileList);
} else {
Matcher m = pattern.matcher(file.getName());
if (m.matches()) {
fileList.add(file);
}
}
}
return fileList;
}
代码示例来源:origin: org.apache.cxf/cxf-common-utilities
private static List<File> getFilesRecurse(File dir,
Pattern pattern,
File exclude, boolean rec,
List<File> fileList) {
for (File file : dir.listFiles()) {
if (file.equals(exclude)) {
continue;
}
if (file.isDirectory() && rec) {
getFilesRecurse(file, pattern, exclude, rec, fileList);
} else {
Matcher m = pattern.matcher(file.getName());
if (m.matches()) {
fileList.add(file);
}
}
}
return fileList;
}
代码示例来源:origin: io.fabric8/dynamic-jaxb
List<File> srcFiles = FileUtils.getFilesRecurse(src, ".+\\.java$");
if (!compileJavaSrc(classPath.toString(), srcFiles, classes.toString())) {
LOG.log(Level.SEVERE,
代码示例来源:origin: jboss-fuse/fabric8
List<File> srcFiles = FileUtils.getFilesRecurse(src, ".+\\.java$");
if (!compileJavaSrc(classPath.toString(), srcFiles, classes.toString())) {
LOG.log(Level.SEVERE,
内容来源于网络,如有侵权,请联系作者删除!