Class E_EncodeForQsa
java.lang.Object
org.apache.jena.sparql.function.FunctionBase
org.apache.jena.sparql.function.FunctionBase1
org.aksw.jena_sparql_api.sparql.ext.http.E_EncodeForQsa
- All Implemented Interfaces:
org.apache.jena.sparql.function.Function
public class E_EncodeForQsa
extends org.apache.jena.sparql.function.FunctionBase1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringSource: http://stackoverflow.com/questions/607176/java-equivalent-to-javascripts- encodeuricomponent-that-produces-identical-outpu Encodes the passed String as UTF-8 using an algorithm that's compatible with JavaScript'sencodeURIComponentfunction.org.apache.jena.sparql.expr.NodeValueexec(org.apache.jena.sparql.expr.NodeValue nv) Methods inherited from class org.apache.jena.sparql.function.FunctionBase1
checkBuild, execMethods inherited from class org.apache.jena.sparql.function.FunctionBase
build, exec, exec
-
Constructor Details
-
E_EncodeForQsa
public E_EncodeForQsa()
-
-
Method Details
-
encodeURIComponent
Source: http://stackoverflow.com/questions/607176/java-equivalent-to-javascripts- encodeuricomponent-that-produces-identical-outpu Encodes the passed String as UTF-8 using an algorithm that's compatible with JavaScript'sencodeURIComponentfunction. Returnsnullif the String isnull.- Parameters:
s- The String to be encoded- Returns:
- the encoded String
-
exec
public org.apache.jena.sparql.expr.NodeValue exec(org.apache.jena.sparql.expr.NodeValue nv) - Specified by:
execin classorg.apache.jena.sparql.function.FunctionBase1
-