summaryrefslogtreecommitdiff
path: root/src/main/java/tlIItools/NameFileReader.java
diff options
context:
space:
mode:
authorBen Culkin <scorpress@gmail.com>2020-10-06 19:19:06 -0400
committerBen Culkin <scorpress@gmail.com>2020-10-06 19:19:06 -0400
commite6c3cf3941aff03a01b31b49edd61f4cfca80fc8 (patch)
tree5e755c29c12ef4a2ba44ca41d9e0a61f69f9ed89 /src/main/java/tlIItools/NameFileReader.java
parent3a140a48b3e8e3d0f7667c17bd2ed40933645385 (diff)
Info cleanup
Diffstat (limited to 'src/main/java/tlIItools/NameFileReader.java')
-rw-r--r--src/main/java/tlIItools/NameFileReader.java20
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);