R
raven
Hello, is there a way to add an "adapter" that would allow to attach
multiple independent ReaderS to a single Reader? (They would read the same
stream of characters but would be able to be in different states, eg.
reader1 has read 100 characters already but reader2 has read 2000
characters ).
I've found this "edu.iu.iv.common.util.SIMOStreamRedirecter" (SIMO: Single
Input, Multiple Output)
http://iv.slis.indiana.edu/api/edu/iu/iv/common/util/SIMOStreamRedirecter.html
But:
1. I think that it is quite probable that similar thing exists in the
standard Java libraries
2. I'm not quite sure why the edu.iu.iv.common.util.SIMOStreamRedirecter "is
a" java.lang.Thread
TIA
multiple independent ReaderS to a single Reader? (They would read the same
stream of characters but would be able to be in different states, eg.
reader1 has read 100 characters already but reader2 has read 2000
characters ).
I've found this "edu.iu.iv.common.util.SIMOStreamRedirecter" (SIMO: Single
Input, Multiple Output)
http://iv.slis.indiana.edu/api/edu/iu/iv/common/util/SIMOStreamRedirecter.html
But:
1. I think that it is quite probable that similar thing exists in the
standard Java libraries
2. I'm not quite sure why the edu.iu.iv.common.util.SIMOStreamRedirecter "is
a" java.lang.Thread
TIA