summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/uic/barcode/asn1/datatypes/Alphabet.java
blob: 2b153ae67423d262ba4a0e307450ce5b1eba3c94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package org.uic.barcode.asn1.datatypes;

/**
 * Alphabet class for Restricted Strings.
 *
 * Use {@link AlphabetBuilder} for convenient construction of restriction alphabets.
 */
public abstract class Alphabet {

    private final String chars;

    protected Alphabet(String chars) {
        this.chars = chars;
    }

    public final String chars() {
        return chars;
    }

}