Inheritance diagram for HangulReplacement:

Public Member Functions | |
| synchronized String | getReplacement (String input) |
Gives the temporary replacement for the prefix of input. | |
| synchronized String | replacesPrefixOf (String input) |
Searches a prefix of input which is replaced by this mapping. | |
| synchronized String[] | isContinuationOf (String input) |
Checks, if the there is a matching continuation of input. | |
| String | getInputInfo () |
| Returns a typical input for documentation purposes. | |
| String | getReplacementInfo () |
| Returns a typical replacement for documentation purposes. | |
| HangulReplacement (BufferedReader input) throws IOException, FileFormatException | |
Package Attributes | |
| String | prefix = null |
| String | suffix = null |
| String | placeHolder = "XXXX" |
| String | replinfo = null |
| int | caseHandling = CASE_UPPER |
| int | choseong = 0 |
| int | jungseong = 0 |
| int | jongseong = 0 |
Static Package Attributes | |
| final int | CASE_UPPER = 1 |
| final int | CASE_LOWER = 2 |
| final int | CASE_IGNORE = 3 |
Private Member Functions | |
| void | parseInput (String input) |
Private Attributes | |
| String | cache = null |
| int | pfxLength |
| String | continuation1 |
| String | continuation2 |
|
|
Definition at line 495 of file HangulReplacement.java. References CASE_IGNORE, caseHandling, placeHolder, prefix, replinfo, and suffix. |
|
|
Returns a typical input for documentation purposes.
This methods yield a string representing a typical input of this InputReplacement. It may but does not need to be a prefix matched by
Implements InputReplacement. Definition at line 489 of file HangulReplacement.java. References placeHolder, prefix, and suffix. Referenced by parseInput(). |
|
|
Gives the temporary replacement for the prefix of
This method yields a replacement for the prefix returned by
This method must not be called if
Implements InputReplacement. Definition at line 20 of file HangulReplacement.java. References choseong, getReplacement(), jongseong, jungseong, and parseInput(). Referenced by getReplacement(). |
|
|
Returns a typical replacement for documentation purposes.
This method returns the replacement counterpart of getInputInfo() (like
The default behaviour of this method is to return
If
Reimplemented from InputReplacement. Definition at line 492 of file HangulReplacement.java. References replinfo. |
|
|
Checks, if the there is a matching continuation of
More formally, checks for the existence of a string <blockquote> cont.startsWith(input) && !cont.equals(input) && replacesPrefixOf(input)!=null && !replacesPrefixOf(input).equals(cont)
If this InputReplacement replaces only one single string
If there is a continuation, this methods returns an array of continuations to present the user. This may be the set of all strings
Implements InputReplacement. Definition at line 482 of file HangulReplacement.java. References continuation1, continuation2, and isContinuationOf(). Referenced by isContinuationOf(). |
|
|
Definition at line 34 of file HangulReplacement.java. References cache, CASE_IGNORE, CASE_LOWER, caseHandling, choseong, continuation1, continuation2, getInputInfo(), jongseong, jungseong, parseInput(), pfxLength, placeHolder, prefix, and suffix. Referenced by getReplacement(), parseInput(), and replacesPrefixOf(). |
|
|
Searches a prefix of
If this mapping can replace more than one prefix of
Implements InputReplacement. Definition at line 29 of file HangulReplacement.java. References parseInput(), pfxLength, and replacesPrefixOf(). Referenced by replacesPrefixOf(). |
|
|
Definition at line 13 of file HangulReplacement.java. Referenced by parseInput(). |
|
|
Definition at line 7 of file HangulReplacement.java. Referenced by HangulReplacement(), and parseInput(). |
|
|
Definition at line 6 of file HangulReplacement.java. Referenced by parseInput(). |
|
|
Definition at line 5 of file HangulReplacement.java. |
|
|
Definition at line 12 of file HangulReplacement.java. Referenced by HangulReplacement(), and parseInput(). |
|
|
Definition at line 17 of file HangulReplacement.java. Referenced by getReplacement(), and parseInput(). |
|
|
Definition at line 15 of file HangulReplacement.java. Referenced by isContinuationOf(), and parseInput(). |
|
|
Definition at line 16 of file HangulReplacement.java. Referenced by isContinuationOf(), and parseInput(). |
|
|
Definition at line 19 of file HangulReplacement.java. Referenced by getReplacement(), and parseInput(). |
|
|
Definition at line 18 of file HangulReplacement.java. Referenced by getReplacement(), and parseInput(). |
|
|
Definition at line 14 of file HangulReplacement.java. Referenced by parseInput(), and replacesPrefixOf(). |
|
|
Definition at line 10 of file HangulReplacement.java. Referenced by getInputInfo(), HangulReplacement(), and parseInput(). |
|
|
Definition at line 8 of file HangulReplacement.java. Referenced by getInputInfo(), HangulReplacement(), and parseInput(). |
|
|
Definition at line 11 of file HangulReplacement.java. Referenced by getReplacementInfo(), and HangulReplacement(). |
|
|
Definition at line 9 of file HangulReplacement.java. Referenced by getInputInfo(), HangulReplacement(), and parseInput(). |
1.3.7