本文整理了Java中org.apache.cxf.helpers.FileUtils.removeDir()
方法的一些代码示例,展示了FileUtils.removeDir()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FileUtils.removeDir()
方法的具体详情如下:
包路径:org.apache.cxf.helpers.FileUtils
类名称:FileUtils
方法名:removeDir
暂无
代码示例来源:origin: org.apache.cxf/cxf-core
public static void removeDir(File d) {
removeDir(d, false);
}
private static void removeDir(File d, boolean inShutdown) {
代码示例来源:origin: apache/cxf
public static void removeDir(File d) {
removeDir(d, false);
}
private static void removeDir(File d, boolean inShutdown) {
代码示例来源:origin: org.apache.cxf/cxf-common-utilities
public static void removeDir(File d) {
removeDir(d, false);
}
private static void removeDir(File d, boolean inShutdown) {
代码示例来源:origin: org.apache.cxf/cxf-api
public static void removeDir(File d) {
removeDir(d, false);
}
private static void removeDir(File d, boolean inShutdown) {
代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs
public static void removeDir(File d) {
removeDir(d, false);
}
private static void removeDir(File d, boolean inShutdown) {
代码示例来源:origin: org.apache.cxf/cxf-core
private static void removeDir(File d, boolean inShutdown) {
String[] list = d.list();
if (list == null) {
list = new String[0];
}
for (int i = 0; i < list.length; i++) {
String s = list[i];
File f = new File(d, s);
if (f.isDirectory()) {
removeDir(f, inShutdown);
} else {
delete(f, inShutdown);
}
}
delete(d, inShutdown);
}
代码示例来源:origin: apache/cxf
private static void removeDir(File d, boolean inShutdown) {
String[] list = d.list();
if (list == null) {
list = new String[0];
}
for (int i = 0; i < list.length; i++) {
String s = list[i];
File f = new File(d, s);
if (f.isDirectory()) {
removeDir(f, inShutdown);
} else {
delete(f, inShutdown);
}
}
delete(d, inShutdown);
}
代码示例来源:origin: org.apache.cxf/cxf-api
private static void removeDir(File d, boolean inShutdown) {
String[] list = d.list();
if (list == null) {
list = new String[0];
}
for (int i = 0; i < list.length; i++) {
String s = list[i];
File f = new File(d, s);
if (f.isDirectory()) {
removeDir(f, inShutdown);
} else {
delete(f, inShutdown);
}
}
delete(d, inShutdown);
}
代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs
private static void removeDir(File d, boolean inShutdown) {
String[] list = d.list();
if (list == null) {
list = new String[0];
}
for (int i = 0; i < list.length; i++) {
String s = list[i];
File f = new File(d, s);
if (f.isDirectory()) {
removeDir(f, inShutdown);
} else {
delete(f, inShutdown);
}
}
delete(d, inShutdown);
}
代码示例来源:origin: org.apache.cxf/cxf-common-utilities
private static void removeDir(File d, boolean inShutdown) {
String[] list = d.list();
if (list == null) {
list = new String[0];
}
for (int i = 0; i < list.length; i++) {
String s = list[i];
File f = new File(d, s);
if (f.isDirectory()) {
removeDir(f, inShutdown);
} else {
delete(f, inShutdown);
}
}
delete(d, inShutdown);
}
代码示例来源:origin: org.jboss.ws.cxf/jbossws-cxf-server
public void unpublishWsdlFiles()
{
try
{
File parentDir = new File(serverConfig.getServerDataDir().getCanonicalPath() + "/wsdl");
ArchiveDeployment deployment = dep;
while (deployment.getParent() != null)
{
deployment = deployment.getParent();
}
String deploymentName = deployment.getCanonicalName();
if (deploymentName.startsWith("http://"))
{
deploymentName = deploymentName.replace("http://", "http-");
}
File targetDir = new File(parentDir, deploymentName);
FileUtils.removeDir(targetDir);
}
catch (IOException e)
{
Loggers.DEPLOYMENT_LOGGER.couldNotCreateWsdlDataPath();
}
}
代码示例来源:origin: org.jboss.ws.cxf/jbossws-cxf-client
FileUtils.removeDir(sourceTempDir);
代码示例来源:origin: jboss-fuse/fabric8
new Message("COULD_NOT_COMPILE_SRC", LOG, getSchemaUrls().toString()).toString());
FileUtils.removeDir(src);
URL[] urls;
try {
代码示例来源:origin: io.fabric8/dynamic-jaxb
new Message("COULD_NOT_COMPILE_SRC", LOG, getSchemaUrls().toString()).toString());
FileUtils.removeDir(src);
URL[] urls;
try {
代码示例来源:origin: apache/cxf
LOG.log(Level.SEVERE, new Message("COULD_NOT_COMPILE_SRC", LOG, wsdlUrl).toString());
FileUtils.removeDir(src);
URL[] urls = null;
try {
visitor.walk();
FileUtils.removeDir(classes);
return client;
代码示例来源:origin: org.apache.cxf/cxf-rt-frontend-simple
LOG.log(Level.SEVERE, new Message("COULD_NOT_COMPILE_SRC", LOG, wsdlUrl).toString());
FileUtils.removeDir(src);
URL[] urls = null;
try {
visitor.walk();
FileUtils.removeDir(classes);
return client;
内容来源于网络,如有侵权,请联系作者删除!