我想使用com.ionic.keyboard 1.0.4 "Keyboard"
com.phonegap.plugins.PushPlugin 2.4.0 "PushPlugin"
cordova-plugin-console 1.0.0 "Console"
cordova-plugin-crosswalk-webview 1.2.0 "Crosswalk WebView Engine"
cordova-plugin-dialogs 1.1.0 "Notification"
cordova-plugin-geolocation 1.0.0 "Geolocation"
cordova-plugin-inappbrowser 1.0.0 "InAppBrowser"
cordova-plugin-network-information 1.0.0 "Network Information"
cordova-plugin-splashscreen 2.0.0 "Splashscreen"
cordova-plugin-statusbar 1.0.0 "StatusBar"
cordova-plugin-vibration 1.1.0 "Vibration"
cordova-plugin-whitelist 1.0.0 "Whitelist"
nl.x-services.plugins.toast 2.0.5 "Toast"
以编程方式删除目录/文件。
我尝试删除的目录有一个空格字符,因此我似乎无法删除它。
org.apache.commons.exec.CommandLine
虽然退出状态返回0,但它不会删除目录" OSSAT - KT"
我试图通过import org.apache.commons.exec.CommandLine
try {
CommandLine command = CommandLine.parse("rm -rf ");
File targetDir = new File(getFinalSourceDirectory());
command.addArgument(dlpath); // dlpath = "tmp/dir to rmv/OSAAT - KT"
} catch (Exception ex) {
java.util.logging.Logger.getLogger(SubversionConnector.class.getName()).log(Level.SEVERE, null, ex);
}
或\\\
等来逃避这个空间,但没有任何对我有用。