|
Oracle® Globalization Development Kit Java API Reference 10g Release 2 (10.2) Part No. B14224-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.i18n.util.DualInputStreamBuilder
The DualInputStreamBuilder
class generates two InputStream
wrapper objects for one InputStream
source.
Use this class when two independent stream operations are required for one InputStream
source. Usually one stream is for temporary use. For example, one stream detects the language and character set for the input stream and another stream is used for the real purpose.
TIPS: Close either one of the InputStream
objects as soon as the operation is completed.
Constructor Summary | |
DualInputStreamBuilder(InputStream in) Constructs this object with the source InputStream object. |
|
DualInputStreamBuilder(InputStream in, int size) Constructs this object with the source InputStream object. |
Method Summary | |
InputStream |
getFirstInputStream() Returns the first InputStream object. |
InputStream |
getSecondInputStream() Returns the second InputStream object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DualInputStreamBuilder(InputStream in, int size)
InputStream
object.in
- InputStream
objectsize
- the buffer sizepublic DualInputStreamBuilder(InputStream in)
InputStream
object.in
- InputStream
objectMethod Detail |
public InputStream getFirstInputStream()
InputStream
object.InputStream
objectpublic InputStream getSecondInputStream()
InputStream
object.InputStream
object
|
Oracle® Globalization Development Kit Java API Reference 10g Release 2 (10.2) Part No. B14224-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |