Android String End of Line Convert isS(char ch)

Here you can find the source of isS(char ch)

Description

Return true if chacters is S as defined in XML 1.0 S ::= (#x20 | #x9 | #xD | #xA)+

License

Open Source License

Declaration

private static boolean isS(char ch) 

Method Source Code

//package com.java2s;
// for license please see accompanying LICENSE.txt file (available also at http://www.xmlpull.org/)

public class Main {
    /**//from www.  j  a v a2 s  . c  om
     * Return true if chacters is S as defined in XML 1.0
     * <code>S ::=  (#x20 | #x9 | #xD | #xA)+</code>
     */
    private static boolean isS(char ch) {

        return (ch == ' ' || ch == '\n' || ch == '\r' || ch == '\t');
    }
}

Related

  1. newLineToBr(String s)
  2. filterEnter(String str)
  3. fold(String recipients)
  4. findEmptyLine(String s)
  5. deleteEmptyLine(String str)