Class FileHandler
java.lang.Object
com.semedy.reasoner.edb.persistentstore.FileHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidcloseRandomAccessFile(String path) static voidstatic BufferedInputStreamstatic BufferedInputStreamcreateInputStream(String path) static BufferedOutputStreamstatic BufferedOutputStreamcreateOutputStream(String path) static BufferedOutputStreamcreateOutputStream(String path, boolean t) static RandomAccessFilecreateRandomAccessFile(String path) static BufferedOutputStreamopenOutputStream(String path) static voidreport()
-
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()
-