LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control.content
Class LyUnicodeDetectReader

java.lang.Object
  extended by java.io.Reader
      extended by leon.control.content.LyUnicodeDetectReader
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable

public class LyUnicodeDetectReader
extends java.io.Reader

Generic detect unicode textreader, which will use BOM mark to identify the encoding to be used.


Field Summary
static java.lang.String __VERSION
          File version
 
Method Summary
 void close()
          Close this reader
 java.lang.String getDefaultEncoding()
          Get the default encoding
 java.lang.String getEncoding()
          Get encoding
 int read(char[] cbuf, int off, int len)
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Method Detail

getDefaultEncoding

public java.lang.String getDefaultEncoding()
Get the default encoding

Returns:
the default encoding

getEncoding

public java.lang.String getEncoding()
Get encoding

Returns:
the current encoding

close

public void close()
           throws java.io.IOException
Close this reader

Specified by:
close in interface java.io.Closeable
Specified by:
close in class java.io.Reader
Throws:
java.io.IOException

read

public int read(char[] cbuf,
                int off,
                int len)
         throws java.io.IOException
Specified by:
read in class java.io.Reader
Throws:
java.io.IOException
See Also:
Reader.read(char[], int, int)

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com