A B C D E F G H I J K L M N O P R S T U V W X Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABR - Static variable in interface net.morimekta.strings.chr.Char
-
Abort - [Control c]
- ACK - Static variable in interface net.morimekta.strings.chr.Char
-
Acknowledge Enquiry.
- alt(char) - Static method in class net.morimekta.strings.chr.Control
-
Make a keystroke char for
alt + key
. - ALT_D - Static variable in class net.morimekta.strings.chr.Control
-
Delete rest of current line before (left of) cursor.
- ALT_K - Static variable in class net.morimekta.strings.chr.Control
-
Delete rest of word before (left of) cursor.
- ALT_U - Static variable in class net.morimekta.strings.chr.Control
-
Delete rest of current line after (right of) cursor.
- ALT_W - Static variable in class net.morimekta.strings.chr.Control
-
Delete rest of word after (right of) cursor.
- append(char) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- append(CharSequence) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- append(CharSequence, int, int) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- appendln() - Method in class net.morimekta.strings.io.IndentedPrintWriter
-
Append a new line and prepare indent on new.
- appendln(char) - Method in class net.morimekta.strings.io.IndentedPrintWriter
-
Append a new line, indent and write char.
- appendln(CharSequence) - Method in class net.morimekta.strings.io.IndentedPrintWriter
-
Append a new line, indent and write string.
- asString() - Method in class net.morimekta.strings.chr.Control
- asString() - Method in class net.morimekta.strings.chr.Unicode
- asString() - Method in interface net.morimekta.strings.Stringable
-
Make a string representation of the instance value.
- asString(double) - Static method in interface net.morimekta.strings.Stringable
-
Make a minimal printable string from a double value.
- asString(float) - Static method in interface net.morimekta.strings.Stringable
-
Make a minimal printable string from a double value.
- asString(Object) - Static method in interface net.morimekta.strings.Stringable
-
Make an object into a string using the typed tools here.
- asString(Duration) - Static method in interface net.morimekta.strings.Stringable
- asString(Instant) - Static method in interface net.morimekta.strings.Stringable
- asString(LocalDateTime) - Static method in interface net.morimekta.strings.Stringable
- asString(OffsetDateTime) - Static method in interface net.morimekta.strings.Stringable
- asString(ZonedDateTime) - Static method in interface net.morimekta.strings.Stringable
- asString(Collection<?>) - Static method in interface net.morimekta.strings.Stringable
-
Make a printable string from a collection using the tools here.
- asString(Map<?, ?>) - Static method in interface net.morimekta.strings.Stringable
-
Make a minimal printable string value from a typed map.
- at(int) - Method in class net.morimekta.strings.chr.CharSlice
-
Get char char at the dynamic index.
B
- begin() - Method in class net.morimekta.strings.io.IndentedPrintWriter
-
Begin a new indent block.
- begin(String) - Method in class net.morimekta.strings.io.IndentedPrintWriter
-
Begin a new indent block.
- BEL - Static variable in interface net.morimekta.strings.chr.Char
-
Bell.
- Bengali - net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Used for bengali.
- BG_BLACK - Static variable in class net.morimekta.strings.chr.Color
-
Use black background color.
- BG_BLUE - Static variable in class net.morimekta.strings.chr.Color
-
Use blue background color.
- BG_CYAN - Static variable in class net.morimekta.strings.chr.Color
-
Use cyan background color.
- BG_DEFAULT - Static variable in class net.morimekta.strings.chr.Color
-
Use default background color.
- BG_GREEN - Static variable in class net.morimekta.strings.chr.Color
-
Use green background color.
- BG_MAGENTA - Static variable in class net.morimekta.strings.chr.Color
-
Use magenta background color.
- BG_RED - Static variable in class net.morimekta.strings.chr.Color
-
Use red background color.
- BG_WHITE - Static variable in class net.morimekta.strings.chr.Color
-
Use white background color.
- BG_YELLOW - Static variable in class net.morimekta.strings.chr.Color
-
Use yellow background color.
- BLACK - Static variable in class net.morimekta.strings.chr.Color
-
Use black foreground color.
- BLUE - Static variable in class net.morimekta.strings.chr.Color
-
Use blue foreground color.
- BOLD - Static variable in class net.morimekta.strings.chr.Color
-
Make foreground bold.
- BS - Static variable in interface net.morimekta.strings.chr.Char
-
Backspace: Not used on Linux
- buffer - Variable in class net.morimekta.strings.io.LineBufferedReader
-
Current line buffer.
- bufferLimit - Variable in class net.morimekta.strings.io.LineBufferedReader
-
Number of chars current buffer is limited to.
- bufferLineEnd - Variable in class net.morimekta.strings.io.LineBufferedReader
-
If the buffer ends in a line end char.
- bufferOffset - Variable in class net.morimekta.strings.io.LineBufferedReader
-
Current offset in the buffer.
C
- CAMEL - net.morimekta.strings.NamingUtil.Format
-
The Dromedary, or Arabic camel, famous for being the one-humped camel, means a camel case where the first word is not capitalized.
- CAN - Static variable in interface net.morimekta.strings.chr.Char
-
Cancel.
- canEncode(char) - Method in class net.morimekta.strings.enc.GSMCharset
-
If the charset combination can encode the given single character.
- canEncode(CharSequence) - Method in class net.morimekta.strings.enc.GSMCharset
- capitalize(CharSequence) - Static method in class net.morimekta.strings.StringUtil
-
Capitalize the string.
- center(CharSequence, int) - Static method in class net.morimekta.strings.StringUtil
-
Pad the each side of the string until the printed width becomes the desired visible string length.
- Char - Interface in net.morimekta.strings.chr
-
General interface implemented by character-like classes.
- charAt(int) - Method in class net.morimekta.strings.chr.CharSlice
-
Get character at slice relative position.
- CharReader - Class in net.morimekta.strings.chr
-
A keystroke char reader.
- CharReader(InputStream) - Constructor for class net.morimekta.strings.chr.CharReader
- CharReader(Reader) - Constructor for class net.morimekta.strings.chr.CharReader
- charsetForName(String) - Method in class net.morimekta.strings.enc.MoreCharsetsProvider
- charsets() - Method in class net.morimekta.strings.enc.MoreCharsetsProvider
- CharSlice - Class in net.morimekta.strings.chr
-
A slice of a character array.
- CharSlice(char[]) - Constructor for class net.morimekta.strings.chr.CharSlice
-
Create a slice from a full character buffer.
- CharSlice(char[], int, int) - Constructor for class net.morimekta.strings.chr.CharSlice
-
Create a slice instance.
- CharSlice(String) - Constructor for class net.morimekta.strings.chr.CharSlice
-
Create a slice instance.
- CharStream - Class in net.morimekta.strings.chr
-
Java 8 streams handling of character sequences.
- CharUtil - Class in net.morimekta.strings.chr
-
Common character and console utilities.
- CLEAR - Static variable in class net.morimekta.strings.chr.Color
-
Clear all color settings.
- clipWidth(CharSequence, int) - Static method in class net.morimekta.strings.StringUtil
-
Remove all printable characters after 'width' characters have been filled.
- close() - Method in class net.morimekta.strings.io.LineBufferedReader
- close() - Method in class net.morimekta.strings.io.Utf8StreamReader
- close() - Method in class net.morimekta.strings.io.Utf8StreamWriter
- code - Variable in enum net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
The identifier ID for the language.
- codepoint() - Method in interface net.morimekta.strings.chr.Char
-
Unicode codepoint representing this character.
- codepoint() - Method in class net.morimekta.strings.chr.Control
- codepoint() - Method in class net.morimekta.strings.chr.Unicode
- Color - Class in net.morimekta.strings.chr
-
Unix terminal color helper.
- Color(int...) - Constructor for class net.morimekta.strings.chr.Color
-
Create a color with the given modifiers.
- Color(Color...) - Constructor for class net.morimekta.strings.chr.Color
-
Combine the given colors.
- commonOverlap(String, String) - Static method in class net.morimekta.strings.StringUtil
-
Determine if the suffix of one string is the prefix of another.
- commonPrefix(String, String) - Static method in class net.morimekta.strings.StringUtil
-
Determine the common prefix of two strings
- commonSuffix(String, String) - Static method in class net.morimekta.strings.StringUtil
-
Determine the common suffix of two strings
- comparePosition(CharSlice) - Method in class net.morimekta.strings.chr.CharSlice
-
Handy method to compare slices based on the position in the main buffer.
- compareTo(Char) - Method in class net.morimekta.strings.chr.Control
- compareTo(Char) - Method in class net.morimekta.strings.chr.Unicode
- compareTo(CharSlice) - Method in class net.morimekta.strings.chr.CharSlice
-
Compare slice with other slice as a string.
- ConsoleUtil - Class in net.morimekta.strings
-
Utility getting console related properties or modifications of strings.
- contains(Charset) - Method in class net.morimekta.strings.enc.GSMCharset
- contains(Charset) - Method in class net.morimekta.strings.enc.T61Charset
- contains(Charset) - Method in class net.morimekta.strings.enc.TBCDCharset
- Control - Class in net.morimekta.strings.chr
-
This class represents terminal control characters.
- CR - Static variable in interface net.morimekta.strings.chr.Char
-
Carriage Return.
- ctrl(char) - Static method in class net.morimekta.strings.chr.Control
-
Make a keystroke char for
control + key
, using the control char meaning in common linux terminals. - CTRL_DOWN - Static variable in class net.morimekta.strings.chr.Control
-
The control down key combination.
- CTRL_LEFT - Static variable in class net.morimekta.strings.chr.Control
-
The control left key combination.
- CTRL_RIGHT - Static variable in class net.morimekta.strings.chr.Control
-
The control right key combination.
- CTRL_UP - Static variable in class net.morimekta.strings.chr.Control
-
The control up key combination.
- CURSOR_ERASE - Static variable in class net.morimekta.strings.chr.Control
-
Erase character at cursor position.
- CURSOR_RESTORE - Static variable in class net.morimekta.strings.chr.Control
-
Restore position of cursor to last saved point.
- CURSOR_SAVE - Static variable in class net.morimekta.strings.chr.Control
-
Save position of cursor.
- cursorDown(int) - Static method in class net.morimekta.strings.chr.Control
-
Make control sequence moving the cursor N positions to down.
- cursorLeft(int) - Static method in class net.morimekta.strings.chr.Control
-
Make control sequence moving the cursor N positions to the left.
- cursorRight(int) - Static method in class net.morimekta.strings.chr.Control
-
Make control sequence moving the cursor N positions to the right.
- cursorSetPos(int) - Static method in class net.morimekta.strings.chr.Control
-
Make control sequence setting the cursor on a fixed position on the screen using line numbers from the top to the first char of that line.
- cursorSetPos(int, int) - Static method in class net.morimekta.strings.chr.Control
-
Make control sequence setting the cursor on a fixed position on the screen using line numbers from the top, and column number from the left.
- cursorUp(int) - Static method in class net.morimekta.strings.chr.Control
-
Make control sequence moving the cursor N positions to up.
- CYAN - Static variable in class net.morimekta.strings.chr.Color
-
Use cyan foreground color.
D
- Default - net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Used for most latin based languages.
- DEFAULT - Static variable in class net.morimekta.strings.chr.Color
-
Use default foreground color.
- DEL - Static variable in interface net.morimekta.strings.chr.Char
-
DEL, A.K.A.
- DELETE - Static variable in class net.morimekta.strings.chr.Control
-
The delete key.
- detectCharset(String) - Static method in class net.morimekta.strings.enc.GSMCharset
-
Detect best fitting GSM charset for the text.
- detectCharset(String, Set<GSMCharset>) - Static method in class net.morimekta.strings.enc.GSMCharset
-
Detect best fitting GSM charset for the text.
- DIM - Static variable in class net.morimekta.strings.chr.Color
-
Make foreground dim.
- Displayable - Interface in net.morimekta.strings
-
Interface for making objects displayable.
- displayableDateTime(LocalDateTime) - Static method in interface net.morimekta.strings.Displayable
- displayableDateTime(OffsetDateTime) - Static method in interface net.morimekta.strings.Displayable
- displayableDateTime(ZonedDateTime) - Static method in interface net.morimekta.strings.Displayable
- displayableDuration(Duration) - Static method in interface net.morimekta.strings.Displayable
-
Make a displayable string out of a duration.
- displayableInstant(Instant) - Static method in interface net.morimekta.strings.Displayable
- displayString() - Method in interface net.morimekta.strings.Displayable
- DOWN - Static variable in class net.morimekta.strings.chr.Control
-
The down key.
- DPAD_MID - Static variable in class net.morimekta.strings.chr.Control
-
The DPAD middle key.
E
- end() - Method in class net.morimekta.strings.io.IndentedPrintWriter
-
End an indent block.
- END - Static variable in class net.morimekta.strings.chr.Control
-
The end key.
- ENQ - Static variable in interface net.morimekta.strings.chr.Char
-
Enquire Feedback.
- EOF - Static variable in interface net.morimekta.strings.chr.Char
-
End of Transmission - [Control d]
- equals(Object) - Method in class net.morimekta.strings.chr.CharSlice
- equals(Object) - Method in class net.morimekta.strings.chr.Color
- equals(Object) - Method in class net.morimekta.strings.chr.Control
- equals(Object) - Method in class net.morimekta.strings.chr.Unicode
- ESC - Static variable in interface net.morimekta.strings.chr.Char
-
Escape.
- EscapeUtil - Class in net.morimekta.strings
-
Utility for escaping and un-escaping strings Java style.
- expandTabs(CharSequence) - Static method in class net.morimekta.strings.StringUtil
-
Expand tabs in string.
- expandTabs(CharSequence, int) - Static method in class net.morimekta.strings.StringUtil
-
Expand tabs in string.
- expandTabs(CharSequence, int, int) - Static method in class net.morimekta.strings.StringUtil
-
Expand tabs in string.
F
- F1 - Static variable in class net.morimekta.strings.chr.Control
-
F1 key.
- F10 - Static variable in class net.morimekta.strings.chr.Control
-
F10 key.
- F11 - Static variable in class net.morimekta.strings.chr.Control
-
NOTE: It is common to use F11 to mean 'fullscreen', so there is a good chance this is intercepted before reaching the terminal application.
- F12 - Static variable in class net.morimekta.strings.chr.Control
-
F12 key.
- F2 - Static variable in class net.morimekta.strings.chr.Control
-
F2 key.
- F3 - Static variable in class net.morimekta.strings.chr.Control
-
F3 key.
- F4 - Static variable in class net.morimekta.strings.chr.Control
-
F4 key.
- F5 - Static variable in class net.morimekta.strings.chr.Control
-
F5 key.
- F6 - Static variable in class net.morimekta.strings.chr.Control
-
F6 key.
- F7 - Static variable in class net.morimekta.strings.chr.Control
-
F7 key.
- F8 - Static variable in class net.morimekta.strings.chr.Control
-
F8 key.
- F9 - Static variable in class net.morimekta.strings.chr.Control
-
F9 key.
- fb - Variable in class net.morimekta.strings.chr.CharSlice
-
Character buffer.
- FF - Static variable in interface net.morimekta.strings.chr.Char
-
Form Feed.
- flush() - Method in class net.morimekta.strings.io.Utf8StreamWriter
- forCode(int) - Static method in enum net.morimekta.strings.enc.GSMNationalLanguageIdentifier
- forIso639(String) - Static method in enum net.morimekta.strings.enc.GSMNationalLanguageIdentifier
- format(CharSequence, NamingUtil.Format) - Static method in class net.morimekta.strings.NamingUtil
-
Format a string to the desired naming scheme.
- format(String, Object...) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- format(List<String>, NamingUtil.Format) - Static method in class net.morimekta.strings.NamingUtil
-
Format a list of names to the desired naming scheme.
- format(Locale, String, Object...) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- formatln(String, Object...) - Method in class net.morimekta.strings.io.IndentedPrintWriter
-
Append a new line, indent and write a formatted string.
- forNationalLanguageIdentifier(GSMNationalLanguageIdentifier, GSMNationalLanguageIdentifier) - Static method in class net.morimekta.strings.enc.GSMCharset
-
Get GSM charset for the matching locales.
- FS - Static variable in interface net.morimekta.strings.chr.Char
-
File Separator.
G
- getLine() - Method in class net.morimekta.strings.io.LineBufferedReader
-
Returns the current line in the buffer.
- getLineNo() - Method in class net.morimekta.strings.io.LineBufferedReader
- getLinePos() - Method in class net.morimekta.strings.io.LineBufferedReader
-
The position of the current (last read) char in the current line.
- getLockingShift() - Method in class net.morimekta.strings.enc.GSMCharset
- getRemainingLines(boolean) - Method in class net.morimekta.strings.io.LineBufferedReader
-
Read the rest of input from the reader, and get the lines from there.
- getRestOfLine() - Method in class net.morimekta.strings.io.LineBufferedReader
-
Return the rest of the current line.
- getSingleShift() - Method in class net.morimekta.strings.enc.GSMCharset
- GREEN - Static variable in class net.morimekta.strings.chr.Color
-
Use green foreground color.
- GS - Static variable in interface net.morimekta.strings.chr.Char
-
Group Separator.
- GSM - Static variable in class net.morimekta.strings.enc.GSMCharset
-
The Default GSM charset (standard western NLI)
- GSM_Bengali - Static variable in class net.morimekta.strings.enc.GSMCharset
-
The Bengali GSM charset
- GSM_CHARSETS - Static variable in class net.morimekta.strings.enc.GSMCharset
-
Set of all GSM charsets default NLI combinations.
- GSM_Gujarati - Static variable in class net.morimekta.strings.enc.GSMCharset
-
The Gujarati GSM charset
- GSM_Hindi - Static variable in class net.morimekta.strings.enc.GSMCharset
-
The Hindi GSM charset
- GSM_Kannada - Static variable in class net.morimekta.strings.enc.GSMCharset
-
The Kannada GSM charset
- GSM_Malayalam - Static variable in class net.morimekta.strings.enc.GSMCharset
-
The Malayalam GSM charset
- GSM_Oriya - Static variable in class net.morimekta.strings.enc.GSMCharset
-
The Oriya GSM charset
- GSM_Portuguese - Static variable in class net.morimekta.strings.enc.GSMCharset
-
The Portuguese GSM charset
- GSM_Punjabi - Static variable in class net.morimekta.strings.enc.GSMCharset
-
The Punjabi GSM charset
- GSM_Spanish - Static variable in class net.morimekta.strings.enc.GSMCharset
-
The Spanish GSM charset
- GSM_Tamil - Static variable in class net.morimekta.strings.enc.GSMCharset
-
The Tamil GSM charset
- GSM_Telugu - Static variable in class net.morimekta.strings.enc.GSMCharset
-
The Telugu GSM charset
- GSM_Turkish - Static variable in class net.morimekta.strings.enc.GSMCharset
-
The Turkish GSM charset
- GSM_Urdu - Static variable in class net.morimekta.strings.enc.GSMCharset
-
The Urdu GSM charset
- GSMCharset - Class in net.morimekta.strings.enc
-
The GSM Charset is actually a set of charsets that uses the same rules for how to encode, but with different character tables based on preset language settings.
- GSMNationalLanguageIdentifier - Enum in net.morimekta.strings.enc
-
The locale of the GSM determines the national single shift or locking shift table to be used.
- Gujarati - net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Used for gujarati.
H
- hashCode() - Method in class net.morimekta.strings.chr.CharSlice
- hashCode() - Method in class net.morimekta.strings.chr.Color
- hashCode() - Method in class net.morimekta.strings.chr.Control
- hashCode() - Method in class net.morimekta.strings.chr.Unicode
- HIDDEN - Static variable in class net.morimekta.strings.chr.Color
-
Invert foreground same as background color.
- Hindi - net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Used for hindi or other sanskrit based languages.
- HOME - Static variable in class net.morimekta.strings.chr.Control
-
The home key.
I
- INDENT - Static variable in class net.morimekta.strings.io.IndentedPrintWriter
-
The default indent string.
- IndentedPrintWriter - Class in net.morimekta.strings.io
-
Print writer that prints lines with indent.
- IndentedPrintWriter(OutputStream) - Constructor for class net.morimekta.strings.io.IndentedPrintWriter
-
Make indented print writer with default indent and newline.
- IndentedPrintWriter(OutputStream, String, String) - Constructor for class net.morimekta.strings.io.IndentedPrintWriter
- IndentedPrintWriter(Writer) - Constructor for class net.morimekta.strings.io.IndentedPrintWriter
-
Make indented print writer with default indent and newline.
- IndentedPrintWriter(Writer, String, String) - Constructor for class net.morimekta.strings.io.IndentedPrintWriter
- inputBytes(Object...) - Static method in class net.morimekta.strings.chr.CharUtil
-
Make a byte array representing the input bytes for generating the given input.
- inputChars(Object...) - Static method in class net.morimekta.strings.chr.CharUtil
-
Make a list of input
Char
s that e.g. - INSERT - Static variable in class net.morimekta.strings.chr.Control
-
The insert key.
- INVERT - Static variable in class net.morimekta.strings.chr.Color
-
Invert foreground and background color.
- isConsolePrintable(int) - Static method in class net.morimekta.strings.ConsoleUtil
-
Utility to figure out if a character is printable to the console as a character.
- isNotEmpty(CharSequence) - Static method in class net.morimekta.strings.StringUtil
- isNullOrEmpty(CharSequence) - Static method in class net.morimekta.strings.StringUtil
- iso639_1 - Variable in enum net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
The 2-letter ISO code for the language.
- iso639_2 - Variable in enum net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
The 3-letter ISO code for the language.
- iterator(CharSequence) - Static method in class net.morimekta.strings.chr.CharStream
-
Iterate over parsed
Char
sequences in string.
J
- javaEscape(char) - Static method in class net.morimekta.strings.EscapeUtil
-
Escape a single character.
- javaEscape(CharSequence) - Static method in class net.morimekta.strings.EscapeUtil
-
Properly java-escape the string for including in java strings or printing with escape symbols to console.
- javaUnEscape(CharSequence) - Static method in class net.morimekta.strings.EscapeUtil
-
UnEscape the char sequence using javas escape syntax used above and in java strings.
- javaUnEscape(CharSequence, boolean) - Static method in class net.morimekta.strings.EscapeUtil
-
UnEscape the char sequence using javas escape syntax used above and in java strings.
K
- Kannada - net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Used for kannada.
L
- lastChar - Variable in class net.morimekta.strings.io.LineBufferedReader
-
Current char in the buffer.
- LEFT - Static variable in class net.morimekta.strings.chr.Control
-
The left key.
- leftPad(CharSequence, int) - Static method in class net.morimekta.strings.StringUtil
-
Pad the right side of the string until the printed width becomes the desired visible string length.
- len - Variable in class net.morimekta.strings.chr.CharSlice
-
Length of slice.
- length() - Method in interface net.morimekta.strings.chr.Char
-
Number of utf-16 characters that this character takes up if enclosed in a java string.
- length() - Method in class net.morimekta.strings.chr.CharSlice
-
Get the total length of the slice.
- length() - Method in class net.morimekta.strings.chr.Control
- length() - Method in class net.morimekta.strings.chr.Unicode
- lenientIterator(CharSequence) - Static method in class net.morimekta.strings.chr.CharStream
-
Iterate over parsed
Char
sequences in string with lenient parsing. - lenientStream(CharSequence) - Static method in class net.morimekta.strings.chr.CharStream
-
Stream over parsed
Char
sequences in string with lenient parsing. - LF - Static variable in interface net.morimekta.strings.chr.Char
-
Line Feed (newline).
- LineBufferedReader - Class in net.morimekta.strings.io
-
Helper class that manages a buffer if 1 line, or if requested pre-loads the content of the input reader, and pretends as if it was the same line-buffering reader.
- LineBufferedReader(Reader) - Constructor for class net.morimekta.strings.io.LineBufferedReader
- LineBufferedReader(Reader, boolean) - Constructor for class net.morimekta.strings.io.LineBufferedReader
- LineBufferedReader(Reader, int) - Constructor for class net.morimekta.strings.io.LineBufferedReader
- LineBufferedReader(Reader, int, boolean) - Constructor for class net.morimekta.strings.io.LineBufferedReader
- lineNo - Variable in class net.morimekta.strings.io.LineBufferedReader
-
Current line number (1-indexed)
- linePos - Variable in class net.morimekta.strings.io.LineBufferedReader
-
Current line position (0-indexed)
- LISP - net.morimekta.strings.NamingUtil.Format
-
A namespace format concatenates lower-cased names with '-',
- longestCommonPrefixPath(Collection<String>) - Static method in class net.morimekta.strings.StringUtil
-
Assuming all strings in the path input are '/' separated paths, will find the longest common path prefix (meaning the prefix ends in '/').
M
- MAGENTA - Static variable in class net.morimekta.strings.chr.Color
-
Use magenta foreground color.
- makeBorder(int, int, int, int) - Static method in class net.morimekta.strings.chr.CharUtil
-
Make a unicode border symbol matching the lines given.
- makeNumeric(int) - Static method in class net.morimekta.strings.chr.CharUtil
-
Gets the unicode char representing a circled number.
- Malayalam - net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Used for malayalam.
- maybeConsolidateBuffer() - Method in class net.morimekta.strings.io.LineBufferedReader
-
If the char buffer is nearing it's "end" and does not end with a newline (meaning it is a complete line), then take the reast of the current buffer and move it to the front of the buffer, and read until end of buffer, or end of line.
- modifications() - Method in class net.morimekta.strings.enc.GSMCharset
-
Get the number of modifications relative to full default.
- MoreCharsetsProvider - Class in net.morimekta.strings.enc
-
Charset provider for GSM, UCS2, T.61 and TBCD charsets.
- MoreCharsetsProvider() - Constructor for class net.morimekta.strings.enc.MoreCharsetsProvider
N
- NAK - Static variable in interface net.morimekta.strings.chr.Char
-
Negative Acknowledge.
- NAMESPACE - net.morimekta.strings.NamingUtil.Format
-
A namespace format concatenates lower-cased names with '.',
- NamingUtil - Class in net.morimekta.strings
-
Utility to handle multiple word identifiers and means of converting between them.
- NamingUtil.Format - Enum in net.morimekta.strings
-
Formats to be used with name formatting.
- NBSP - Static variable in class net.morimekta.strings.chr.Unicode
-
No-break space.
- net.morimekta.strings - module net.morimekta.strings
-
Package containing utilities for handling strings and characters in various combinations.
- net.morimekta.strings - package net.morimekta.strings
-
Package containing utilities for handling strings and characters in various combinations.
- net.morimekta.strings.chr - package net.morimekta.strings.chr
-
The package contains classes helping with managing characters and the interface between character arrays and strings, and between symbolic "characters", e.g.
- net.morimekta.strings.enc - package net.morimekta.strings.enc
-
This package contains charsets and string encoding utilities.
- net.morimekta.strings.io - package net.morimekta.strings.io
-
Package containing IO helpers for handling unusual ways of buffering (by line), and UTF-8 streams without any buffering over what is strictly needed for the next code-point.
- newDecoder() - Method in class net.morimekta.strings.enc.GSMCharset
- newDecoder() - Method in class net.morimekta.strings.enc.T61Charset
- newDecoder() - Method in class net.morimekta.strings.enc.TBCDCharset
- newEncoder() - Method in class net.morimekta.strings.enc.GSMCharset
- newEncoder() - Method in class net.morimekta.strings.enc.T61Charset
- newEncoder() - Method in class net.morimekta.strings.enc.TBCDCharset
- newline() - Method in class net.morimekta.strings.io.IndentedPrintWriter
-
Create a new-line char, no indent after it.
- NEWLINE - Static variable in class net.morimekta.strings.io.IndentedPrintWriter
-
The default newline string.
- NUL - Static variable in interface net.morimekta.strings.chr.Char
-
Null.
- NULL - Static variable in interface net.morimekta.strings.Stringable
-
The 'null' string.
O
- of(CharSequence) - Static method in class net.morimekta.strings.chr.CharSlice
- off - Variable in class net.morimekta.strings.chr.CharSlice
-
Offset in buffer
- offset() - Method in class net.morimekta.strings.chr.CharSlice
-
Get the offset of the buffer.
- Oriya - net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Used for oriya.
P
- PAGE_DOWN - Static variable in class net.morimekta.strings.chr.Control
-
The page down key.
- PAGE_UP - Static variable in class net.morimekta.strings.chr.Control
-
The page up key.
- PASCAL - net.morimekta.strings.NamingUtil.Format
-
Pascal case, also known as Upper Camel Case is the standard java naming scheme for classes, and capitalizes each name, and concatenates them directly.
- Portuguese - net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Used for portuguese and portuguese variants.
- preLoaded - Variable in class net.morimekta.strings.io.LineBufferedReader
-
If the content is pre-loaded.
- printableWidth() - Method in interface net.morimekta.strings.chr.Char
-
The number of character spaces taken up by this symbol.
- printableWidth() - Method in class net.morimekta.strings.chr.Control
- printableWidth() - Method in class net.morimekta.strings.chr.Unicode
- printableWidth(CharSequence) - Static method in class net.morimekta.strings.StringUtil
-
How many single-characters worth of console real-estate will be taken up by this string if printed.
- printf(String, Object...) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- printf(Locale, String, Object...) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- println() - Method in class net.morimekta.strings.io.IndentedPrintWriter
- println(boolean) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- println(char) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- println(char[]) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- println(double) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- println(float) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- println(int) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- println(long) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- println(Object) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- println(String) - Method in class net.morimekta.strings.io.IndentedPrintWriter
- Punjabi - net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Used for punjabi.
R
- read() - Method in class net.morimekta.strings.chr.CharReader
-
Read the next char.
- read() - Method in class net.morimekta.strings.io.LineBufferedReader
- read(char[], int, int) - Method in class net.morimekta.strings.io.LineBufferedReader
- read(char[], int, int) - Method in class net.morimekta.strings.io.Utf8StreamReader
- readAll(Reader) - Static method in class net.morimekta.strings.ReaderUtil
-
Read all characters from the reader and return the complete string.
- reader - Variable in class net.morimekta.strings.io.LineBufferedReader
-
Reader read from.
- ReaderUtil - Class in net.morimekta.strings
-
Utilities for reading strings from base readers.
- readIfAvailable() - Method in class net.morimekta.strings.chr.CharReader
-
Read a single char if ready (something is available in the input stream), otherwise return null.
- readNextChar() - Method in class net.morimekta.strings.io.LineBufferedReader
-
Read the next char.
- readUntil(Reader, char) - Static method in class net.morimekta.strings.ReaderUtil
-
Read from reader until given character is reached.
- readUntil(Reader, CharSequence) - Static method in class net.morimekta.strings.ReaderUtil
-
Read from reader until given character is reached.
- ready() - Method in class net.morimekta.strings.io.Utf8StreamReader
- RED - Static variable in class net.morimekta.strings.chr.Color
-
Use red foreground color.
- replaceNonPrintable(CharSequence, char) - Static method in class net.morimekta.strings.ConsoleUtil
-
Replace non-printable chars in a string with something else.
- RIGHT - Static variable in class net.morimekta.strings.chr.Control
-
The right key.
- rightPad(CharSequence, int) - Static method in class net.morimekta.strings.StringUtil
-
Pad the right side of the string until the printed width becomes the desired visible string length.
- RS - Static variable in interface net.morimekta.strings.chr.Char
-
Record Separator.
S
- SI - Static variable in interface net.morimekta.strings.chr.Char
-
Return to regular character set (a.k.a.
- skipUntil(Reader, char) - Static method in class net.morimekta.strings.ReaderUtil
-
Skip all bytes in stream until (and including) given byte is found.
- skipUntil(Reader, CharSequence) - Static method in class net.morimekta.strings.ReaderUtil
-
Skip all bytes reader stream until (and including) given separator is found.
- SNAKE - net.morimekta.strings.NamingUtil.Format
-
Snake case format concatenates lower-cased names with '_',
- SNAKE_UPPER - net.morimekta.strings.NamingUtil.Format
-
Upper case snake case, also called 'screaming snake' case.
- Spanish - net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Used for spanish and spanish variants.
- splitNameSource(CharSequence) - Static method in class net.morimekta.strings.NamingUtil
-
Split the input name into name components using a wide variety of naming conventions.
- SS - Static variable in interface net.morimekta.strings.chr.Char
-
Switch to an alternative character set (e.g.
- stream(CharSequence) - Static method in class net.morimekta.strings.chr.CharStream
-
Stream over parsed
Char
sequences in string. - Stringable - Interface in net.morimekta.strings
-
A class that can be made into a string.
- StringUtil - Class in net.morimekta.strings
-
Utility getting properties of and modifying strings.
- stripCommonPrefixPath(Collection<String>) - Static method in class net.morimekta.strings.StringUtil
-
Assuming all strings in the path input are '/' separated paths, will find the longest common path prefix (meaning the prefix ends in '/') and remove that prefix from all the input paths.
- stripNonPrintable(CharSequence) - Static method in class net.morimekta.strings.StringUtil
-
Strip string of all non-printable characters.
- STROKE - Static variable in class net.morimekta.strings.chr.Color
-
Make foreground stroked over.
- subSequence(int, int) - Method in class net.morimekta.strings.chr.CharSlice
-
Create a substring slice based on the current slice.
- subSlice(int) - Method in class net.morimekta.strings.chr.CharSlice
-
Similar to subSequence, but also handles negative offset, where a negative offset means relative to the end.
- subSlice(int, int) - Method in class net.morimekta.strings.chr.CharSlice
-
Similar to subSequence, but also handles negative offset, where a negative offset means relative to the end.
T
- T61 - Static variable in class net.morimekta.strings.enc.T61Charset
-
The T.61 charset instance.
- T61Charset - Class in net.morimekta.strings.enc
-
The T.61 charset, a.k.a.
- TAB - Static variable in interface net.morimekta.strings.chr.Char
-
Horizontal Tab.
- TAB_WIDTH - Static variable in class net.morimekta.strings.StringUtil
-
Default tab width in number of spaces.
- Tamil - net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Used for tamil, both Indian and Sri-Lankan Tamil.
- TBCD - Static variable in class net.morimekta.strings.enc.TBCDCharset
-
TBDC default charset.
- TBCD_ODD - Static variable in class net.morimekta.strings.enc.TBCDCharset
-
TBDC odd digits charset.
- TBCDCharset - Class in net.morimekta.strings.enc
-
Telephony Binary Coded Decimal String.
- Telugu - net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Used for telugu.
- TERMINAL_CLEAR - Static variable in class net.morimekta.strings.chr.Control
-
Clear screen, not moving cursor or clearing scroll history.
- TERMINAL_CONTROL - Static variable in class net.morimekta.strings.chr.Control
-
Enable full terminal control.
- TERMINAL_RESET - Static variable in class net.morimekta.strings.chr.Control
-
Reset terminal (will clear scroll history) and place cursor at top left.
- TERMINAL_RESTORE - Static variable in class net.morimekta.strings.chr.Control
-
Restore state of terminal back to before control taken, including cursor position.
- toLowerCase(CharSequence) - Static method in class net.morimekta.strings.StringUtil
-
Make the string into lower-case using US locale.
- toString() - Method in class net.morimekta.strings.chr.CharSlice
- toString() - Method in class net.morimekta.strings.chr.Control
- toString() - Method in class net.morimekta.strings.chr.Unicode
- toUpperCase(CharSequence) - Static method in class net.morimekta.strings.StringUtil
-
Make the string into upper-case using US locale.
- toWhitespace(CharSequence) - Static method in class net.morimekta.strings.StringUtil
-
Generates whitespace-only string with the same printable length as the source.
- Turkish - net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Used for turkish.
U
- UCS2 - Static variable in class net.morimekta.strings.enc.GSMCharset
-
The UCS2 charset.
- UNDERLINE - Static variable in class net.morimekta.strings.chr.Color
-
Make foreground underlined.
- unicode(char) - Static method in class net.morimekta.strings.chr.Unicode
- unicode(int) - Static method in class net.morimekta.strings.chr.Unicode
- Unicode - Class in net.morimekta.strings.chr
-
Unicode character representation.
- Unicode(char) - Constructor for class net.morimekta.strings.chr.Unicode
- Unicode(int) - Constructor for class net.morimekta.strings.chr.Unicode
- UNSET_BOLD - Static variable in class net.morimekta.strings.chr.Color
-
Remove foreground bold modifier.
- UNSET_DIM - Static variable in class net.morimekta.strings.chr.Color
-
Remove foreground dim modifier.
- UNSET_HIDDEN - Static variable in class net.morimekta.strings.chr.Color
-
Remove foreground hidden modifier.
- UNSET_INVERT - Static variable in class net.morimekta.strings.chr.Color
-
Remove foreground inversion modifier.
- UNSET_STROKE - Static variable in class net.morimekta.strings.chr.Color
-
Remove foreground stroke modifier.
- UNSET_UNDERLINE - Static variable in class net.morimekta.strings.chr.Color
-
Remove foreground underline modifier.
- UP - Static variable in class net.morimekta.strings.chr.Control
-
The up key.
- Urdu - net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Used for urdu and arabic languages.
- US - Static variable in interface net.morimekta.strings.chr.Char
-
Unit Separator.
- Utf8StreamReader - Class in net.morimekta.strings.io
-
Similar to java native
InputStreamReader
, but locked to utf-8, and explicitly with no buffering whatsoever. - Utf8StreamReader(InputStream) - Constructor for class net.morimekta.strings.io.Utf8StreamReader
-
Make a stream reader with strict char parsing.
- Utf8StreamReader(InputStream, boolean) - Constructor for class net.morimekta.strings.io.Utf8StreamReader
- Utf8StreamWriter - Class in net.morimekta.strings.io
-
Similar to java native
OutputStreamWriter
, but locked to utf-8, and explicitly with no buffering whatsoever, with one exception only, which is catching surrogate pair chars. - Utf8StreamWriter(OutputStream) - Constructor for class net.morimekta.strings.io.Utf8StreamWriter
-
Make a stream writer with strict unicode surrogate pair matching.
- Utf8StreamWriter(OutputStream, boolean) - Constructor for class net.morimekta.strings.io.Utf8StreamWriter
V
- valueOf(String) - Static method in enum net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.strings.NamingUtil.Format
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.morimekta.strings.enc.GSMNationalLanguageIdentifier
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.strings.NamingUtil.Format
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VT - Static variable in interface net.morimekta.strings.chr.Char
-
Vertical Tab.
W
- WHITE - Static variable in class net.morimekta.strings.chr.Color
-
Use white foreground color.
- wrap(CharSequence, int) - Static method in class net.morimekta.strings.StringUtil
-
This will attempt to print out the text line wrapped, using the printable width to figure out where to cut each line.
- wrap(CharSequence, CharSequence, CharSequence, int) - Static method in class net.morimekta.strings.StringUtil
-
This will attempt to print out the text line wrapped, using the printable width to figure out where to cut each line.
- write(char[], int, int) - Method in class net.morimekta.strings.io.Utf8StreamWriter
X
- XOFF - Static variable in interface net.morimekta.strings.chr.Char
-
Output OFF.
- XON - Static variable in interface net.morimekta.strings.chr.Char
-
Output ON.
Y
A B C D E F G H I J K L M N O P R S T U V W X YAll Classes All Packages