### Question:
IOUtils { public static Iterable<String> readlines(FileReader fr) throws IOException { final BufferedReader br = new BufferedReader(fr); return readlines(br); }  static String toString(InputStream is); static Iterable<String> readlines(FileReader fr); static Iterable<String> readlines(final BufferedReader br); static Object[] readLines(File file, long pos); static List<Object[]> readlinesWithIndex(final BufferedReader br); static boolean createFile(String filePath); static int replaceLine(String filePath, String regex, String dist, String addedLine); static void append(String filePath, String appended); static boolean renameFile(String oldFilePath, String newNamePath);  }### Answer:
@Test public void testReadLines() throws IOException { IOUtils.createFile(fileName); Object[] readLines = IOUtils.readLines(new File(fileName), 0); long pos = (Long) readLines[0]; logger.debug("pos:{}", pos); @SuppressWarnings("unchecked") List<String> lines = (List<String>) readLines[1]; for (String line : lines) { logger.debug("line:{}", line); } }