barsuift.simLife
Class JaxbIO<T>

java.lang.Object
  extended by barsuift.simLife.JaxbIO<T>

public class JaxbIO<T>
extends java.lang.Object


Constructor Summary
JaxbIO(java.lang.String packageName)
           
 
Method Summary
 T read(java.io.File file)
           
 void write(T object, java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxbIO

public JaxbIO(java.lang.String packageName)
       throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException
Method Detail

read

public T read(java.io.File file)
       throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

write

public void write(T object,
                  java.io.File file)
           throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException


Copyright © 2010. All Rights Reserved.