Uses of Interface
org.rypt.f8.Utf8ByteHandler
-
-
Uses of Utf8ByteHandler in org.rypt.f8
Subinterfaces of Utf8ByteHandler in org.rypt.f8 Modifier and Type Interface Description interfaceUtf8Handler<X extends Exception>Base interface for handling a stream of unicode code points and errorsClasses in org.rypt.f8 that implement Utf8ByteHandler Modifier and Type Class Description classUtf8StatisticsAn implementation ofUtf8Handlerthat records statistics for valid and invalid UTF-8 byte sequencesclassUtf8StringBuilderAn implementation ofUtf8Handlerthat records byte statistics and decodes a UTF-8 encoded byte stream into a string.Methods in org.rypt.f8 with parameters of type Utf8ByteHandler Modifier and Type Method Description static <X extends Exception>
voidUtf8. finish(int finalState, Utf8ByteHandler<X> handler)If the final state is incomplete, allows handler to handle final error statestatic <X extends Exception>
intUtf8. nextState(int state, byte[] b, int from, int to, Utf8ByteHandler<X> handler)static <X extends Exception>
intUtf8. nextState(int s, byte b, Utf8ByteHandler<X> handler)Returns the next UTF-8 state given a previous state, a next byte, and a code point handler.static <X extends Exception>
intUtf8. nextState(int state, InputStream inputStream, Utf8ByteHandler<X> handler)static <X extends Exception>
voidUtf8. transfer(InputStream is, Utf8ByteHandler<X> handler)This method is semantically equivalent to:
-