Class FileHandler
java.lang.Object
com.semedy.reasoner.edb.persistentstore.FileHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
closeRandomAccessFile
(String path) static void
static BufferedInputStream
static BufferedInputStream
createInputStream
(String path) static BufferedOutputStream
static BufferedOutputStream
createOutputStream
(String path) static BufferedOutputStream
createOutputStream
(String path, boolean t) static RandomAccessFile
createRandomAccessFile
(String path) static BufferedOutputStream
openOutputStream
(String path) static void
report()
-
Constructor Details
-
FileHandler
public FileHandler()
-
-
Method Details
-
createInputStream
- Throws:
IOException
-
createInputStream
- Throws:
FileNotFoundException
-
createOutputStream
- Throws:
FileNotFoundException
-
openOutputStream
- Throws:
FileNotFoundException
-
createOutputStream
- Throws:
FileNotFoundException
-
createOutputStream
public static BufferedOutputStream createOutputStream(String path, boolean t) throws FileNotFoundException - Throws:
FileNotFoundException
-
closeOutputStream
- Throws:
IOException
-
closeStream
- Throws:
IOException
-
closeRandomAccessFile
- Throws:
IOException
-
createRandomAccessFile
- Throws:
FileNotFoundException
-
report
public static void report()
-