format/src/main/java/com/github/sadikovi/riff/Riff.java
/**
   * Get new reader.
   * @param fs file system to use
   * @param conf configuration with Riff options
   * @param path file path to read
   * @return file reader
   */
Get new reader.
@param fs file system to use
@param conf configuration with Riff options
@param path file path to read
@return file reader
Get new reader . @param fs file system to use @param conf configuration with Riff options @param path file path to read @return file reader
public static FileReader reader(FileSystem fs, Configuration conf, Path path) {
    try {
      return new FileReader(fs, conf, path);
    } catch (IOException err) {
      throw new RuntimeException("Error occured: " + err.getMessage(), err);
    }
  }
public static FileReader reader ( FileSystem fs , Configuration conf , Path path ) { try { return new FileReader ( fs , conf , path ) ; } catch ( IOException err ) { throw new RuntimeException ( "Error occured: " + err . getMessage ( ) , err ) ; } }
Get new reader.
Get new reader .