ePrometeusCorsoJavaJava
testi articoli
Testi Articoli  Download
Home | Basi | Espressioni | Comandi | Classi | Ereditarieta | Eccezioni | Thread | Utilita | 
CorsoJava è ora Video! Free for all!
Clicca Qui!

Utilita
Stringhe
Ricerche
Confronti
intern()
Utility
StringBuffer
StringTokenizer
Contenitori
Enumeration
Vector
Dictionary
Hashtable
I/O
Complicazioni
InputStream
OutputStream
File
File Stream
Varie

<<< InputStream >>>
InputStream
lettura bloccante: si aspetta finchè non è disponibile un carattere
int read() 
  throws IOException
// ritorna un byte, da 0 a 255 
// oppure -1 che significa fine-input
int read(byte[] buf, [int off, int len])  
  throws IOException  
// legge fino buf.length caratteri 
// ritorna il numero di byte letti 
long skip (long count)
// salta count caratteri (o fino a EOF) 
// ritorna il numero di byte saltati
int available()
// quanti byte posso leggere senza bloccarmi
void close()
// chiude lo stream
ePrometeus s.r.l. - Web Software House & Open Source System Integrator
MILANO - SAN BENEDETTO DEL TRONTO(AP)
Contatti: info@eprometeus.com