A C D F G H I L M N O P R S T U V W

A

addAll(Iterator<? extends E>, C) - Static method in class org.ontoware.rdf2go.util.Iterators
Adds all elements from the supplied iterator to the specified collection.
applyRule(Model, Map<String, URI>) - Method in class org.ontoware.rdf2go.util.transform.InferenceRule
 
applyRule(Model, Map<String, URI>) - Method in class org.ontoware.rdf2go.util.transform.NamespaceSearchReplaceRule
 
applyRule(Model, Map<String, URI>) - Method in class org.ontoware.rdf2go.util.transform.SearchRemoveAddRule
 
applyRule(Model, Map<String, URI>) - Method in interface org.ontoware.rdf2go.util.transform.TransformerRule
 
applyRule(Model, Map<String, URI>) - Method in class org.ontoware.rdf2go.util.transform.URISearchReplaceRule
 
asLegalJavaID(String, boolean) - Method in class org.ontoware.rdf2go.util.VocabularyWriter
Convert s to a legal Java identifier; capitalise first char if cap is true this method is copied from jena code.

C

closeCloseable(Iterator<?>) - Static method in class org.ontoware.rdf2go.util.Iterators
Closes the supplied iterator if it is an instance of CloseableIterator, otherwise the request is ignored.
complement(Model, Model, Model) - Static method in class org.ontoware.rdf2go.util.ModelUtils
 
ConversionException - Exception in org.ontoware.rdf2go.util
Thrown when an rdf2go adapter cannot convert from one class to another.
ConversionException() - Constructor for exception org.ontoware.rdf2go.util.ConversionException
default constructor
ConversionException(String) - Constructor for exception org.ontoware.rdf2go.util.ConversionException
constructor, with an injected message
ConversionException(Throwable) - Constructor for exception org.ontoware.rdf2go.util.ConversionException
 
ConversionException(String, Throwable) - Constructor for exception org.ontoware.rdf2go.util.ConversionException
 
ConversionException(String, Object, Class<?>) - Constructor for exception org.ontoware.rdf2go.util.ConversionException
Generate a new conversion exception.
convert(FROM) - Method in interface org.ontoware.rdf2go.util.Converter
convert the passed object to the outgoing object
convert(FROM) - Method in class org.ontoware.rdf2go.util.ConvertingIterator
convert the passed object to the outgoing object
convert(File, Syntax, File, Syntax) - Static method in class org.ontoware.rdf2go.util.ModelUtils
Convert the input file, interpreted in the inputSyntax to outputFile, in outputSyntax.
convert(File[], Syntax[], File, Syntax) - Static method in class org.ontoware.rdf2go.util.ModelUtils
Merge all input files into one model and export to outfile in output syntax
Converter<FROM,TO> - Interface in org.ontoware.rdf2go.util
Converts instances from one type to another.
ConvertingIterator<FROM,TO> - Class in org.ontoware.rdf2go.util
An iterator that converts from "FROM" to "TO", by wrapping an existing iterator.
ConvertingIterator(Iterator<FROM>) - Constructor for class org.ontoware.rdf2go.util.ConvertingIterator
The iterator takes the wrapped class and converts it to other classes on the fly.
ConvertingIterator(Iterator<FROM>, Converter<FROM, TO>) - Constructor for class org.ontoware.rdf2go.util.ConvertingIterator
The iterator takes the wrapped class and converts it to other classes on the fly.
copy(ModelSet, ModelSet) - Static method in class org.ontoware.rdf2go.util.ModelUtils
Copy data from the source modelset to the target modelset.
copy(Model, Model) - Static method in class org.ontoware.rdf2go.util.ModelUtils
If the two models come from different implementations, copying blank nodes needs special care
copyModel(Model) - Static method in class org.ontoware.rdf2go.util.RDFTool
 
count(Iterator<?>) - Static method in class org.ontoware.rdf2go.util.Iterators
Runs through the iterator and returns number of items.

D

date2String(Date) - Static method in class org.ontoware.rdf2go.util.RDFTool
format the given date in a good date format: ISO 8601, using only the date and not the T seperator example: 2003-01-22 Timezone is ignored.
dateTime2DateString(Date) - Static method in class org.ontoware.rdf2go.util.RDFTool
Deprecated. use RDFTool.date2String(Date)
dateTime2String(Date) - Static method in class org.ontoware.rdf2go.util.RDFTool
format the given date in a good dateTime format: ISO 8601, using the T seperator and the - and : seperators accordingly. example: 2003-01-22T17:00:00

F

findStatement(Model, ResourceOrVariable, UriOrVariable, NodeOrVariable) - Static method in class org.ontoware.rdf2go.util.RDFTool
find the first statement that fits the passed triple pattern and return it.

G

generateElement(URI, boolean) - Method in class org.ontoware.rdf2go.util.VocabularyWriter
 
generateMessage(String, Object, Class<?>) - Static method in exception org.ontoware.rdf2go.util.ConversionException
generate the error message
getAdd() - Method in class org.ontoware.rdf2go.util.transform.InferenceRule
 
getDateFormat() - Static method in class org.ontoware.rdf2go.util.RDFTool
format to express dates in ISO 8601.
getDateTimeFormat() - Static method in class org.ontoware.rdf2go.util.RDFTool
get a DateFormat to format dates according to ISO 8601.
getGoodLabel(Node, Model) - Static method in class org.ontoware.rdf2go.util.RDFTool
Get the Displaylabel of a Node.
getLabel(Node) - Static method in class org.ontoware.rdf2go.util.RDFTool
Get the label of a Node.
getOpt(String[]) - Method in class org.ontoware.rdf2go.util.VocabularyWriter
 
getSearch() - Method in class org.ontoware.rdf2go.util.transform.InferenceRule
 
getShortName(String) - Static method in class org.ontoware.rdf2go.util.RDFTool
The passed uri identifies something on the web, probably a namespace.
getSingleValue(Model, Resource, URI) - Static method in class org.ontoware.rdf2go.util.RDFTool
get the property pred of the resource res.
getSingleValue(ModelSet, Resource, URI) - Static method in class org.ontoware.rdf2go.util.RDFTool
 
getSingleValueString(Model, Resource, URI) - Static method in class org.ontoware.rdf2go.util.RDFTool
read the values of a predicate of a resource.
getSingleValueString(ModelSet, Resource, URI) - Static method in class org.ontoware.rdf2go.util.RDFTool
read the values of a predicate of a resource.
getSourceObject() - Method in exception org.ontoware.rdf2go.util.ConversionException
 
getTargetClass() - Method in exception org.ontoware.rdf2go.util.ConversionException
 
go(String[]) - Method in class org.ontoware.rdf2go.util.VocabularyWriter
 
guessSyntax(String) - Static method in class org.ontoware.rdf2go.util.RDFTool
guess the RDF syntax of a filename inspired by com.hp.hpl.jena.graph.impl.FileGraph#guessLang with the addition of toLowerCase

H

hasNext() - Method in class org.ontoware.rdf2go.util.ConvertingIterator
 

I

InferenceRule - Class in org.ontoware.rdf2go.util.transform
 
InferenceRule(String, String) - Constructor for class org.ontoware.rdf2go.util.transform.InferenceRule
 
intersection(Model, Model, Model) - Static method in class org.ontoware.rdf2go.util.ModelUtils
 
Iterators - Class in org.ontoware.rdf2go.util
This class consists exclusively of static methods that operate on or return iterators.
Iterators() - Constructor for class org.ontoware.rdf2go.util.Iterators
 

L

LanguageTools - Class in org.ontoware.rdf2go.util
 
LanguageTools() - Constructor for class org.ontoware.rdf2go.util.LanguageTools
 
loadFromFile(File, Syntax) - Static method in class org.ontoware.rdf2go.util.ModelUtils
Deprecated. This method creates new models via RDF2Go. If multiple model factories are used, this might be wrong. Use instead public static void loadFromFile(File in, Syntax inSyntax, Model sinkModel)
loadFromFile(File, Syntax, Model) - Static method in class org.ontoware.rdf2go.util.ModelUtils
Convenience method to load data from file in in syntax inSyntax and write loaded triples to sinkModel.

M

main(String[]) - Static method in class org.ontoware.rdf2go.util.VocabularyWriter
documentation see class, above.
modelToString(Model) - Static method in class org.ontoware.rdf2go.util.RDFTool
convert a model to a string RDF/XML for serialization
modelToString(ModelSet) - Static method in class org.ontoware.rdf2go.util.RDFTool
 
modelToString(Model, Syntax) - Static method in class org.ontoware.rdf2go.util.RDFTool
convert a model to a string for serialization
modelToString(ModelSet, Syntax) - Static method in class org.ontoware.rdf2go.util.RDFTool
convert a modelset to a string for serialization
ModelUtils - Class in org.ontoware.rdf2go.util
Find a lot of convenience functions that are slow but nice and didn't make it to the Model API.
ModelUtils() - Constructor for class org.ontoware.rdf2go.util.ModelUtils
 

N

NamespaceSearchReplaceRule - Class in org.ontoware.rdf2go.util.transform
Replaces one prefix of all URIs with another prefix.
NamespaceSearchReplaceRule(String, String) - Constructor for class org.ontoware.rdf2go.util.transform.NamespaceSearchReplaceRule
 
next() - Method in class org.ontoware.rdf2go.util.ConvertingIterator
 

O

org.ontoware.rdf2go.util - package org.ontoware.rdf2go.util
 
org.ontoware.rdf2go.util.transform - package org.ontoware.rdf2go.util.transform
 

P

printCommentAndLabel(URI) - Method in class org.ontoware.rdf2go.util.VocabularyWriter
print comment and label of the uri to the passed stream

R

RDFTool - Class in org.ontoware.rdf2go.util
RDFTool, a helper utility to cope with RDF in general.
RDFTool() - Constructor for class org.ontoware.rdf2go.util.RDFTool
 
remove() - Method in class org.ontoware.rdf2go.util.ConvertingIterator
 
removeFrom(ModelSet, ModelSet) - Static method in class org.ontoware.rdf2go.util.ModelUtils
Remove data that is listed in the source modelset from the target modelset.

S

searchAndReplace(Model, String, String) - Static method in class org.ontoware.rdf2go.util.transform.NamespaceSearchReplaceRule
 
searchAndReplace(Model, Map<String, URI>, String, String, String) - Static method in class org.ontoware.rdf2go.util.transform.SearchRemoveAddRule
 
searchAndReplace(Model, Map<String, URI>, URI, URI) - Static method in class org.ontoware.rdf2go.util.transform.URISearchReplaceRule
 
SearchRemoveAddRule - Class in org.ontoware.rdf2go.util.transform
 
SearchRemoveAddRule(String, String, String) - Constructor for class org.ontoware.rdf2go.util.transform.SearchRemoveAddRule
 
SearchRemoveAddRule(String, String) - Constructor for class org.ontoware.rdf2go.util.transform.SearchRemoveAddRule
 
selectLanguage(Model, String) - Static method in class org.ontoware.rdf2go.util.LanguageTools
Deletes all literals except the ones in the desired language.
setSingleValue(Model, Resource, URI, Node) - Static method in class org.ontoware.rdf2go.util.RDFTool
set the property pred of the resource res.
setSingleValue(Model, Resource, URI, String) - Static method in class org.ontoware.rdf2go.util.RDFTool
set the property pred of the resource res.
sha1sum(String) - Static method in class org.ontoware.rdf2go.util.RDFTool
compute the sha1sum of a string (useful for handling FOAF data).
size(Iterable<?>) - Static method in class org.ontoware.rdf2go.util.ModelUtils
Count statements in iterable 'it'
size(Iterator<?>) - Static method in class org.ontoware.rdf2go.util.ModelUtils
Count statements in iterator 'it'
sparqlEncode(String) - Static method in class org.ontoware.rdf2go.util.SparqlUtil
 
sparqlRegExpEncode(String) - Static method in class org.ontoware.rdf2go.util.SparqlUtil
 
SparqlUtil - Class in org.ontoware.rdf2go.util
Helper for SPARQL encode/decode of strings
SparqlUtil() - Constructor for class org.ontoware.rdf2go.util.SparqlUtil
 
string2Date(String) - Static method in class org.ontoware.rdf2go.util.RDFTool
try to get a date out of a string.
string2DateTime(String) - Static method in class org.ontoware.rdf2go.util.RDFTool
format the given date in a good date format: ISO 8601, using only the date and not the T seperator example: 2003-01-22 This ignores timezones.
stringToModel(String) - Static method in class org.ontoware.rdf2go.util.RDFTool
convenience function to create a memModel from an RDF/XML-ABBREV stream
stringToModel(String, Syntax) - Static method in class org.ontoware.rdf2go.util.RDFTool
convenience function to create a memModel from a string

T

toBoolean(DatatypeLiteral) - Static method in class org.ontoware.rdf2go.util.TypeConverter
 
toByte(DatatypeLiteral) - Static method in class org.ontoware.rdf2go.util.TypeConverter
 
toChar(DatatypeLiteral) - Static method in class org.ontoware.rdf2go.util.TypeConverter
 
toDouble(DatatypeLiteral) - Static method in class org.ontoware.rdf2go.util.TypeConverter
 
toFloat(DatatypeLiteral) - Static method in class org.ontoware.rdf2go.util.TypeConverter
 
toInt(DatatypeLiteral) - Static method in class org.ontoware.rdf2go.util.TypeConverter
 
toJavaNetUri(DatatypeLiteral) - Static method in class org.ontoware.rdf2go.util.TypeConverter
 
toLong(DatatypeLiteral) - Static method in class org.ontoware.rdf2go.util.TypeConverter
 
toSparqlConstruct(Map<String, URI>, String, String) - Static method in class org.ontoware.rdf2go.util.transform.Transformer
 
toSparqlLiteral(String) - Static method in class org.ontoware.rdf2go.util.SparqlUtil
 
toString(Iterator<?>, String) - Static method in class org.ontoware.rdf2go.util.Iterators
Converts an iterator to a string by concatenating all of the string representations of objects in the iterator, divided by a separator.
toString(Iterator<?>, String, StringBuilder) - Static method in class org.ontoware.rdf2go.util.Iterators
Converts an iterator to a string by concatenating all of the string representations of objects in the iterator, divided by a separator.
transform(Model, Map<String, URI>, List<TransformerRule>) - Static method in class org.ontoware.rdf2go.util.transform.Transformer
 
Transformer - Class in org.ontoware.rdf2go.util.transform
Transforms RDF syntactically according to configuration, e.g. renaming properties
Transformer() - Constructor for class org.ontoware.rdf2go.util.transform.Transformer
 
TransformerRule - Interface in org.ontoware.rdf2go.util.transform
 
TypeConverter - Class in org.ontoware.rdf2go.util
Converts RDF2Go nodes into Java datatypes
TypeConverter() - Constructor for class org.ontoware.rdf2go.util.TypeConverter
 

U

union(Model, Model, Model) - Static method in class org.ontoware.rdf2go.util.ModelUtils
 
URISearchReplaceRule - Class in org.ontoware.rdf2go.util.transform
 
URISearchReplaceRule(URI, URI) - Constructor for class org.ontoware.rdf2go.util.transform.URISearchReplaceRule
 

V

VocabularyWriter - Class in org.ontoware.rdf2go.util
reads an RDF/S file and creates an RDF2Go Vocabulary file from it.
VocabularyWriter() - Constructor for class org.ontoware.rdf2go.util.VocabularyWriter
 

W

writeToFile(Model, File, Syntax) - Static method in class org.ontoware.rdf2go.util.ModelUtils
 

A C D F G H I L M N O P R S T U V W

Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.