The constructor of SequenceInputStream takes a pair of InputStreams and concatenates them together: |
SequenceInputStream in =
|
Alternatively, SequenceInputStream takes a Java Enumeration type: |
SequenceInputStream in =
|
where args is an array of command-line arguments and FileListEnumerator is a class that implements the Enumeration interface. |