io.protostuff.generator.OutputStreamFactory Maven / Gradle / Ivy
package io.protostuff.generator;
import java.io.OutputStream;
/**
* Factory for creating output streams.
*
* @author Kostiantyn Shchepanovskyi
*/
public interface OutputStreamFactory {
/**
* Create an output stream for file location.
* String that represents file location should be relative path, '/' is a delimiter.
*
* @param location sting that contains relative file location
*
* @return new stream instance
*/
OutputStream createStream(String location);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy