org.glassfish.osgijpa.dd
Class PersistenceXMLReaderWriter

java.lang.Object
  extended by org.glassfish.osgijpa.dd.PersistenceXMLReaderWriter

public class PersistenceXMLReaderWriter
extends Object

Author:
Sanjeeb.Sahoo@Sun.COM

Constructor Summary
PersistenceXMLReaderWriter()
           
 
Method Summary
 Persistence read(InputStream is)
           
 Persistence read(URL pxmlURL)
           
 void write(Persistence persistence, OutputStream os)
           
 void write(Persistence persistence, Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceXMLReaderWriter

public PersistenceXMLReaderWriter()
Method Detail

read

public Persistence read(URL pxmlURL)
                 throws IOException
Throws:
IOException

read

public Persistence read(InputStream is)
                 throws IOException
Throws:
IOException

write

public void write(Persistence persistence,
                  OutputStream os)
           throws IOException
Throws:
IOException

write

public void write(Persistence persistence,
                  Writer writer)
           throws IOException
Throws:
IOException


Copyright © 2012 GlassFish Community. All Rights Reserved.