A C E F H I L M N O R S T U V W 
All Classes All Packages

A

ASCII - org.rypt.f8.Validity
Pure ASCII

C

charAt(int) - Method in class org.rypt.f8.Utf8StringBuilder
 
close() - Method in class org.rypt.f8.Utf8Statistics
 
codePoint(int, int) - Static method in class org.rypt.f8.Utf8
Returns a valid unicode code point given a valid UTF-8 2-byte sequence.
codePoint(int, int, int) - Static method in class org.rypt.f8.Utf8
Returns a valid unicode code point given a valid UTF-8 3-byte sequence.
codePoint(int, int, int, int) - Static method in class org.rypt.f8.Utf8
Returns a valid unicode code point given a valid UTF-8 4-byte sequence.
count2Byte() - Method in class org.rypt.f8.Utf8Statistics
 
count3Byte() - Method in class org.rypt.f8.Utf8Statistics
 
count4Byte() - Method in class org.rypt.f8.Utf8Statistics
 
countAscii() - Method in class org.rypt.f8.Utf8Statistics
 
countCodePoints() - Method in class org.rypt.f8.Utf8Statistics
 
countInvalid() - Method in class org.rypt.f8.Utf8Statistics
 
countInvalidIgnoringTruncation() - Method in class org.rypt.f8.Utf8Statistics
 
countValid() - Method in class org.rypt.f8.Utf8Statistics

E

END_OF_STREAM - Static variable in interface org.rypt.f8.Utf8ByteHandler
A flag to indicate the absence of a trailing continuation byte because the end of the stream has been reached, in handleContinuationError(int, int), handleContinuationError(int, int, int), and handleContinuationError(int, int, int, int)

F

finish(int, Utf8ByteHandler<X>) - Static method in class org.rypt.f8.Utf8
If the final state is incomplete, allows handler to handle final error state

H

handle1ByteCodePoint(int) - Method in interface org.rypt.f8.Utf8ByteHandler
Called when a valid 1-byte sequence is encountered.
handle1ByteCodePoint(int) - Method in interface org.rypt.f8.Utf8Handler
 
handle1ByteCodePoint(int) - Method in class org.rypt.f8.Utf8Statistics
 
handle1ByteCodePoint(int) - Method in class org.rypt.f8.Utf8StringBuilder
 
handle2ByteCodePoint(int, int) - Method in interface org.rypt.f8.Utf8ByteHandler
Called when a valid 2-byte sequence is encountered.
handle2ByteCodePoint(int, int) - Method in interface org.rypt.f8.Utf8Handler
 
handle2ByteCodePoint(int, int) - Method in class org.rypt.f8.Utf8Statistics
 
handle2ByteCodePoint(int, int) - Method in class org.rypt.f8.Utf8StringBuilder
 
handle3ByteCodePoint(int, int, int) - Method in interface org.rypt.f8.Utf8ByteHandler
Called when a valid 3-byte sequence is encountered.
handle3ByteCodePoint(int, int, int) - Method in interface org.rypt.f8.Utf8Handler
 
handle3ByteCodePoint(int, int, int) - Method in class org.rypt.f8.Utf8Statistics
 
handle3ByteCodePoint(int, int, int) - Method in class org.rypt.f8.Utf8StringBuilder
 
handle4ByteCodePoint(int, int, int, int) - Method in interface org.rypt.f8.Utf8ByteHandler
Called when a valid 4-byte sequence is encountered.
handle4ByteCodePoint(int, int, int, int) - Method in interface org.rypt.f8.Utf8Handler
 
handle4ByteCodePoint(int, int, int, int) - Method in class org.rypt.f8.Utf8Statistics
 
handle4ByteCodePoint(int, int, int, int) - Method in class org.rypt.f8.Utf8StringBuilder
 
handleCodePoint(int) - Method in interface org.rypt.f8.Utf8Handler
Called when a valid unicode code point is encountered
handleCodePoint(int) - Method in class org.rypt.f8.Utf8Statistics
 
handleCodePoint(int) - Method in class org.rypt.f8.Utf8StringBuilder
 
handleContinuationError(int, int) - Method in interface org.rypt.f8.Utf8ByteHandler
Called when an invalid continuation byte is encountered in a 2, 3, or 4-byte sequence.
handleContinuationError(int, int) - Method in interface org.rypt.f8.Utf8Handler
 
handleContinuationError(int, int) - Method in class org.rypt.f8.Utf8Statistics
 
handleContinuationError(int, int, int) - Method in interface org.rypt.f8.Utf8ByteHandler
Called when an invalid continuation byte is encountered in a 3 or 4-byte sequence.
handleContinuationError(int, int, int) - Method in interface org.rypt.f8.Utf8Handler
 
handleContinuationError(int, int, int) - Method in class org.rypt.f8.Utf8Statistics
 
handleContinuationError(int, int, int, int) - Method in interface org.rypt.f8.Utf8ByteHandler
Called when an invalid continuation byte is encountered in a 4-byte sequence.
handleContinuationError(int, int, int, int) - Method in interface org.rypt.f8.Utf8Handler
 
handleContinuationError(int, int, int, int) - Method in class org.rypt.f8.Utf8Statistics
 
handleError() - Method in interface org.rypt.f8.Utf8Handler
Called when an invalid UTF-8 byte sequence is detected
handleError() - Method in class org.rypt.f8.Utf8Statistics
 
handleError() - Method in class org.rypt.f8.Utf8StringBuilder
 
handleIgnoredByte(int) - Method in interface org.rypt.f8.Utf8ByteHandler
Called for a trailing byte in an invalid multi-byte sequence for which the error has already been handled, and thus, no action needs to be taken.
handlePrefixError(int) - Method in interface org.rypt.f8.Utf8ByteHandler
Called when an invalid prefix byte is encountered.
handlePrefixError(int) - Method in interface org.rypt.f8.Utf8Handler
 

I

isErrorState(int) - Static method in class org.rypt.f8.Utf8
Tests if this state corresponds to any invalid UTF-8 byte sequence.
isFullyValid() - Method in enum org.rypt.f8.Validity
 
isIncompleteState(int) - Static method in class org.rypt.f8.Utf8
Tests if at least one more continuation byte is needed to create a code point
isSurrogatePrefixErrorState(int) - Static method in class org.rypt.f8.Utf8
Tests if this state corresponds to an invalid UTF-8 2-byte sequence that prefixes a surrogate code point, i.e., in the range 0xED 0xA0 to 0xED 0xBF.
isValidOrTruncated() - Method in enum org.rypt.f8.Validity
 

L

length() - Method in class org.rypt.f8.Utf8StringBuilder
 
looksLikeUtf8() - Method in class org.rypt.f8.Utf8Statistics
 

M

MALFORMED - org.rypt.f8.Validity
Malformed UTF-8

N

nextState(int, byte) - Static method in class org.rypt.f8.Utf8
nextState(int, byte[], int, int, Utf8ByteHandler<X>) - Static method in class org.rypt.f8.Utf8
 
nextState(int, byte, Utf8ByteHandler<X>) - Static method in class org.rypt.f8.Utf8
Returns the next UTF-8 state given a previous state, a next byte, and a code point handler.
nextState(int, InputStream, Utf8ByteHandler<X>) - Static method in class org.rypt.f8.Utf8
 

O

of(Appendable) - Static method in interface org.rypt.f8.Utf8Handler
 
org.rypt.f8 - package org.rypt.f8
 

R

reset() - Method in class org.rypt.f8.Utf8Statistics
 
reset() - Method in class org.rypt.f8.Utf8StringBuilder
 

S

sb - Variable in class org.rypt.f8.Utf8StringBuilder
 
subSequence(int, int) - Method in class org.rypt.f8.Utf8StringBuilder
 

T

toString() - Method in class org.rypt.f8.Utf8Statistics
 
toString() - Method in class org.rypt.f8.Utf8StringBuilder
 
transfer(InputStream, Utf8ByteHandler<X>) - Static method in class org.rypt.f8.Utf8
This method is semantically equivalent to:

U

UNDERFLOW_R0 - org.rypt.f8.Validity
Valid UTF-8 that is not necessarily truncated and that is not pure ASCII
UNDERFLOW_R1 - org.rypt.f8.Validity
Valid UTF-8 that is truncated after the first byte in a multi-byte sequence
UNDERFLOW_R2 - org.rypt.f8.Validity
Valid UTF-8 that is truncated after the second byte in a multi-byte sequence
UNDERFLOW_R3 - org.rypt.f8.Validity
Valid UTF-8 that is truncated after the third byte in a multi-byte sequence
Utf8 - Class in org.rypt.f8
The core UTF-8 state machine.
Utf8ByteHandler<X extends Exception> - Interface in org.rypt.f8
Base interface for handling a UTF-8 encoded byte stream
Utf8Handler<X extends Exception> - Interface in org.rypt.f8
Base interface for handling a stream of unicode code points and errors
Utf8Statistics - Class in org.rypt.f8
An implementation of Utf8Handler that records statistics for valid and invalid UTF-8 byte sequences
Utf8Statistics() - Constructor for class org.rypt.f8.Utf8Statistics
 
Utf8StringBuilder - Class in org.rypt.f8
An implementation of Utf8Handler that records byte statistics and decodes a UTF-8 encoded byte stream into a string.
Utf8StringBuilder() - Constructor for class org.rypt.f8.Utf8StringBuilder
 
Utf8StringBuilder(StringBuilder) - Constructor for class org.rypt.f8.Utf8StringBuilder
 

V

validity(byte[], int, int) - Static method in class org.rypt.f8.Utf8
Returns the validity of the specified byte array between the specified indexes
validity(InputStream) - Static method in class org.rypt.f8.Utf8
 
Validity - Enum in org.rypt.f8
This class encapsulates the possible UTF-8 validities of a sequence of bytes
valueOf(String) - Static method in enum org.rypt.f8.Validity
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.rypt.f8.Validity
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(byte[]) - Method in class org.rypt.f8.Utf8Statistics
 
write(byte[], int, int) - Method in class org.rypt.f8.Utf8Statistics
 
write(int) - Method in class org.rypt.f8.Utf8Statistics
 
A C E F H I L M N O R S T U V W 
All Classes All Packages