A B C D E G I M N O P R U V

A

addMaps(AbstractMap<String, String>, AbstractMap<String, String>) - Static method in class org.nbnResolving.common.URNUtils
Adds two given maps and returns a map that contains key|value pairs of both.
addParamsToUrl(String, AbstractMap<String, String>) - Static method in class org.nbnResolving.common.URNUtils
Adds given new parameters to existing URL.
addQueryToUrl(String, String) - Static method in class org.nbnResolving.common.URNUtils
Adds given new query to existing URL.

B

BAD_COUNTRY_CODE - Static variable in class org.nbnResolving.common.Rfc3188Validator
Two digit country code is not in ISO 3106 list
buildUrl(String, String, String, int, String, AbstractMap<String, String>, boolean, String, boolean) - Static method in class org.nbnResolving.common.URNUtils
Builds an URI from its given components.

C

charsValid(String) - Static method in class org.nbnResolving.common.Rfc3188Validator
Check if only allowed chars are used.
CHECKSUM_NOT_A_NUMBER - Static variable in class org.nbnResolving.common.DnbUrnValidator
Checksum must be a number
compare(String, String) - Method in class org.nbnResolving.common.UrlComparator
 
correctUrlString(String, boolean, boolean) - Static method in class org.nbnResolving.common.URNUtils
Tries to return a RFC compatible, normalized URL as string from a given string.
correctUtf8error(String) - Static method in class org.nbnResolving.common.URNUtils
Corrects wrong converted or encoded strings.

D

DnbUrnValidator - Class in org.nbnResolving.common
Class extending the validation of an URN from RFC level to the German National Library URN policy level (more strict).
DnbUrnValidator() - Constructor for class org.nbnResolving.common.DnbUrnValidator
 

E

EMPTY_NBN_STRING - Static variable in class org.nbnResolving.common.Rfc3188Validator
Assigned NBN string can not be empty
EMPTY_SUBNAMESPACE - Static variable in class org.nbnResolving.common.Rfc3188Validator
Sub-Namespace Code can not be empty

G

getChecksum(String) - Static method in class org.nbnResolving.common.URNUtils
Calculates the checksum of the given string.
getDateURN(String) - Static method in class org.nbnResolving.common.URNUtils
Returns a valid URN for the given Namespace beginning with actual date.
getNormalisedPath(String) - Static method in class org.nbnResolving.common.URNUtils
Normalises given URL Path.
getParameterMap(String, String) - Static method in class org.nbnResolving.common.URNUtils
Parses a URL query and returns key, value pairs as a TreeMap.
getParameterMap(URL) - Static method in class org.nbnResolving.common.URNUtils
Parses an URL query and returns key|value pairs as a TreeMap.
getRandomURN(String) - Static method in class org.nbnResolving.common.URNUtils
Returns a random generated, valid URN for the given Namespace.
getURN(String) - Static method in class org.nbnResolving.common.URNUtils
Returns a valid URN with checksum for the given identifier without checksum.
getURNforId(String, String) - Static method in class org.nbnResolving.common.URNUtils
Returns a valid URN for the given Namespace and another id.

I

INVALID_CHAR_NBN - Static variable in class org.nbnResolving.common.Rfc3188Validator
Not allowed Character in NBN String
INVALID_CHAR_NID - Static variable in class org.nbnResolving.common.Rfc3188Validator
Not allowed Character in Namespace
INVALID_CHECKSUM - Static variable in class org.nbnResolving.common.DnbUrnValidator
Wrong checksum
iso3106Codes - Static variable in class org.nbnResolving.common.Rfc3188Validator
All two digit country codes according to ISO 3166 "http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm"

M

mapToEncodedString(AbstractMap<String, String>, String) - Static method in class org.nbnResolving.common.URNUtils
Iterates all elements of a map and returns key=value pairs separated with given delimiter as URLEncoded string.
mapToString(AbstractMap<String, String>, String) - Static method in class org.nbnResolving.common.URNUtils
Iterates all elements of a map and returns key=value pairs separated with given delimiter as string.
MAX_NAMESPACE_LENGTH - Static variable in class org.nbnResolving.common.DnbUrnValidator
Max NAMESPACE length
MAX_UNIQUE_PART_LENGTH - Static variable in class org.nbnResolving.common.DnbUrnValidator
Max UNIQUE PART length
MAX_URN_LENGTH - Static variable in class org.nbnResolving.common.DnbUrnValidator
Max URN length
MIN_URN_LENGTH - Static variable in class org.nbnResolving.common.DnbUrnValidator
Min URN length
MUST_START_WITH_URN - Static variable in class org.nbnResolving.common.Rfc3188Validator
NID must start with URN:.

N

NAMESPACE_TOO_LONG - Static variable in class org.nbnResolving.common.DnbUrnValidator
Namespace must be shorter than 52 characters
NID_TOO_SHORT - Static variable in class org.nbnResolving.common.Rfc3188Validator
NID too short.
NO_SEPERATOR - Static variable in class org.nbnResolving.common.DnbUrnValidator
Parts of an URN must be separated by a - character
normalize(String, boolean) - Static method in class org.nbnResolving.common.URNUtils
Normalizes the "Percent Encoding" of an URI
NOT_A_NBN - Static variable in class org.nbnResolving.common.Rfc3188Validator
Only NBNs are allowed
NOT_TWO_DIGIT_CODE - Static variable in class org.nbnResolving.common.Rfc3188Validator
Only two digit country codes defined in ISO 3106 are allowed

O

org.nbnResolving.common - package org.nbnResolving.common
 

P

PART_COUNT_TOO_LOW - Static variable in class org.nbnResolving.common.Rfc3188Validator
NID must have at least 4 parts.

R

Rfc3188Validator - Class in org.nbnResolving.common
Class for validation of an URN according to RFC.
Rfc3188Validator() - Constructor for class org.nbnResolving.common.Rfc3188Validator
 

U

UNIQUE_PART_TOO_LONG - Static variable in class org.nbnResolving.common.DnbUrnValidator
Unique ID part can be max 200 characters + checksum digit
UNKNOWN_NAMESPACE - Static variable in class org.nbnResolving.common.DnbUrnValidator
Namespace not registered
UrlComparator - Class in org.nbnResolving.common
 
UrlComparator() - Constructor for class org.nbnResolving.common.UrlComparator
 
URN_EQUALS_NULL - Static variable in class org.nbnResolving.common.Rfc3188Validator
URN is NULL
URN_IS_EMPTY - Static variable in class org.nbnResolving.common.Rfc3188Validator
URN is empty
URN_IS_VALID - Static variable in class org.nbnResolving.common.Rfc3188Validator
URN is VALID
URN_TOO_LONG - Static variable in class org.nbnResolving.common.DnbUrnValidator
URNs must be shorter than 254 characters
URN_TOO_SHORT - Static variable in class org.nbnResolving.common.DnbUrnValidator
URNs must be longer than 15 characters
URNUtils - Class in org.nbnResolving.common
Class to generate URNs and/or URN-Checksums See the URN documentation and www.persistent-identifier.de Some URL normalizing utility functions are also implemented.
URNUtils() - Constructor for class org.nbnResolving.common.URNUtils
 

V

VALID_CHARS - Static variable in class org.nbnResolving.common.Rfc3188Validator
All in URN:NBN allowed characters
validateUrn(String) - Static method in class org.nbnResolving.common.DnbUrnValidator
Validates if the given URN is compliant German National Library URN policy.
validateUrn(String) - Static method in class org.nbnResolving.common.Rfc3188Validator
Method to check if the given URN satisfies the syntax defined in RFC 2141.

A B C D E G I M N O P R U V

Copyright © 2013 Deutsche Nationalbibliothek / German National Library. All Rights Reserved.