All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vladkrava.converter.serialization.Deserializer Maven / Gradle / Ivy

Go to download

Enables conversion of Apache Avro object into popular data formats: JSON, XML, etc

There is a newer version: 1.0.1
Show newest version
package com.vladkrava.converter.serialization;

/**
 * Provides low level interface for deserialization from the byte array
 *
 * @author Vlad Krava - [email protected]
 * @since 0.1-SNAPSHOT
 */
public interface Deserializer {

    /**
     * Object deserialization
     *
     * @param data   - source of the data
     * @param aClass - target class
     * @return T generic object
     * @throws DataSerializationException - signals that some exception of some sort has occurred
     *                                    during the data deserialization
     */
    T deserialize(byte[] data, Class aClass) throws DataSerializationException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy