diff options
| author | Ben Culkin <scorpress@gmail.com> | 2020-10-06 19:19:06 -0400 |
|---|---|---|
| committer | Ben Culkin <scorpress@gmail.com> | 2020-10-06 19:19:06 -0400 |
| commit | e6c3cf3941aff03a01b31b49edd61f4cfca80fc8 (patch) | |
| tree | 5e755c29c12ef4a2ba44ca41d9e0a61f69f9ed89 /src/main/java/tlIItools/NameFileReader.java | |
| parent | 3a140a48b3e8e3d0f7667c17bd2ed40933645385 (diff) | |
Info cleanup
Diffstat (limited to 'src/main/java/tlIItools/NameFileReader.java')
| -rw-r--r-- | src/main/java/tlIItools/NameFileReader.java | 20 |
1 files changed, 19 insertions, 1 deletions
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); |
