public static InputStream asStream(Class<?> contextClass, String resourceName) throws IOException {
		return Resources.getResource(contextClass, resourceName).openStream();
	}
public static InputStream asStream ( Class < ? > contextClass , String resourceName ) throws IOException { return Resources . getResource ( contextClass , resourceName ) . openStream ( ) ; }
读取文件的每一行，读取规则见本类注释.