summaryrefslogtreecommitdiffstats
path: root/src/net/gcdc/asn1/datatypes/Alphabet.java
blob: b89c4815c455e61d388c2961845ac860c9fb06e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package net.gcdc.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;
    }

}