Here you can find the source of asciiChar(int value)
public static char asciiChar(int value)
//package com.java2s; //License from project: Open Source License public class Main { public static char asciiChar(int value) { if (value < 0x20 || value > 0x7e) { return '.'; } else {// w ww . j a va2 s. c om return (char) value; } } }