public static InputStream asInputStream(File file) throws IOException {
		Validate.notNull(file, "file is null");
		return asInputStream(file.toPath());
	}
public static InputStream asInputStream ( File file ) throws IOException { Validate . notNull ( file , "file is null" ) ; return asInputStream ( file . toPath ( ) ) ; }
打开文件为InputStream.

@see {@link Files#newInputStream}