Skip to main content

InputStream

É utilizado para gerir a entrada do fluxo de dados.


available


available() : int

Return

( int )


close


close() : void

Return

( void )


mark


mark(arg0: int) : void

Attributes
NAMETYPEDESCRIPTION
arg0int
Return

( void )


markSupported


markSupported() : boolean

Return

( boolean )


nullInputStream


nullInputStream() : InputStream

Return

( InputStream )


read


read() : int

Return

( int )


read(arg0: byte[]) : int

Attributes
NAMETYPEDESCRIPTION
arg0byte[]
Return

( int )


read(bytes: byte[], off: int, length: int) : int

Attributes
NAMETYPEDESCRIPTION
bytesbyte[]
offint
lengthint
Return

( int )


readAll


readAll() : string

Return

( string )


readAll(in: InputStream) : string

Attributes
NAMETYPEDESCRIPTION
inInputStream
Return

( string )


readAll(in: InputStream, charset: string) : string

Attributes
NAMETYPEDESCRIPTION
inInputStream
charsetstring
Return

( string )


readAll(r: java.io.Reader) : string

Attributes
NAMETYPEDESCRIPTION
rjava.io.Reader
Return

( string )


readAllAndClose


readAllAndClose() : string

Return

( string )


readAllBytes


readAllBytes() : byte[]

Return

( byte[] )


readAllBytes(in: InputStream) : byte[]

Attributes
NAMETYPEDESCRIPTION
inInputStream
Return

( byte[] )


readAllBytesAndClose


readAllBytesAndClose() : byte[]

Return

( byte[] )


readAllBytesFromFile


readAllBytesFromFile(file: java.io.File) : byte[]

Attributes
NAMETYPEDESCRIPTION
filejava.io.File
Return

( byte[] )


readAllBytesFromFile(file: string) : byte[]

Attributes
NAMETYPEDESCRIPTION
filestring
Return

( byte[] )


readAllBytesFromFile(file: java.nio.file.Path) : byte[]

Attributes
NAMETYPEDESCRIPTION
filejava.nio.file.Path
Return

( byte[] )


readFromFile


readFromFile(path: java.io.File) : string

Attributes
NAMETYPEDESCRIPTION
pathjava.io.File
Return

( string )


readFromFile(path: java.io.File, charset: string) : string

Attributes
NAMETYPEDESCRIPTION
pathjava.io.File
charsetstring
Return

( string )


readFromFile(path: string) : string

Attributes
NAMETYPEDESCRIPTION
pathstring
Return

( string )


readFromFile(path: string, charset: string) : string

Attributes
NAMETYPEDESCRIPTION
pathstring
charsetstring
Return

( string )


readFromFile(path: java.nio.file.Path) : string

Attributes
NAMETYPEDESCRIPTION
pathjava.nio.file.Path
Return

( string )


readFromFile(path: java.nio.file.Path, charset: string) : string

Attributes
NAMETYPEDESCRIPTION
pathjava.nio.file.Path
charsetstring
Return

( string )


readLine


readLine() : string

Return

( string )


readLine(in: InputStream) : string

Attributes
NAMETYPEDESCRIPTION
inInputStream
Return

( string )


readNBytes


readNBytes(arg0: byte[], arg1: int, arg2: int) : int

Attributes
NAMETYPEDESCRIPTION
arg0byte[]
arg1int
arg2int
Return

( int )


readNBytes(arg0: int) : byte[]

Attributes
NAMETYPEDESCRIPTION
arg0int
Return

( byte[] )


readString


readString() : string

Return

( string )


readString(charset: java.nio.charset.Charset) : string

Attributes
NAMETYPEDESCRIPTION
charsetjava.nio.charset.Charset
Return

( string )


readStringAndClose


readStringAndClose() : string

Return

( string )


readStringAndClose(charset: java.nio.charset.Charset) : string

Attributes
NAMETYPEDESCRIPTION
charsetjava.nio.charset.Charset
Return

( string )


reset


reset() : void

Return

( void )


skip


skip(arg0: long) : long

Attributes
NAMETYPEDESCRIPTION
arg0long
Return

( long )


skipNBytes


skipNBytes(arg0: long) : void

Attributes
NAMETYPEDESCRIPTION
arg0long
Return

( void )


transferTo


transferTo(arg0: OutputStream) : long

Attributes
NAMETYPEDESCRIPTION
arg0OutputStream
Return

( long )


writeTo


writeTo(out: OutputStream) : InputStream

Attributes
NAMETYPEDESCRIPTION
outOutputStream
Return

( InputStream )


writeTo(out: OutputStream) : InputStream

Attributes
NAMETYPEDESCRIPTION
outOutputStream
Return

( InputStream )


writeToAndClose


writeToAndClose(out: OutputStream) : InputStream

Attributes
NAMETYPEDESCRIPTION
outOutputStream
Return

( InputStream )


writeToAndClose(out: OutputStream) : InputStream

Attributes
NAMETYPEDESCRIPTION
outOutputStream
Return

( InputStream )