public static void main(String[] args) throws IOException {
		int c;
		try {
			InputStream in = new LowerCaseInputStream(new BufferedInputStream(
					new FileInputStream("/home/peng/git/headFirst-pattern/headfirst/src/DecoratorPattern/test.txt")));

			while ((c = in.read()) >= 0) {
				System.out.print((char) c);
			}
			in.close();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}