Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ensembl.util
Class SerialUtil

    java.lang.Object
      org.ensembl.util.SerialUtil

public class SerialUtil
extends java.lang.Object

Constructor Summary
`SerialUtil()`

Method Summary
`static java.lang.Object` | `readObject(java.io.File f)`
`static java.lang.Object` | `readObject(java.lang.String s)` Read an object from a previously serialised file.
`static void` | `writeObject(java.lang.Object o, java.io.File f)`
`static void` | `writeObject(java.lang.Object o, java.lang.String s)` Write an object to a file.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SerialUtil

    public SerialUtil()

Method Detail

### writeObject

    public static void writeObject(java.lang.Object o,
                                   java.lang.String s)

  Write an object to a file.

  Parameters:
    `o` - The object to be written.
    `s` - The name of the file to write.

### writeObject

    public static void writeObject(java.lang.Object o,
                                   java.io.File f)

### readObject

    public static java.lang.Object readObject(java.lang.String s)

  Read an object from a previously serialised file.

  Parameters:
    `s` - The file name to read from.

### readObject

    public static java.lang.Object readObject(java.io.File f)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD