
public class OFileManager extends Object
| Constructor and Description |
|---|
OFileManager() |
| Modifier and Type | Method and Description |
|---|---|
static com.orientechnologies.orient.core.record.impl.ODocument |
buildJsonFromFile(String filePath)
It returns a ODocument starting from a json file.
|
static void |
deleteResource(String resourcePath) |
static void |
extractAll(String inputArchiveFilePath,
String outputFolderPath) |
static String |
readAllTextFile(Reader rd) |
static void |
unZipAll(File inputZipFile,
String destinationFolderPath) |
static void |
writeFileFromText(String text,
String outFilePath,
boolean append) |
public static void deleteResource(String resourcePath) throws IOException
IOExceptionpublic static void extractAll(String inputArchiveFilePath, String outputFolderPath) throws IOException
IOExceptionpublic static void unZipAll(File inputZipFile, String destinationFolderPath) throws IOException, IllegalArgumentException
IOExceptionIllegalArgumentExceptionpublic static String readAllTextFile(Reader rd) throws IOException
IOExceptionpublic static com.orientechnologies.orient.core.record.impl.ODocument buildJsonFromFile(String filePath) throws IOException
filePath - IOExceptionpublic static void writeFileFromText(String text, String outFilePath, boolean append) throws IOException
IOExceptionCopyright © 2015–2022 OrientDB. All rights reserved.