Skip navigation links
B C G M R S 

B

BUFFER_LENGTH_2KB - Static variable in class com.glaforge.i18n.io.SmartEncodingInputStream
 
BUFFER_LENGTH_4KB - Static variable in class com.glaforge.i18n.io.SmartEncodingInputStream
 
BUFFER_LENGTH_8KB - Static variable in class com.glaforge.i18n.io.SmartEncodingInputStream
 

C

CharsetToolkit - Class in com.glaforge.i18n.io
Utility class to guess the encoding of a given byte array.
CharsetToolkit(byte[]) - Constructor for class com.glaforge.i18n.io.CharsetToolkit
Constructor of the com.glaforge.i18n.io.CharsetToolkit utility class.
CharsetToolkit(byte[], Charset) - Constructor for class com.glaforge.i18n.io.CharsetToolkit
Constructor of the com.glaforge.i18n.io.CharsetToolkit utility class.
com.glaforge.i18n.io - package com.glaforge.i18n.io
 

G

getAvailableCharsets() - Static method in class com.glaforge.i18n.io.CharsetToolkit
Retrieves all the available Charsets on the platform, among which the default charset.
getBomSize() - Method in class com.glaforge.i18n.io.CharsetToolkit
Returns the size of the Byte Order Marker if any
getDefaultCharset() - Method in class com.glaforge.i18n.io.CharsetToolkit
Retrieves the default Charset
getDefaultSystemCharset() - Static method in class com.glaforge.i18n.io.CharsetToolkit
Retrieve the default charset of the system.
getEncoding() - Method in class com.glaforge.i18n.io.SmartEncodingInputStream
Retrieves the Charset as guessed from the underlying InputStream.
getEnforce8Bit() - Method in class com.glaforge.i18n.io.CharsetToolkit
Gets the enforce8Bit flag, in case we do not want to ever get a US-ASCII encoding.
getReader() - Method in class com.glaforge.i18n.io.SmartEncodingInputStream
Gets a Reader with the right Charset as guessed by reading the beginning of the underlying InputStream.
guessEncoding() - Method in class com.glaforge.i18n.io.CharsetToolkit
Guess the encoding of the provided buffer.
guessEncoding(File, int) - Static method in class com.glaforge.i18n.io.CharsetToolkit
 
guessEncoding(File, int, Charset) - Static method in class com.glaforge.i18n.io.CharsetToolkit
 

M

main(String[]) - Static method in class com.glaforge.i18n.io.CharsetToolkit
 
main(String[]) - Static method in class com.glaforge.i18n.io.SmartEncodingInputStream
 

R

read() - Method in class com.glaforge.i18n.io.SmartEncodingInputStream
Implements the method read() as defined in the InputStream interface.

S

setDefaultCharset(Charset) - Method in class com.glaforge.i18n.io.CharsetToolkit
Defines the default Charset used in case the buffer represents an 8-bit Charset.
setEnforce8Bit(boolean) - Method in class com.glaforge.i18n.io.CharsetToolkit
If US-ASCII is recognized, enforce to return the default encoding, rather than US-ASCII.
SmartEncodingInputStream - Class in com.glaforge.i18n.io
com.glaforge.i18n.io.SmartEncodingInputStream extends an InputStream with a special constructor and a special method for dealing with text files encoded within different charsets.
SmartEncodingInputStream(InputStream, int, Charset, boolean) - Constructor for class com.glaforge.i18n.io.SmartEncodingInputStream
Constructor of the com.glaforge.i18n.io.SmartEncodingInputStream class.
SmartEncodingInputStream(InputStream, int, Charset) - Constructor for class com.glaforge.i18n.io.SmartEncodingInputStream
Constructor of the com.glaforge.i18n.io.SmartEncodingInputStream.
SmartEncodingInputStream(InputStream, int) - Constructor for class com.glaforge.i18n.io.SmartEncodingInputStream
Constructor of the com.glaforge.i18n.io.SmartEncodingInputStream.
SmartEncodingInputStream(InputStream) - Constructor for class com.glaforge.i18n.io.SmartEncodingInputStream
Constructor of the com.glaforge.i18n.io.SmartEncodingInputStream.
B C G M R S 
Skip navigation links

Copyright © 2014. All rights reserved.