|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.InputStream
입력 스트림들이 상속받아야 할 추상 클래스.
Constructor Summary | |
InputStream()
|
Method Summary | |
int |
available()
현재 입력 스트림에서 읽을 수 있는 정보량을 구한다. |
void |
close()
입력 스트림을 닫는다. |
void |
mark(int readlimit)
입력 스트림에 mark정보를 설정한다. |
boolean |
markSupported()
입력 스트림이 mark기능을 지원하는지 여부를 구한다. |
abstract int |
read()
한 바이트를 읽는다. |
int |
read(byte[] buf)
바이트 배열로 읽는다. |
int |
read(byte[] buf,
int offset,
int len)
바이트 배열 일부분으로 읽어 들인다. |
void |
reset()
입력 스트림의 읽는 위치를 mark정보에 설정된 위치로 변경한다. |
long |
skip(long num_bytes_to_skip)
입력 스트림에서 정보를 읽지 않고 건너뛴다. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InputStream()
Method Detail |
public abstract int read() throws IOException
IOException
- public int read(byte[] buf) throws IOException
b
- 읽은 정보가 저장될 바이트 배열.IOException
- public int read(byte[] buf, int offset, int len) throws IOException
b
- 읽은 정보가 저장될 바이트 배열.off
- b에서 저장을 시작할 위치.len
- 읽을 바이트 수.IOException
- public long skip(long num_bytes_to_skip) throws IOException
n
- 건너 뛸 갯수.IOException
- public int available() throws IOException
IOException
- public void close() throws IOException
IOException
- public void mark(int readlimit)
public boolean markSupported()
public void reset() throws IOException
IOException
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AromaSoft Corp. Proprietary and Confidential
(C)opyright 2003 AromaSoft Corp. All right reserved.
Contact : contact@aromasoft.com