Class StringToRDF4JRDFormatConverter

java.lang.Object
it.uniroma2.art.semanticturkey.converters.StringToRDF4JRDFormatConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,org.eclipse.rdf4j.rio.RDFFormat>

public class StringToRDF4JRDFormatConverter extends Object implements org.springframework.core.convert.converter.Converter<String,org.eclipse.rdf4j.rio.RDFFormat>
Converts the string serialization of an RDF4J RDFFormat. The mapping is based on ServiceRegistry.getKeys() and ServiceRegistry.getKeys().
Author:
Manuel Fiorelli
  • Constructor Details

    • StringToRDF4JRDFormatConverter

      public StringToRDF4JRDFormatConverter()
  • Method Details

    • convert

      public org.eclipse.rdf4j.rio.RDFFormat convert(String source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<String,org.eclipse.rdf4j.rio.RDFFormat>