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

org.wikidata.query.rdf.tool.utils.StreamDumper Maven / Gradle / Ivy

Go to download

Tools to sync Wikibase to RDF stores. Also contains overall integration tests that rely on everything else.

The newest version!
package org.wikidata.query.rdf.tool.utils;

import java.io.InputStream;

/**
 * Wraps OutputStreams and dump the content that has been read.
 */
public interface StreamDumper {
    /**
     * Wraps a stream and dumps its content once it is closed.
     */
    InputStream wrap(InputStream inputStream);

    /**
     * Call this method when the output should be rotated.
     */
    void rotate();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy