Uses of Class
org.apache.jena.riot.RDFParserBuilder
Packages that use RDFParserBuilder
-
Uses of RDFParserBuilder in org.apache.jena.riot
Methods in org.apache.jena.riot that return RDFParserBuilderModifier and TypeMethodDescriptionRDFParserBuilder.acceptHeader(String acceptHeader) Set the HTTP "Accept" header.Set the base URI for parsing.RDFParserBuilder.canonicalLiterals(boolean flag) Deprecated.RDFParserBuilder.canonicalValues(boolean flag) Convert the lexical form of literals to a canonical form.RDFParserBuilder.checking(boolean flag) Set whether to perform checking, NTriples and NQuads default to no checking, other languages to checking.RDFParserBuilder.clone()Duplicate this builder with current settings.Set the context for the parser when built.static RDFParserBuilderRDFParser.create()Create anRDFParserBuilder.static RDFParserBuilderRDFParserBuilder.create()RDFParserBuilder.errorHandler(ErrorHandler handler) Set theErrorHandlerto use.RDFParserBuilder.factory(FactoryRDF factory) Set theFactoryRDFto use.Force the choice RDF syntax to belang, and ignore any indications such as file extension or HTTP Content-Type.static RDFParserBuilderRDFParser.fromString(String string) Create anRDFParserBuilderand set content to parse to be the given string.RDFParserBuilder.fromString(String string) Use the given string as the content to parse.RDFParserBuilder.httpAccept(String acceptHeader) Deprecated.RDFParserBuilder.httpHeader(String header, String value) Set an HTTP header.RDFParserBuilder.labelToNode(LabelToNode labelToNode) Use the givenLabelToNode, the policy for converting blank node labels in RDF syntax to Jena'sNodeobjects (usually a blank node).Set the hintLang.RDFParserBuilder.langTagAsGiven()The form of the language tags as given in the data is preserved.RDFParserBuilder.langTagCanonical()Language tags are case-normalized as defined by RFC 5646.RDFParserBuilder.langTagLowerCase()Convert language tags to lower case.RDFParserBuilder.resolver(IRIxResolver resolver) Provide a specificIRIxResolverto check and resolve URIs.RDFParserBuilder.resolveURIs(boolean flag) Choose whether to resolve URIs.
This does not affect all languages: N-Triples and N-Quads never resolve URIs.
Relative URIs are bad data.
Only set this to false for debugging and development purposes.Add a setting to the context for the parser when built.Add a setting to the context for the parser when built.static RDFParserBuilderRDFParser.source(InputStream input) Create anRDFParserBuilderand set the source toInputStream.static RDFParserBuilderCreate anRDFParserBuilderand set the source to the URI, which can be a filename.static RDFParserBuilderCreate anRDFParserBuilderand set the source to thePath.RDFParserBuilder.source(InputStream input) Set the source toInputStream.Deprecated.UsefromString(java.lang.String), or an InputStream or a StringReader.RDFParserBuilder.source(StringReader reader) Set the source toStringReader.Set the source to a URI; this includes OS file names.Set the source toPath.RDFParserBuilder.streamManager(StreamManager streamManager) Set the StreamManager to use when opening a URI (including files by name, but not byPath).RDFParserBuilder.strict(boolean strictMode) Set the parser built to "strict" mode. -
Uses of RDFParserBuilder in org.apache.jena.riot.system
Method parameters in org.apache.jena.riot.system with type arguments of type RDFParserBuilderModifier and TypeMethodDescriptionstatic voidAsyncParser.asyncParseSources(List<RDFParserBuilder> sources, StreamRDF output) Parse a number of sources (RDFParserBuilders) on a separate thread and send the output to a StreamRDF on the callers thread.
canonicalValuesand one oflangTagCanonical()andlangTagLowerCase()