public void save(
java.io.File file,
SerializationModeEnum mode
) throws IOException
{
OutputStream outputStream;
java.io.BufferedOutputStream baseOutputStream;
try
{
file.createNewFile();
baseOutputStream = new java.io.BufferedOutputStream(
new java.io.FileOutputStream(file)
);
outputStream = new OutputStream(baseOutputStream);
}
catch(Exception e)
{throw new IOException(file.getPath() + " file couldn't be created.",e);}
try
{