diff --git a/src/TextOutput.java b/src/TextOutput.java index 26b6636..cf6c68d 100644 --- a/src/TextOutput.java +++ b/src/TextOutput.java @@ -129,10 +129,16 @@ public class TextOutput { * * @param info Benutzerinformationen */ - public void UserInfo(String info) { + public void UserInfoOutput(String info) { System.out.println(info); } + public void IndexOutput(ArrayList index) { + for (String word : index) { + System.out.println(word); + } + } + /** * Method to give out the Error "Invalid String". */