org.reflections.serializers.Serializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swagger-all Show documentation
Show all versions of swagger-all Show documentation
swagger-all is a rebundled verison of Swagger as one OSGi bundle.
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);
}