Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

oracle.apps.fnd.applseed.rt.extract.common
Class ExtractSerializer

java.lang.Object
  extended by oracle.apps.fnd.applseed.rt.extract.common.ExtractSerializer

public class ExtractSerializer
extends java.lang.Object

This class contains methods to serialize and deserialize the output from an Extract process.


Constructor Summary
ExtractSerializer(java.lang.String filepath)
          Constructor.
 
Method Summary
 void close()
          Close the file streams.
 java.lang.Object load()
          Load object from file name.
 void store(java.io.Serializable obj)
          Store the serializable object to the named file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtractSerializer

public ExtractSerializer(java.lang.String filepath)
Constructor.

Parameters:
filepath - String filepath to (de)serialize.
Method Detail

store

public void store(java.io.Serializable obj)
           throws java.io.IOException
Store the serializable object to the named file.

Parameters:
obj - Serializable object to store
Throws:
java.io.IOException - file error

load

public java.lang.Object load()
                      throws java.io.IOException,
                             java.lang.ClassNotFoundException
Load object from file name.

Returns:
Object read
Throws:
java.io.IOException - file error
java.lang.ClassNotFoundException - class of serialized object not found

close

public void close()
           throws java.io.IOException
Close the file streams.

Throws:
java.io.IOException - if i/o error

Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.