Package jp.gr.java_conf.dangan.io
Class DisconnectableOutputStream
java.lang.Object
java.io.OutputStream
jp.gr.java_conf.dangan.io.DisconnectableOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
,Disconnectable
?f?[?^???????????o???????o???X?g???[????
?f?[?^???f?o?C?X???o???????X?g???[??????
???}???????????????????[?e?B???e?B?N???X?B
-- revision history -- $Log: DisconnectableOutputStream.java,v $ Revision 1.0 2002/07/24 00:00:00 dangan add to version control [maintenance] ?^?u?p?~ ???C?Z???X????C?? ?\?[?X????
- Version:
- $Revision: 1.0 $
- Author:
- $Author: dangan $
-
Constructor Summary
ConstructorsConstructorDescriptionout ???????}?????????\???o???X?g???[?????\?z?????B -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
???}???????o???X?g???[?????????}???????????B
?}?????\?b?h?? disconnect() ???????o?????????????Bvoid
???}???????o???X?g???[?????????}???????????Bvoid
flush()
???}???????o???X?g???[?????~?????????f?[?^???S???o?????? ???????w???????Bvoid
write
(byte[] buffer) ???}???????o???X?g???[???? buffer?????f?[?^?? ?S???o???????Bvoid
write
(byte[] buffer, int index, int length) ???}???????o???X?g???[???? buffer?????f?[?^?? index???w???????????u???? length?o?C?g?o???????Bvoid
write
(int data) ???}???????o???X?g???[???? 1?o?C?g???f?[?^???o???????BMethods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
DisconnectableOutputStream
out ???????}?????????\???o???X?g???[?????\?z?????B- Parameters:
out
- ?o???X?g???[??
-
-
Method Details
-
write
???}???????o???X?g???[???? 1?o?C?g???f?[?^???o???????B- Specified by:
write
in classOutputStream
- Parameters:
data
- ?????}???????~?? 1?o?C?g???f?[?^?B
?????I??????3?o?C?g?????????????B- Throws:
IOException
- ???o???G???[?????????????
-
write
???}???????o???X?g???[???? buffer?????f?[?^?? ?S???o???????B- Overrides:
write
in classOutputStream
- Parameters:
buffer
- ?????}???????~???f?[?^???i?[???? ?o?C?g?z???B- Throws:
IOException
- ???o???G???[?????????????
-
write
???}???????o???X?g???[???? buffer?????f?[?^?? index???w???????????u???? length?o?C?g?o???????B- Overrides:
write
in classOutputStream
- Parameters:
buffer
- ?????}???????~???f?[?^???i?[???? ?o?C?g?z???Bindex
- buffer?????????}???~???f?[?^???J?n???u?Blength
- ?????}???~???f?[?^???B- Throws:
IOException
- ???o???G???[?????????????
-
flush
???}???????o???X?g???[?????~?????????f?[?^???S???o?????? ???????w???????B- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
- ???o???G???[?????????????
-
close
public void close()???}???????o???X?g???[?????????}???????????B
?}?????\?b?h?? disconnect() ???????o?????????????B- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
-
disconnect
public void disconnect()???}???????o???X?g???[?????????}???????????B- Specified by:
disconnect
in interfaceDisconnectable
-