org.dlese.dpc.index.writer
Class IndexingTools
java.lang.Object
org.dlese.dpc.index.writer.IndexingTools
- public class IndexingTools
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexingTools
public IndexingTools()
tokenizeID
public static String tokenizeID(String ID)
- Tokenizes a DLESE ID by replacing the char - with a blank space.
- Parameters:
ID
- The ID String
- Returns:
- The tokenized ID
tokenizeURI
public static String tokenizeURI(String uri)
- Tokenizes a URI by replacing the unindexable chars with a blank space.
- Parameters:
uri
- A URL or URI
- Returns:
- The tokenized URI