Code example for Collator

Methods: setDecompositionsetStrength

    private static final long serialVersionUID = -8389462290545629792L;
    // use a collator to relax when distinguishing between lowercase und uppercase letters 
    private static final Collator insensitiveCollator = Collator.getInstance(Locale.US);
    static { 
    int recordCounter;
    private final DigestURI source;
    public ResumptionToken(final DigestURI source, final byte[] b) throws IOException {
        super((Collator) insensitiveCollator.clone());
        this.source = source;
        this.recordCounter = 0;
        new Parser(b);
Connect your IDE to all the code out there  Get Codota for Java