|
@@ -31,7 +31,7 @@ import java.util.List;
|
31
|
31
|
/**
|
32
|
32
|
* Simple stream reader to read a stream and save/discard the data.
|
33
|
33
|
*/
|
34
|
|
-public class StreamReader extends Thread {
|
|
34
|
+class StreamReader extends Thread {
|
35
|
35
|
|
36
|
36
|
/** This is the Input Stream we are reading. */
|
37
|
37
|
private final InputStream stream;
|
|
@@ -45,7 +45,7 @@ public class StreamReader extends Thread {
|
45
|
45
|
*
|
46
|
46
|
* @param stream The stream to read
|
47
|
47
|
*/
|
48
|
|
- public StreamReader(final InputStream stream) {
|
|
48
|
+ StreamReader(final InputStream stream) {
|
49
|
49
|
super("StreamReader");
|
50
|
50
|
|
51
|
51
|
this.stream = stream;
|
|
@@ -57,7 +57,7 @@ public class StreamReader extends Thread {
|
57
|
57
|
* @param stream The stream to read
|
58
|
58
|
* @param list The list to store the output from the stream in
|
59
|
59
|
*/
|
60
|
|
- public StreamReader(final InputStream stream, final List<String> list) {
|
|
60
|
+ StreamReader(final InputStream stream, final List<String> list) {
|
61
|
61
|
super("StreamReader");
|
62
|
62
|
|
63
|
63
|
this.stream = stream;
|
|
@@ -70,7 +70,7 @@ public class StreamReader extends Thread {
|
70
|
70
|
* @param stream The stream to read
|
71
|
71
|
* @param buffer The StringBuffer to store the output from the stream in
|
72
|
72
|
*/
|
73
|
|
- public StreamReader(final InputStream stream, final StringBuffer buffer) {
|
|
73
|
+ StreamReader(final InputStream stream, final StringBuffer buffer) {
|
74
|
74
|
super("StreamReader");
|
75
|
75
|
|
76
|
76
|
this.stream = stream;
|
|
@@ -82,7 +82,7 @@ public class StreamReader extends Thread {
|
82
|
82
|
*
|
83
|
83
|
* @return The output list
|
84
|
84
|
*/
|
85
|
|
- public List<String> getList() {
|
|
85
|
+ List<String> getList() {
|
86
|
86
|
return list;
|
87
|
87
|
}
|
88
|
88
|
|