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

io.protostuff.generator.OutputStreamFactory Maven / Gradle / Ivy

There is a newer version: 3.1.40
Show newest version
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