|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
public interface ObjectOutput
DataOutput ÀÎÅÍÆäÀ̽º¸¦ È®ÀåÇØ °´Ã¼ÀÇ write¸¦ ÇÒ ¼ö ÀÖµµ·Ï ÇÕ´Ï´Ù. DataOutput´Â ¿ø½ÃÇüÀÇ Ãâ·ÂÀ» ÇÒ ¼ö ÀÖ´Â ¸Þ¼µå¸¦ Æ÷ÇÔÇÕ´Ï´Ù¸¸, ObjectOutput´Â ÀÌ ÀÎÅÍÆäÀ̽º¸¦ È®ÀåÇØ °´Ã¼, ¹è¿, String¸¦ Æ÷ÇÔÇÒ ¼ö ÀÖµµ·Ï ÇÕ´Ï´Ù.
InputStream
,
ObjectOutputStream
,
ObjectInputStream
¸Þ¼µå °³¿ä | |
---|---|
void |
close ()
½ºÆ®¸²À» ´Ý½À´Ï´Ù. |
void |
flush ()
½ºÆ®¸²À» Ç÷¡½Ã ÇÕ´Ï´Ù. |
void |
write (byte[] b)
¹ÙÀÌÆ® ¹è¿À» Ãâ·ÂÇÕ´Ï´Ù. |
void |
write (byte[] b,
int off,
int len)
¹ÙÀÌÆ® ¹è¿ÀÇ ÀϺθ¦ Ãâ·ÂÇÕ´Ï´Ù. |
void |
write (int b)
µ¥ÀÌÅÍÀÇ ¹ÙÀÌÆ®¸¦ Ãâ·ÂÇÕ´Ï´Ù. |
void |
writeObject (Object obj)
°´Ã¼¸¦, ±âº»ÀÌ µÇ´Â ±â¾ï¿ª ¶Ç´Â ½ºÆ®¸²¿¡ Ãâ·ÂÇÕ´Ï´Ù. |
ÀÎÅÍÆäÀ̽º java.io. DataOutput ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
writeBoolean,
writeByte,
writeBytes,
writeChar,
writeChars,
writeDouble,
writeFloat,
writeInt,
writeLong,
writeShort,
writeUTF |
¸Þ¼µåÀÇ »ó¼¼ |
---|
void writeObject(Object obj) throws IOException
obj
- Ãâ·ÂÇØÁö´Â °´Ã¼
IOException
- ÀÔÃâ·Â¿¡ °ü·ÃÇÑ ¿¹¿ÜÀÇ ¾î¶² °ÍÀΰ¡°¡ ¹ß»ýÇßÀ» °æ¿ìvoid write(int b) throws IOException
DataOutput
³»ÀÇ write
b
- ¹ÙÀÌÆ®
IOException
- ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ìvoid write(byte[] b) throws IOException
DataOutput
³»ÀÇ write
b
- Ãâ·ÂÇØÁö´Â µ¥ÀÌÅÍ
IOException
- ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ìvoid write(byte[] b, int off, int len) throws IOException
DataOutput
³»ÀÇ write
b
- Ãâ·ÂÇØÁö´Â µ¥ÀÌÅÍoff
- µ¥ÀÌÅÍÀÇ °³½Ã ¿ÀÇÁ¼Â(offset)len
- Ãâ·ÂÇØÁö´Â ¹ÙÀÌÆ®¼ö
IOException
- ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ìvoid flush() throws IOException
IOException
- ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ìvoid close() throws IOException
IOException
- ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.