public class UriPattern extends RdfBase implements Comparable<UriPattern>
DEFAULT_BASE_URI, DEFAULT_FILE_FORMAT| Modifier and Type | Method and Description |
|---|---|
void |
add(org.openrdf.repository.RepositoryConnection repositoryConnection) |
static void |
addAll(org.openrdf.repository.RepositoryConnection repositoryConnection) |
static Set<UriPattern> |
byCode(String code) |
static SortedSet<UriPattern> |
byCodeAndType(String code,
UriPatternType patternType) |
static UriPattern |
byPattern(String pattern) |
static void |
checkRegexPatterns() |
int |
compareTo(UriPattern other) |
static UriPattern |
existingByPattern(String pattern) |
static UriPattern |
existingByPrefixAndPostfix(String prefix,
String postfix) |
String |
getIdFromUri(String uri) |
String |
getPostfix() |
String |
getPrefix() |
org.openrdf.model.URI |
getResourceId() |
Set<String> |
getSysCodes() |
UriPatternType |
getType() |
String |
getUri(String id) |
String |
getUriPattern() |
static SortedSet<UriPattern> |
getUriPatterns() |
boolean |
hasPostfix() |
static UriPattern |
readUriPattern(org.openrdf.repository.RepositoryConnection repositoryConnection,
org.openrdf.model.Resource uriPatternId,
String code,
UriPatternType patternType) |
static void |
refreshUriPatterns() |
static UriPattern |
register(String pattern,
String sysCode,
UriPatternType patternType) |
static void |
registerUriPatterns() |
String |
toString() |
getPossibleSingletonString, getSingletonString, shutDownpublic String getPrefix()
public String getPostfix()
public boolean hasPostfix()
public static void refreshUriPatterns()
throws BridgeDBException
BridgeDBExceptionpublic static void registerUriPatterns()
throws BridgeDBException
BridgeDBExceptionpublic static SortedSet<UriPattern> getUriPatterns()
public static UriPattern register(String pattern, String sysCode, UriPatternType patternType) throws BridgeDBException
BridgeDBExceptionpublic static UriPattern byPattern(String pattern) throws BridgeDBException
BridgeDBExceptionpublic static UriPattern existingByPattern(String pattern) throws BridgeDBException
BridgeDBExceptionpublic static UriPattern existingByPrefixAndPostfix(String prefix, String postfix) throws BridgeDBException
BridgeDBExceptionpublic final org.openrdf.model.URI getResourceId()
public String getUriPattern()
public static void addAll(org.openrdf.repository.RepositoryConnection repositoryConnection)
throws IOException,
org.openrdf.repository.RepositoryException,
BridgeDBException
IOExceptionorg.openrdf.repository.RepositoryExceptionBridgeDBExceptionpublic void add(org.openrdf.repository.RepositoryConnection repositoryConnection)
throws org.openrdf.repository.RepositoryException
org.openrdf.repository.RepositoryExceptionpublic static UriPattern readUriPattern(org.openrdf.repository.RepositoryConnection repositoryConnection, org.openrdf.model.Resource uriPatternId, String code, UriPatternType patternType) throws BridgeDBException, org.openrdf.repository.RepositoryException
BridgeDBExceptionorg.openrdf.repository.RepositoryExceptionpublic int compareTo(UriPattern other)
compareTo in interface Comparable<UriPattern>public String getIdFromUri(String uri) throws BridgeDBException
BridgeDBExceptionpublic static SortedSet<UriPattern> byCodeAndType(String code, UriPatternType patternType)
public static Set<UriPattern> byCode(String code)
public UriPatternType getType()
public static void checkRegexPatterns()
throws BridgeDBException
BridgeDBExceptionCopyright © 2006–2021 BridgeDb project. All rights reserved.