Method Summary |
|
public static String | escapeString(String label) Escapes a Unicode string to an all-ASCII character sequence. |
public static boolean | isLetter(int c) Checks whether the supplied character is a letter according to
the N-Triples specification. |
public static boolean | isLetterOrNumber(int c) Checks whether the supplied character is a letter or number
according to the N-Triples specification. |
public static boolean | isNumber(int c) Checks whether the supplied character is a number according to
the N-Triples specification. |
public static BNode | parseBNode(String nTriplesBNode, ValueFactory valueFactory) Parses an N-Triples bNode, creates an object for it using the
supplied ValueFactory and returns this object.
Parameters: nTriplesBNode - The N-Triples bNode to parse. Parameters: valueFactory - The ValueFactory to use for creating theobject. |
public static Literal | parseLiteral(String nTriplesLiteral, ValueFactory valueFactory) Parses an N-Triples literal, creates an object for it using the
supplied ValueFactory and returns this object.
Parameters: nTriplesLiteral - The N-Triples literal to parse. Parameters: valueFactory - The ValueFactory to use for creating theobject. |
public static Resource | parseResource(String nTriplesResource, ValueFactory valueFactory) Parses an N-Triples resource, creates an object for it using
the supplied ValueFactory and returns this object.
Parameters: nTriplesResource - The N-Triples resource to parse. Parameters: valueFactory - The ValueFactory to use for creating theobject. |
public static URI | parseURI(String nTriplesURI, ValueFactory valueFactory) Parses an N-Triples URI, creates an object for it using the
supplied ValueFactory and returns this object.
Parameters: nTriplesURI - The N-Triples URI to parse. Parameters: valueFactory - The ValueFactory to use for creating theobject. |
public static Value | parseValue(String nTriplesValue, ValueFactory valueFactory) Parses an N-Triples value, creates an object for it using the
supplied ValueFactory and returns this object.
Parameters: nTriplesValue - The N-Triples value to parse. Parameters: valueFactory - The ValueFactory to use for creating theobject. |
public static String | toHexString(int decimal, int stringLength) Converts a decimal value to a hexadecimal string represention
of the specified length. |
public static String | toNTriplesString(Value value) Creates an N-Triples string for the supplied value. |
public static String | toNTriplesString(Resource resource) Creates an N-Triples string for the supplied resource. |
public static String | toNTriplesString(URI uri) Creates an N-Triples string for the supplied URI. |
public static String | toNTriplesString(BNode bNode) Creates an N-Triples string for the supplied bNode. |
public static String | toNTriplesString(Literal lit) Creates an N-Triples string for the supplied literal. |
public static String | unescapeString(String s) Unescapes an escaped Unicode string. |