'Shift-JIS Encoding' tutorial was cited in an Commons Java source code in 2014.

The Shift-JIS Encoding tutorial was cited in an Commons Java source code in 2014.

Date: Jan 26, 2014
Author: apache 


 * Reads lines in a file reversely (similar to a BufferedReader, but 
 * starting at the last line). Useful for e.g. searching in log files.
 * @since 2.2
public class ReversedLinesFileReader implements Closeable {
     if (maxBytesPerChar == 1f) {
         // all one byte encodings are no problem
         byteDecrement = 1;
     } else if (charset == Charsets.UTF_8) {
         // UTF-8 works fine out of the box, for multibyte sequences a
         // second UTF-8 byte can never be a newline byte
         byteDecrement = 1;
     } else if (charset == Charset.forName("Shift_JIS")) {
         // Same as for UTF-8
         byteDecrement = 1;
     } else if (charset == Charsets.UTF_16BE 
         || charset == Charsets.UTF_16LE) {
         // UTF-16 new line sequences are not allowed as second tuple of 
         // four byte sequences,
         // however byte order has to be specified
         byteDecrement = 2;

Table of Contents

 About This Book

 Reference Citations in 2016

 Reference Citations in 2015

Reference Citations in 2014

 Node.js and openSSL

 MD5 算法在 Java 语言

 Rpc Encoded requires encodingStyle on body #12

 Java 操作 Oracle CLOB 字段

 Conjunto de resultados

 Java Programming (Course Notes)

 How to use nusoap to consume an online webservice?

 Wireless Spontaneous Network Creation ...

 MySQL prepared statement in Java not returning a value

 All chocolatey commands come back as "/c: ..."

 Hack Go – generate non-FIPS DSA key parameters...

 How to take adb logcat, and store it in system?

 Loose Coupling and Substitution Principle ...

 Ruby Driver 1.0 for Apache Cassandra Documentation

 Reference Citations in 2013

 Reference Citations in 2012

 Reference Citations in 2011

 Reference Citations in 2010

 Reference Citations in 2009

 Reference Citations in 2008

 Reference Citations in 2007

 Reference Citations in 2006

 Reference Citations in 2005

 Reference Citations in 2004

 Reference Citations in 2003

 PDF Printing Version