public class OFileManager extends Object
Constructor and Description |
---|
OFileManager() |
Modifier and Type | Method and Description |
---|---|
static 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
IOException
public static void extractAll(String inputArchiveFilePath, String outputFolderPath) throws IOException
IOException
public static void unZipAll(File inputZipFile, String destinationFolderPath) throws IOException
IOException
public static String readAllTextFile(Reader rd) throws IOException
IOException
public static ODocument buildJsonFromFile(String filePath) throws IOException
filePath
- IOException
public static void writeFileFromText(String text, String outFilePath, boolean append) throws IOException
IOException
Copyright © 2009–2020 OrientDB. All rights reserved.