Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ACH_ALIAS - Static variable in class com.maybeitssquid.safeascii.TransliteratingASCIIProvider
-
ACH alias for the single-byte transliterating character set.
- apply(int) - Method in class com.maybeitssquid.safeascii.ASCIIFilter
-
Processes a Unicode codepoint.
- apply(int) - Method in class com.maybeitssquid.safeascii.Cache
-
Returns the processed string for a given codepoint, using the cache if available.
- apply(int) - Method in class com.maybeitssquid.safeascii.Categorize
-
Applies the categorization logic to the input value.
- apply(int) - Method in class com.maybeitssquid.safeascii.Chainable
-
Applies this processing step and then the delegate to the input value.
- apply(int) - Method in class com.maybeitssquid.safeascii.Decompose
-
Applies normalization to the input value.
- apply(int) - Method in class com.maybeitssquid.safeascii.SingleCharacterFilter
-
Applies the delegate function and returns the result only if it is a single character.
- ASCII - Static variable in class com.maybeitssquid.safeascii.Chainable
-
The upper bound for ASCII codepoints (exclusive).
- ASCII_PLAIN_CHARSET - Static variable in class com.maybeitssquid.safeascii.TransliteratingASCIIProvider
-
Canonical name for the printable ASCII character set with newline support.
- ASCII_PRINTABLE_CHARSET - Static variable in class com.maybeitssquid.safeascii.TransliteratingASCIIProvider
-
Canonical name for the strict printable ASCII character set.
- ASCIIFilter - Class in com.maybeitssquid.safeascii
-
A filter function that selectively preserves ASCII characters.
- ASCIIFilter(byte...) - Constructor for class com.maybeitssquid.safeascii.ASCIIFilter
-
Create an ASCII filter that blocks characters of the specified Unicode categories.
B
- byName(int) - Method in class com.maybeitssquid.safeascii.Name
-
Converts a Unicode codepoint to ASCII by analyzing its character name.
C
- cache(int, CharSequence) - Method in class com.maybeitssquid.safeascii.Cache
-
Manually adds a value to the cache for a specific codepoint.
- Cache - Class in com.maybeitssquid.safeascii
-
A
Chainableimplementation that caches the results of character processing to improve performance. - Cache(IntFunction<CharSequence>) - Constructor for class com.maybeitssquid.safeascii.Cache
-
Creates a new Cache instance.
- Categorize - Class in com.maybeitssquid.safeascii
-
Converts Unicode characters to their ASCII equivalents based on character categories.
- Categorize() - Constructor for class com.maybeitssquid.safeascii.Categorize
-
Creates a new Categorizer instance with an identity delegate and default line separator.
- Categorize(IntFunction<CharSequence>) - Constructor for class com.maybeitssquid.safeascii.Categorize
-
Creates a new Categorizer instance with the specified delegate and default line separator.
- Categorize(IntFunction<CharSequence>, CharSequence) - Constructor for class com.maybeitssquid.safeascii.Categorize
-
Creates a new Categorize instance with the specified delegate and line separator.
- Chainable - Class in com.maybeitssquid.safeascii
-
Abstract base class for creating a chain of character processing functions.
- Chainable(IntFunction<CharSequence>) - Constructor for class com.maybeitssquid.safeascii.Chainable
-
Creates a new Chainable instance with the specified delegate.
- charsetForName(String) - Method in class com.maybeitssquid.safeascii.TransliteratingASCIIProvider
-
Retrieves a specific character set by name.
- charsets() - Method in class com.maybeitssquid.safeascii.TransliteratingASCIIProvider
-
Returns an iterator over all available character sets provided by this class.
- com.maybeitssquid.safeascii - package com.maybeitssquid.safeascii
- contains(Charset) - Method in class com.maybeitssquid.safeascii.TransliteratingASCII
-
Tests whether this charset contains the given charset.
- containsASCII() - Method in class com.maybeitssquid.safeascii.TransliteratingASCII
-
Determines whether this charset provides identity mapping for all ASCII characters.
D
- Decompose - Class in com.maybeitssquid.safeascii
-
A
Chainablestep that normalizes Unicode characters to a specific form. - Decompose(IntFunction<CharSequence>) - Constructor for class com.maybeitssquid.safeascii.Decompose
-
Creates a new Decompose instance using the default
Normalizer.Form.NFKDnormalization form. - Decompose(IntFunction<CharSequence>, Normalizer.Form) - Constructor for class com.maybeitssquid.safeascii.Decompose
-
Creates a new Decompose instance with the specified normalization (decomposition) form.
- delegate - Variable in class com.maybeitssquid.safeascii.Chainable
-
The next function in the processing chain.
- delegate(int) - Method in class com.maybeitssquid.safeascii.Chainable
-
Invokes the delegate function on the given codepoint.
E
- endPunctuation(int) - Method in class com.maybeitssquid.safeascii.Categorize
-
Converts end punctuation codepoints to their ASCII equivalent.
- endPunctuation(int) - Method in class com.maybeitssquid.safeascii.Name
-
Maps end punctuation to ASCII brackets based on name.
- equal(int) - Method in class com.maybeitssquid.safeascii.Name
-
Converts equality-related characters to ASCII equivalents.
G
- getLineSeparator() - Method in class com.maybeitssquid.safeascii.Categorize
-
Retrieves the configured line separator.
I
- identity - Static variable in class com.maybeitssquid.safeascii.Categorize
-
Identity function that converts a codepoint to its string representation without transformation.
L
- lowercase(int) - Method in class com.maybeitssquid.safeascii.Name
-
Extracts the base ASCII character for a lowercase letter from its name.
- LOWEST_COMPOSED_CODEPOINT - Static variable in class com.maybeitssquid.safeascii.Decompose
-
The lowest codepoint value that is not decomposed, corresponding to NO-BREAK SPACE
N
- Name - Class in com.maybeitssquid.safeascii
-
A transliteration step that converts Unicode characters to ASCII based on their Unicode names.
- Name() - Constructor for class com.maybeitssquid.safeascii.Name
-
Creates a new Name transliterator with an identity delegate and default line separator.
- Name(IntFunction<CharSequence>) - Constructor for class com.maybeitssquid.safeascii.Name
-
Creates a new Name transliterator with the specified delegate and default line separator.
- Name(IntFunction<CharSequence>, CharSequence) - Constructor for class com.maybeitssquid.safeascii.Name
-
Creates a new Name transliterator with the specified delegate and line separator.
- newDecoder() - Method in class com.maybeitssquid.safeascii.TransliteratingASCII
-
Creates a decoder that transliterates single bytes (0x00–0x7F) to characters.
- newEncoder() - Method in class com.maybeitssquid.safeascii.TransliteratingASCII
-
Creates an encoder that maps Unicode code points to ASCII bytes using the transliterator.
P
- process(int) - Method in class com.maybeitssquid.safeascii.Cache
-
Retrieves a cached value for the given codepoint.
- process(int) - Method in class com.maybeitssquid.safeascii.Categorize
-
Transforms a codepoint based on its Unicode category.
- process(int) - Method in class com.maybeitssquid.safeascii.Chainable
-
Processes a single codepoint according to the specific logic of this class.
- process(int) - Method in class com.maybeitssquid.safeascii.Decompose
-
Normalizes a single codepoint.
- process(int) - Method in class com.maybeitssquid.safeascii.Name
-
Transliterates a codepoint based on its type and name.
Q
- quotePunctuation(int) - Method in class com.maybeitssquid.safeascii.Categorize
-
Converts quote punctuation codepoints to their ASCII equivalent.
- quotePunctuation(int) - Method in class com.maybeitssquid.safeascii.Name
-
Maps quote punctuation to ASCII quotes based on name.
S
- SingleCharacterFilter - Class in com.maybeitssquid.safeascii
-
Filters out results that are not single characters.
- SingleCharacterFilter(IntFunction<CharSequence>) - Constructor for class com.maybeitssquid.safeascii.SingleCharacterFilter
-
Creates a new SingleCharacterFilter with the specified delegate.
- solidus(String, int) - Method in class com.maybeitssquid.safeascii.Name
-
Converts solidus (slash) and backslash characters to ASCII equivalents.
- startPunctuation(int) - Method in class com.maybeitssquid.safeascii.Categorize
-
Converts start punctuation codepoints to their ASCII equivalent.
- startPunctuation(int) - Method in class com.maybeitssquid.safeascii.Name
-
Maps start punctuation to ASCII brackets based on name.
T
- titlecase(int) - Method in class com.maybeitssquid.safeascii.Name
-
Processes the titlecase characters.
- TRANSLITERATING_CHARSET - Static variable in class com.maybeitssquid.safeascii.TransliteratingASCIIProvider
-
Canonical name for the transliterating character set.
- TRANSLITERATING_SINGLE_BYTE_CHARSET - Static variable in class com.maybeitssquid.safeascii.TransliteratingASCIIProvider
-
Canonical name for the single-byte transliterating character set.
- TransliteratingASCII - Class in com.maybeitssquid.safeascii
-
A custom charset implementation that transliterates Unicode code points to ASCII characters using a configurable transliteration function.
- TransliteratingASCII(IntFunction<CharSequence>, String...) - Constructor for class com.maybeitssquid.safeascii.TransliteratingASCII
-
Initializes a new charset with the given canonical name and alias set.
- TransliteratingASCIIProvider - Class in com.maybeitssquid.safeascii
-
A
CharsetProviderthat supplies ASCII-safe character sets for encoding Unicode text. - TransliteratingASCIIProvider() - Constructor for class com.maybeitssquid.safeascii.TransliteratingASCIIProvider
-
Creates a new TransliteratingASCIIProvider instance.
U
- UNICODE_CIRCLED_C_WITH_OVERLAID_BACKSLASH - Static variable in class com.maybeitssquid.safeascii.Name
-
Unicode codepoint for CIRCLED C WITH OVERLAID BACKSLASH (U+1F16E), transliterates to
C. - UNICODE_CIRCLED_DOLLAR_SIGN_WITH_OVERLAID_BACKSLASH - Static variable in class com.maybeitssquid.safeascii.Name
-
Unicode codepoint for CIRCLED DOLLAR SIGN WITH OVERLAID BACKSLASH (U+1F10F), transliterates to
$. - UNICODE_CIRCLED_ZERO_WITH_SLASH - Static variable in class com.maybeitssquid.safeascii.Name
-
Unicode codepoint for CIRCLED ZERO WITH SLASH (U+1F10D), transliterates to
0. - UNICODE_COLON_EQUALS - Static variable in class com.maybeitssquid.safeascii.Name
-
Unicode codepoint for COLON EQUALS (U+2254), transliterates to
:=. - UNICODE_COLON_SIGN - Static variable in class com.maybeitssquid.safeascii.Name
-
Unicode codepoint for COLON SIGN (U+20A1), the Colombian currency symbol.
- UNICODE_DOUBLE_SOLIDUS_OPERATOR - Static variable in class com.maybeitssquid.safeascii.Name
-
Unicode codepoint for DOUBLE SOLIDUS OPERATOR (U+2AFD), transliterates to
//. - UNICODE_EQUALS_COLON - Static variable in class com.maybeitssquid.safeascii.Name
-
Unicode codepoint for EQUALS COLON (U+2255), transliterates to
=:. - UNICODE_NEL - Static variable in class com.maybeitssquid.safeascii.Categorize
-
The UNICODE line separator character
- UNICODE_OCR_DOUBLE_BACKSLASH - Static variable in class com.maybeitssquid.safeascii.Name
-
Unicode codepoint for OCR DOUBLE BACKSLASH (U+244A), transliterates to
\\. - UNICODE_REPLACEMENT - Static variable in class com.maybeitssquid.safeascii.Categorize
-
The UNICODE replacement character
- UNICODE_TRIPLE_SOLIDUS_BINARY_RELATION - Static variable in class com.maybeitssquid.safeascii.Name
-
Unicode codepoint for TRIPLE SOLIDUS BINARY RELATION (U+2AFB), transliterates to
///. - uppercase(int) - Method in class com.maybeitssquid.safeascii.Name
-
Extracts the base ASCII character for an uppercase letter from its name.
All Classes and Interfaces|All Packages|Constant Field Values