Package org.eclipse.rdf4j.spring.util
Class TypeMappingUtils
- java.lang.Object
-
- org.eclipse.rdf4j.spring.util.TypeMappingUtils
-
public class TypeMappingUtils extends Object
- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
-
Constructor Summary
Constructors Constructor Description TypeMappingUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BooleantoBoolean(String from)static BooleantoBoolean(org.eclipse.rdf4j.model.Value from)static BooleantoBooleanMaybe(Boolean from)static BooleantoBooleanMaybe(String from)static BooleantoBooleanMaybe(org.eclipse.rdf4j.model.Value from)static Optional<Boolean>toBooleanOptional(Boolean from)static Optional<Boolean>toBooleanOptional(String from)static Optional<Boolean>toBooleanOptional(org.eclipse.rdf4j.model.Value from)static DoubletoDouble(org.eclipse.rdf4j.model.Value from)static IntegertoInt(org.eclipse.rdf4j.model.Value from)static BigIntegertoInteger(org.eclipse.rdf4j.model.Value from)static List<Iri>toIri(Collection<org.eclipse.rdf4j.model.IRI> from)static IritoIri(org.eclipse.rdf4j.model.IRI from)static org.eclipse.rdf4j.model.IRItoIRI(String from)static List<org.eclipse.rdf4j.model.IRI>toIRI(Collection<String> from)static org.eclipse.rdf4j.model.IRItoIRI(org.eclipse.rdf4j.model.Value from)static Iri[]toIriArray(Collection<org.eclipse.rdf4j.model.IRI> from)static org.eclipse.rdf4j.model.IRItoIRIMaybe(String from)static Optional<org.eclipse.rdf4j.model.IRI>toIRIOptional(String from)static StringtoString(org.eclipse.rdf4j.model.Value from)
-
-
-
Method Detail
-
toIri
public static Iri toIri(org.eclipse.rdf4j.model.IRI from)
-
toIri
public static List<Iri> toIri(Collection<org.eclipse.rdf4j.model.IRI> from)
-
toIriArray
public static Iri[] toIriArray(Collection<org.eclipse.rdf4j.model.IRI> from)
-
toIRI
public static org.eclipse.rdf4j.model.IRI toIRI(String from)
-
toIRIMaybe
public static org.eclipse.rdf4j.model.IRI toIRIMaybe(String from)
-
toIRI
public static org.eclipse.rdf4j.model.IRI toIRI(org.eclipse.rdf4j.model.Value from)
-
toBoolean
public static Boolean toBoolean(org.eclipse.rdf4j.model.Value from)
-
toBooleanMaybe
public static Boolean toBooleanMaybe(org.eclipse.rdf4j.model.Value from)
-
toBooleanOptional
public static Optional<Boolean> toBooleanOptional(org.eclipse.rdf4j.model.Value from)
-
toDouble
public static Double toDouble(org.eclipse.rdf4j.model.Value from)
-
toInteger
public static BigInteger toInteger(org.eclipse.rdf4j.model.Value from)
-
toInt
public static Integer toInt(org.eclipse.rdf4j.model.Value from)
-
toIRI
public static List<org.eclipse.rdf4j.model.IRI> toIRI(Collection<String> from)
-
toString
public static final String toString(org.eclipse.rdf4j.model.Value from)
-
-