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

org.reflections.serializers.Serializer Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
package org.reflections.serializers;

import org.reflections.Reflections;

import java.io.File;
import java.io.InputStream;

/** Serilizer of a {@link org.reflections.Reflections} instance */
public interface Serializer {
    /** reads the input stream into a new Reflections instance, populating it's store */
    Reflections read(InputStream inputStream);

    /** saves a Reflections instance into the given filename */
    File save(Reflections reflections, String filename);

    /** returns a string serialization of the given Reflections instance */
    String toString(Reflections reflections);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy