net.sf.staccatocommons.io.serialization
Interface CharSerializationManager

All Superinterfaces:
SerializationManager
All Known Implementing Classes:
AbstractCharSerializationManager, XStreamXmlSerializationManager

public interface CharSerializationManager
extends SerializationManager

Author:
flbulgarelli

Method Summary
<T> T
deserialize(InputStream input)
          This method does not close the inputStream
<T> T
deserialize(Reader input)
           
<T> T
deserialize(String input)
           
 String serialize(Object target)
           
 void serialize(Object target, OutputStream output)
          Writes the given target object to the given outputStream.
 void serialize(Object target, Writer output)
           
 
Methods inherited from interface net.sf.staccatocommons.io.serialization.SerializationManager
deserialize, serialize
 

Method Detail

serialize

void serialize(Object target,
               OutputStream output)
               throws org.apache.commons.lang.SerializationException
Description copied from interface: SerializationManager
Writes the given target object to the given outputStream. This method does not close the outputStream

Specified by:
serialize in interface SerializationManager
Throws:
org.apache.commons.lang.SerializationException

serialize

void serialize(Object target,
               Writer output)
               throws org.apache.commons.lang.SerializationException
Throws:
org.apache.commons.lang.SerializationException

serialize

String serialize(Object target)
                 throws org.apache.commons.lang.SerializationException
Throws:
org.apache.commons.lang.SerializationException

deserialize

<T> T deserialize(InputStream input)
              throws org.apache.commons.lang.SerializationException
Description copied from interface: SerializationManager
This method does not close the inputStream

Specified by:
deserialize in interface SerializationManager
Returns:
Throws:
org.apache.commons.lang.SerializationException

deserialize

<T> T deserialize(Reader input)
              throws org.apache.commons.lang.SerializationException
Throws:
org.apache.commons.lang.SerializationException

deserialize

<T> T deserialize(String input)
              throws org.apache.commons.lang.SerializationException
Throws:
org.apache.commons.lang.SerializationException


Copyright © 2010-2012 Staccatocommons. All Rights Reserved.