Package alps.java.api.util
Klasse StaticFunctions
java.lang.Object
alps.java.api.util.StaticFunctions
-
Feldübersicht
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic String
addGenericBaseURI
(String input) static String
removeBaseUri
(String input, String baseuri) Replaces a base uri contained in a string with a generic placeholder.static String
replaceBaseUriWithGeneric
(String input, String baseuri) Replaces a base uri contained in a string with a generic placeholder.
-
Felddetails
-
BASE_URI_SEPARATOR
public static final char BASE_URI_SEPARATOR- Siehe auch:
-
-
Konstruktordetails
-
StaticFunctions
public StaticFunctions()
-
-
Methodendetails
-
replaceBaseUriWithGeneric
Replaces a base uri contained in a string with a generic placeholder. Example: http://www.imi.kit.edu/exampleBaseURI#MyModel1 will return baseuri:MyModel1. The baseuri name mapping is defined in the triple store graph. This way, the base uri can be changed without changing all triples.- Parameter:
input
- The string that MAY contain a base uri- Gibt zurück:
- the string without specific base uri
-
removeBaseUri
Replaces a base uri contained in a string with a generic placeholder. Example: http://www.imi.kit.edu/exampleBaseURI#MyModel1 will return baseuri:MyModel1. The baseuri name mapping is defined in the triple store graph. This way, the base uri can be changed without changing all triples.- Parameter:
input
- The string that MAY contain a base uribaseuri
-- Gibt zurück:
- the string without specific base uri
-
addGenericBaseURI
-