Method |
Description |
available( )
|
Returns the number of bytes that can be read without blocking from the specified file, piped or string buffer input streams or input stream object. |
checkError( )
|
Returns whether the specified print stream object has encountered an error. |
close( )
|
Closes the specified file input stream, file output stream, piped input stream, piped output stream, print stream, random access file, data input stream, data output stream, data input, data output, input stream or output stream object. |
connect( )
|
Connects the given piped input steam to the specified sender piped output stream or connects the given piped output stream to the specified receiver piped input stream. |
DataInputStream( )
|
Returns a input data stream to read from using the specified input stream. |
DataOutputStream( )
|
Returns a output data stream to write to using the specified output stream. |
FileInputStream( )
|
Returns a input file stream to read from using the specified filename, file or file descriptor object. |
FileOutputStream( )
|
Returns a output file stream to write to using the specified filename, file or file descriptor object. |
flush( )
|
Forces any buffered information on the specified output stream to output. |
getFD( )
|
Return the file descriptor object for the specified file input or file output streams or random access file object. |
getFilePointer( )
|
Returns the current offset in bytes within the specified random access file object. |
PipedInputStream( )
|
Returns a new piped input stream object. |
PipedOutputStream( )
|
Returns a new piped output stream object. |
print( )
|
Prints to output stream. |
println( )
|
Prints a line to output stream. |
PrintStream( )
|
Returns a new print stream object. |
RandomAccessFile( )
|
Returns a new random access file object using the specified file name and access mode. |
read( )
|
Return value(s) read from the specified file input stream, piped input stream, string buffer input stream, data input stream, data input, input stream or random access file object. |
readFully( )
|
Returns a string containing the specified number of bytes read from the given random access file, data input stream or data input object. |
readLine( )
|
Returns a string containing the next line of text from the specified random access file, data input stream or data input object. |
reset( )
|
Resets the specified input stream or string buffer input stream to read from beginning. |
seek( )
|
Sets the offset from the beginning at which the next read or write occurs in the specified random access file. |
size( )
|
Returns the number of bytes written to the specified data output stream. |
skip( )
|
Skip over the number of specified bytes from the given file input stream, string buffer input stream or input stream object. |
skipBytes( )
|
Skip over the number of specified bytes from the given random access file, data input stream or data input object. |
StringBufferInputStream( )
|
Returns a new string buffer input stream object using the specified string. |
write( )
|
Writes the given value and returns the number of bytes written to the specified file output stream, piped output stream, print stream, data output stream, data output, output stream or random access file object. |