Android ASCII Check isPrintableAscii(int c)

Here you can find the source of isPrintableAscii(int c)

Description

is Printable Ascii

Declaration

public static boolean isPrintableAscii(int c) 

Method Source Code

//package com.java2s;

public class Main {
    public static int PRINTABLE_ASCII_MIN = 0x20;
    public static int PRINTABLE_ASCII_MAX = 0x7E;

    public static boolean isPrintableAscii(int c) {
        return c >= PRINTABLE_ASCII_MIN && c <= PRINTABLE_ASCII_MAX;
    }/*from  w ww.j a  v  a  2  s. com*/
}

Related

  1. containsOnlyPrintableAscii(String s)
  2. isPureAscii(String v)
  3. containsOnlyNonCrLfPrintableAscii( final String... values)
  4. containsOnlyNonCrLfPrintableAscii( final Collection values)
  5. checkAscii(char c)