public static Source source(File file) throws FileNotFoundException {
    if (file == null) throw new IllegalArgumentException("file == null");
    return source(new FileInputStream(file));
  }
public static Source source ( File file ) throws FileNotFoundException { if ( file == null ) throw new IllegalArgumentException ( "file == null" ) ; return source ( new FileInputStream ( file ) ) ; }
Returns a source that reads from {@code file}.