@@ -0,0 +1,775 @@
+package com.ms2s.middleware.service.util;%0A%0Aimport java.io.File;%0Aimport java.io.FileNotFoundException;%0Aimport java.util.Scanner;%0A%0Apublic class Reader %7B%0A%09%0A%09private String filename;%0A%09%0A%09public Reader(String filename) %7B%0A%09%09this.filename = filename;%0A%09%7D%0A%09%0A%09public String getContent() %7B%0A%09%09String content = null;%0A%09%09try %7B%0A%09%09%09File file = new File(this.filename);%0A%09%09%09Scanner sc = new Scanner(file);%0A%09%09%09while (sc.hasNextLine()) %7B%0A%09%09        content += sc.nextLine();%0A%09%09      %7D%0A%09%09%09sc.close();%0A%09%09%7Dcatch (FileNotFoundException e) %7B%0A%09%09%09System.out.println(%22El archivo %22 + this.filename + %22 no se ha encontrado%22);%0A%09    %7Dcatch(Exception e) %7B%0A%09    %09e.printStackTrace();%0A%09%09%7D%0A%09%09return content;%0A%09%7D%0A%09%0A%09public static String getContent(String filename) %7B%0A%09%09return new Reader(filename).getContent();%0A%09%7D%0A%7D%0A

Create Reader.java