Java Serialize serializeObjects(File oof, Object[] objectsOut)

Here you can find the source of serializeObjects(File oof, Object[] objectsOut)

Description

serialize Objects

License

Open Source License

Declaration

public static void serializeObjects(File oof, Object[] objectsOut)
            throws IOException 

Method Source Code

//package com.java2s;
// License & terms of use: http://www.unicode.org/copyright.html#License

import java.io.File;

import java.io.FileOutputStream;
import java.io.IOException;

import java.io.ObjectOutputStream;

public class Main {
    public static void serializeObjects(File oof, Object[] objectsOut)
            throws IOException {
        FileOutputStream fos = new FileOutputStream(oof);
        ObjectOutputStream oos = new ObjectOutputStream(fos);
        oos.writeObject(objectsOut);//from  w w w . j  ava  2  s. c o m

        oos.close();
    }
}

Related

  1. serializeObject(B b)
  2. serializeObject(final Object object)
  3. serializeObject(String absFilePath, Object obj)
  4. serializeObject(String path, Object e)
  5. serializeObject(T obj)
  6. serializeObjectToFile(Object obj, File f)
  7. serializeObjectToFile(Object object, String filename)
  8. serializer(Object object)
  9. serializeSafe(T obj)