package scruf.parsers; import java.io.*; import scruf.io.*; public class BackButton implements Parser { // this method doesn't modify the filContent. public String parse(String fileContent) { StringBuilder button = new StringBuilder(); button.append("\n
\n"); button.append(" home "); }else { button.append("./\"> back "); } button.append("\n"); button.append("
"); PresentFile.backButton = button.toString(); return fileContent; } }