
org.ontoware.rdf2go.model.persistent.Persistent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rdf2go.api Show documentation
Show all versions of rdf2go.api Show documentation
RDF2go is an implementation-independent Java API with the design
goals: portability (hence the name), performance and ease of
implementation.
This project was started at FZI Forschungszentrum Informatik Karlsruhe, Germany - www.fzi.de
The newest version!
/**
* LICENSE INFORMATION
*
* Copyright 2005-2008 by FZI (http://www.fzi.de). Licensed under a BSD license
* (http://www.opensource.org/licenses/bsd-license.php) = Max Völkel
* = FZI Forschungszentrum Informatik Karlsruhe, Karlsruhe,
* Germany = 2010
*
* Further project information at http://semanticweb.org/wiki/RDF2Go
*/
package org.ontoware.rdf2go.model.persistent;
import java.io.IOException;
import org.ontoware.rdf2go.exception.ModelRuntimeException;
/**
* A persistent entity
*
* @author voelkel
*
*/
public interface Persistent {
/**
* persist all unsaved changes
*
* @throws ModelRuntimeException TODO document
* @throws IOException if the underlying implementation encounters it
*/
public void save() throws ModelRuntimeException, IOException;
/**
* load content from storage
*
* @throws ModelRuntimeException, e.g. FileNotFoundException
* @throws IOException if the underlying implementation encounters it
*/
public void load() throws ModelRuntimeException, IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy