Code example for BufferedReader

Methods: close

			throw new StlParseException("Passed file does not exist."); 
		if (!file.isFile())
			throw new StlParseException("This is not a file."); 
		final BufferedReader buffer = new BufferedReader(new FileReader(file));
		boolean isASCII = isASCII(buffer);
		return isASCII;
	 * Determine if a given resource appears to be in ASCII format. 
	 * @param res 
	 * @param resId 
	 * @return 
	 * @throws IOException 
Connect your IDE to all the code out there  Get Codota for Java