From e6c3cf3941aff03a01b31b49edd61f4cfca80fc8 Mon Sep 17 00:00:00 2001 From: Ben Culkin Date: Tue, 6 Oct 2020 19:19:06 -0400 Subject: Info cleanup --- src/main/java/tlIItools/NameFileReader.java | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'src/main/java/tlIItools/NameFileReader.java') diff --git a/src/main/java/tlIItools/NameFileReader.java b/src/main/java/tlIItools/NameFileReader.java index 87407162..8b1b62d4 100644 --- a/src/main/java/tlIItools/NameFileReader.java +++ b/src/main/java/tlIItools/NameFileReader.java @@ -51,7 +51,14 @@ public class NameFileReader { */ public int fCount; + /** + * Stream to write normal output to. + */ public PrintStream normOut = System.out; + + /** + * Stream to write error output to. + */ public PrintStream errOut = System.err; /** @@ -171,12 +178,23 @@ public class NameFileReader { } } + /** + * Add a file to this file reader. + * + * @param fName The file to add. + */ public void addFile(String fName) { curList.add(fName); fCount += 1; } - + + /** + * Add a file to this file reader. + * + * @param groupName The group to add the file to. * + * @param fName The file to add. + */ public void addFile(String groupName, String fName) { fNames.computeIfAbsent(groupName, (key) -> new ArrayList<>()).add(fName); -- cgit v1.2.3