
it.unitn.disi.smatch.loaders.context.IBaseContextLoader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of s-match Show documentation
Show all versions of s-match Show documentation
A version of S-Match semantic matching framework for Open Data
The newest version!
package it.unitn.disi.smatch.loaders.context;
import it.unitn.disi.common.components.IConfigurable;
import it.unitn.disi.smatch.data.trees.IBaseContext;
import it.unitn.disi.smatch.data.trees.IBaseNode;
import it.unitn.disi.smatch.loaders.ILoader;
/**
* Base interface for context loaders.
*
* @author Aliaksandr Autayeu
*/
public interface IBaseContextLoader> extends IConfigurable {
/**
* Loads the context from a file or database.
*
* @param fileName file to load (or DB connection string)
* @return interface to data structure of context
* @throws ContextLoaderException ContextLoaderException
*/
E loadContext(String fileName) throws ContextLoaderException;
/**
* Returns the description of the format.
*
* @return the description of the format
*/
String getDescription();
/**
* Returns the type of the loader.
*
* @return the type of the loader
*/
ILoader.LoaderType getType();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy