|
abc4j API Specification | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use scanner | |
|---|---|
| abc.midi | This package contains all classes for midi use from abc format. |
| abc.parser | This package contains classes for parsing tunes in abc notation. |
| abc.ui.swing | This package contains classes for displaying abc related objects in swing UI components. Such components are closely linked to music abstractions defined in package abc.notation and propose advanced UI components that take advantage of information offered by objects such as Tune, Tune.Music etc... |
| scanner | This package contains classes for scanners needed for syntax analysis : a scanner is in charge of retrieving tokens from an input stream. |
| Classes in scanner used by abc.midi | |
|---|---|
| PositionableInCharStream
Interface that should be implemented by any object that has a position in a char stream. |
|
| Classes in scanner used by abc.parser | |
|---|---|
| CharStreamPosition
This class defines positions in a stream of characters. |
|
| InvalidCharacterEvent
This event is thrown when an unexpected character is encountered. |
|
| PositionableInCharStream
Interface that should be implemented by any object that has a position in a char stream. |
|
| Scanner
A scanner is able to separate tokens from an input stream, following states defined in a finale state automata. |
|
| Token
Tokens are objects created by a scanner while scanning a stream of characters. |
|
| TokenEvent
This event is thrown when a new token has been detected. |
|
| TokenType
Tokens types add semantic to tokens to diferenciate them. |
|
| Classes in scanner used by abc.ui.swing | |
|---|---|
| PositionableInCharStream
Interface that should be implemented by any object that has a position in a char stream. |
|
| Classes in scanner used by scanner | |
|---|---|
| AutomataDefinition
This class enables the description of automatas. |
|
| CharStreamPosition
This class defines positions in a stream of characters. |
|
| FinaleStateAutomata
This class defines finale state automatas. |
|
| InvalidCharacterEvent
This event is thrown when an unexpected character is encountered. |
|
| NoSuchTokenException
A runtime exception thrown when no more token can be generated. |
|
| NoTransitionFoundException
A runtime exception thrown when no transition is found when sending a character in a finale state automata. |
|
| PositionableInCharStream
Interface that should be implemented by any object that has a position in a char stream. |
|
| ScannerListenerInterface
This interface should be implemented by any object that wants to listen to scanner events thrown during characters stream scanning. |
|
| Set
This class defines sets used to group token types while parsing. |
|
| State
This class defines states used in finale state automata. |
|
| Token
Tokens are objects created by a scanner while scanning a stream of characters. |
|
| TokenEvent
This event is thrown when a new token has been detected. |
|
| TokenType
Tokens types add semantic to tokens to diferenciate them. |
|
| Transition
This class defines transitions between states that are used for defining finale state automatas. |
|
|
abc4j API Specification | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||