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

eu.interedition.text.TextRepository Maven / Gradle / Ivy

The newest version!
package eu.interedition.text;

import java.io.IOException;
import java.io.Reader;
import java.util.Set;

/**
 * @author Gregor Middell
 */
public interface TextRepository {

    Layer findByIdentifier(long id);

    QueryResult query(Query query);

    Layer add(Name name, Reader text, T data, Set> anchors) throws IOException;

    Layer add(Name name, Reader text, T data, Anchor anchor) throws IOException;

    void delete(Iterable> layers);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy