public class OKW_FileHelper extends Object
| Constructor and Description |
|---|
OKW_FileHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertDirectorySeperator(String fpsPath) |
static void |
copy(String fpsSource,
String fpsDestination,
Boolean copySubDirs) |
static void |
copyDirectory(String fpsSourceFolder,
String fpsDestinationFolder) |
static Boolean |
createEmptyDirectory(String fpsPath)
\~german
Erzeug ein leeres Verzechniss mit dem angegebenen Pfad.
|
static boolean |
createFile(String fpsPaFiNa) |
static void |
deleteDirectory(String fpsPath)
\~german
Löschent rekursiv alle Dateien und Unterverzeichnisse und das gegebenen
Verzeichniss selbst.
|
static Boolean |
deleteFile(String fpsPaFiNa) |
static void |
deleteFiles(String fpsPaFiNa) |
static Boolean |
directoryExists(String fpsPaFiNa) |
static Boolean |
fileExists(String fpsPaFiNa) |
static Boolean |
isDirectoryEmpty(String fpsPath)
\~german
\brief
Diese Methode prüft, ob das angegebene Vrzeicniss leer ist.
|
static void |
move(String fpsPaFiNaSource,
String fpsPaFiNaDestination) |
static boolean |
moveDirectory(String fpsPaNaSource,
String fpsPaNaDestination) |
public static Boolean createEmptyDirectory(String fpsPath)
fpsPath - Pfad des Verzeichnisses, das Angelegt werden soll.public static void deleteDirectory(String fpsPath)
public static boolean moveDirectory(String fpsPaNaSource, String fpsPaNaDestination) throws IOException, FileNotFoundException
IOExceptionFileNotFoundExceptionpublic static void copy(String fpsSource, String fpsDestination, Boolean copySubDirs) throws IOException, FileNotFoundException
IOExceptionFileNotFoundExceptionpublic static void deleteFiles(String fpsPaFiNa)
public static void move(String fpsPaFiNaSource, String fpsPaFiNaDestination) throws IOException, FileNotFoundException
IOExceptionFileNotFoundExceptionpublic static boolean createFile(String fpsPaFiNa) throws IOException
IOExceptionpublic static Boolean isDirectoryEmpty(String fpsPath)
Copyright © 2019 OpenKeyWord. All rights reserved.