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 TypeMethodDescriptionvoidclose()???�}???????o???X?g???[?????????�}???????????B
?�}?????\?b?h?? disconnect() ???????o?????????????Bvoid???�}???????o???X?g???[?????????�}???????????Bvoidflush()???�}???????o???X?g???[?????~?????????f?[?^???S???o?????? ???????w???????Bvoidwrite(byte[] buffer) ???�}???????o???X?g???[???? buffer?????f?[?^?? ?S???o???????Bvoidwrite(byte[] buffer, int index, int length) ???�}???????o???X?g???[???? buffer?????f?[?^?? index???w???????????u???? length?o?C?g?o???????Bvoidwrite(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:
writein 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:
writein 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:
writein 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:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException- ???o???G???[?????�÷????????
-
close
public void close()???�}???????o???X?g???[?????????�}???????????B
?�}?????\?b?h?? disconnect() ???????o?????????????B- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream
-
disconnect
public void disconnect()???�}???????o???X?g???[?????????�}???????????B- Specified by:
disconnectin interfaceDisconnectable
-