Java IO – Comparativo das Classes Pai
Posted by Cesar Barbosa on Dec 13, 2012 in IO | 0 comments
Java IO – Comparativo das Classe Pai
Este item é parte dos tópicos sequenciais sobre Java IO: Confira.
Comparativo: InputStream, Reader, OutputStream, Writer
[table]
|
Entrada |
Saída |
|
InputStream |
Reader |
OutputStream |
Writer |
Leitura |
- abstract int read()
- int read(byte[] b)
- int read(byte[] b, int off, int len)
- long skip(long n)
- int available()
|
- abstract int read()
- int read(char[] c)
- int read(char[] c, int off, int len)
- int read(CharBuffer c)
- long skip(long n)
- boolean ready()
|
|
|
Marcadores |
- void mark(int readlimit)
- void markSupported()
- void reset()
|
|
|
Escrita |
|
|
- abstract void write(int b)
- void write(byte[] b)
- void write(byte[] b, int off, int len)
- void flush()
|
- abstract void write(int b)
- void write(char[] c)
- void write(char[] c, int off, int len)
- void write(String s)
- void write(String s, int off, int len)
- Writer append(char c)
- Writer append(CharSequence cs)
- Writer append(CharSequence cs, int start, int end)
- void flush()
|
Geral |
|
[/table]
[sc:signature_df]
0 Comments