- java.lang.Object
-
- net.finmath.util.FileUtilities
-
public class FileUtilities extends Object
Provides utility method to write an object to a file and read an object from a file.- Author:
- Christian Fries
-
-
Constructor Summary
Constructors Constructor Description FileUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Object
loadObject(File pathToFile)
static void
writeObject(File pathToFile, Object object)
-
-
-
Method Detail
-
loadObject
public static Object loadObject(File pathToFile) throws ClassNotFoundException, IOException
- Throws:
ClassNotFoundException
IOException
-
writeObject
public static void writeObject(File pathToFile, Object object) throws IOException
- Throws:
IOException
-
-