
org.ontoware.rdf2go.util.Converter 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.util;
/**
*
* Converts instances from one type to another.
* Useful for implementing adapters.
* @author sauermann
* @param The class that is the source of conversion
* @param The class that is converted to
*/
public interface Converter {
/**
* convert the passed object to the outgoing object
* @param source the source object to convert
* @return the converted object
* @throws ConversionException if something goes wrong.
*/
public TO convert(FROM source) throws ConversionException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy