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

org.rdfhdt.hdt.dictionary.DictionarySectionPrivate Maven / Gradle / Ivy

package org.rdfhdt.hdt.dictionary;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

import org.rdfhdt.hdt.listener.ProgressListener;

public interface DictionarySectionPrivate extends DictionarySection {
	/**
	 * Load entries from another dictionary section.
	 * @param other
	 * @param listener
	 */
	void load(TempDictionarySection other, ProgressListener listener);
	
	/**
	 * Serialize dictionary section to a stream.
	 * @param output
	 * @param listener
	 * @throws IOException
	 */
	void save(OutputStream output, ProgressListener listener) throws IOException;
	
	/**
	 * Load dictionary section from a stream.
	 * @param input
	 * @param listener
	 * @throws IOException
	 */
	void load(InputStream input, ProgressListener listener) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy