public class ShelfmarkNormalizer
extends java.lang.Object
Constructor and Description |
---|
ShelfmarkNormalizer() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getNotation(java.lang.String shelfmark)
returns the part of the string matching the shelfmark pattern
|
static boolean |
isBookShelfmark(java.lang.String shelfmark)
checks whether the given string is a shelfmark for books
|
static boolean |
isJournalShelfmark(java.lang.String shelfmark)
checks whether the given string is a shelfmark for journals
|
static java.lang.String |
normalize(java.lang.String shelfmark)
normalizes the shelfmarks to a common standard
|
public static java.lang.String normalize(java.lang.String shelfmark)
shelfmark
- the shelfmark zo be normalizedpublic static boolean isBookShelfmark(java.lang.String shelfmark)
shelfmark
- the shelfmark to be checkedpublic static java.lang.String getNotation(java.lang.String shelfmark)
shelfmark
- the shelfmarkpublic static boolean isJournalShelfmark(java.lang.String shelfmark)
shelfmark
- the shelfmark to be checked