141516171819202122
private FileService() {} public ReaderSession openLocalFile(URI uri, int nr_lines) { ReaderSession session = new ReaderSession(); AbstractReader reader = new NLocalReader(uri, nr_lines); session.bindReader(reader); return session; }