Crea sito


org.zu.ardulink.io
Class JAXBReaderWriter<T>

java.lang.Object
  extended by org.zu.ardulink.io.JAXBReaderWriter<T>

public class JAXBReaderWriter<T>
extends Object

Ardulink - return to homepage

v0.6.1 Magnum PI

Author:
Luciano Zu project Ardulink http://www.ardulink.org/


Constructor Summary
JAXBReaderWriter(Class<T> tClass)
           
 
Method Summary
 T read(File file)
           
 T read(InputStream is)
           
 T read(String file)
           
 void write(T t, File file)
           
 void write(T t, OutputStream os)
           
 void write(T t, String file)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBReaderWriter

public JAXBReaderWriter(Class<T> tClass)
Method Detail

read

public T read(String file)
       throws ReadingException
Throws:
ReadingException

read

public T read(File file)
       throws ReadingException
Throws:
ReadingException

read

public T read(InputStream is)
       throws ReadingException
Throws:
ReadingException

write

public void write(T t,
                  String file)
           throws WritingException
Throws:
WritingException

write

public void write(T t,
                  File file)
           throws WritingException
Throws:
WritingException

write

public void write(T t,
                  OutputStream os)
           throws WritingException
Throws:
WritingException


Copyright © 2015. All rights reserved.