code: public static List<String> readLines(File file) throws IOException {
          List<String> lines = new ArrayList<String>();
          InputStreamReader reader = null;
          BufferedReader bufferedReader = null;
          try {
              reader = new FileReader(file);
              bufferedReader = new BufferedReader(reader);
              String lineText = null;
              while ((lineText = bufferedReader.readLine()) != null) {
                  lines.add(lineText);
              }
              return lines;
          } finally {
              if (bufferedReader != null) {
                  bufferedReader.close();
              }
              if (reader != null) {
                  reader.close();
              }
          }
      }
docs: 读取类相对路径内容
  
  @param file 文件
  @return 文件内容（按行）
  @throws IOException 发送IO异常