|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjcfunc.Sequences
public class Sequences
Class Sequencies stores subsets of control functions, patterns
and methods to work with them.
see
"Standart ECMA-48 Control functions for coded characters sets"
| Nested Class Summary | |
|---|---|
static class |
Sequences.C0
Control function of C0-set |
static class |
Sequences.C1
Control function of C1-set |
static class |
Sequences.Record
Class Record stores RegExp-patterns. |
static class |
Sequences.Sym
Additional symbols |
| Field Summary | |
|---|---|
static int |
MODE_7BIT
Control functions are reprsented in 7-bit code |
static int |
MODE_8BIT
Control functions are reprsented in 8-bit code |
| Constructor Summary | |
|---|---|
Sequences()
|
|
| Method Summary | |
|---|---|
static java.util.EnumMap<CF,Sequences.Record> |
generateFullWorkingSet()
Returns map of Records. |
static java.util.EnumMap<CF,Sequences.Record> |
generateWorkingSet(CF... args)
Returns map of Records. |
static java.lang.String |
getCFPattern(CF cmd,
int mode)
Returns control function's RegExp-pattern. |
static java.lang.String |
getCommonCFPattern(int mode,
boolean exceptLF_CR)
Returns common control function's RegExp-pattern, which matches any sequence. |
static java.lang.String |
getCommonCFPattern(int mode,
Sequences.C0[] exclC0Set,
Sequences.C1[] exclC1Set,
Sequences.Sym[] exclSymSet)
Returns common control function's RegExp-pattern, which matches any sequence. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MODE_7BIT
public static final int MODE_8BIT
| Constructor Detail |
|---|
public Sequences()
| Method Detail |
|---|
public static java.util.EnumMap<CF,Sequences.Record> generateFullWorkingSet()
public static java.util.EnumMap<CF,Sequences.Record> generateWorkingSet(CF... args)
args - array of control functions
public static java.lang.String getCFPattern(CF cmd,
int mode)
cmd - control functionmode - mode of control function's repersentation, MODE_7BIT and MODE_8BIT
public static java.lang.String getCommonCFPattern(int mode,
boolean exceptLF_CR)
mode - mode of control function's repersentation, MODE_7BIT or MODE_8BITexceptLF_CR - enables skipping following symbols: Line Feed and Carriage Return
public static java.lang.String getCommonCFPattern(int mode,
Sequences.C0[] exclC0Set,
Sequences.C1[] exclC1Set,
Sequences.Sym[] exclSymSet)
mode - mode of control function's repersentation, MODE_7BIT or MODE_8BITexclC0Set - array of excluded C0-functionsexclC1Set - array of excluded C1-functionsexclSymSet - array of excluded symbols (from CSI-functions)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||