|
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 µµ ÂüÁ¶ÇϽʽÿÀ.