- write(int) - Method in class java.io.FileOutputStream
-
Writes the specified byte to this file output stream.
- write(byte[]) - Method in class java.io.FileOutputStream
-
Writes b.length
bytes from the specified byte array to this file output stream.
- write(byte[], int, int) - Method in class java.io.FileOutputStream
-
Writes len
bytes from the specified byte array starting at offset off
to this file
output stream.
- write(int) - Method in class java.io.RandomAccessFile
-
- write(byte[]) - Method in class java.io.RandomAccessFile
-
Writes b.length
bytes from the specified byte array to this file, starting at the current file pointer.
- write(byte[], int, int) - Method in class java.io.RandomAccessFile
-
Writes len
bytes from the specified byte array starting at offset off
to this file.
- writeBoolean(boolean) - Method in class java.io.RandomAccessFile
-
Writes a boolean
to the file as a one-byte value.
- writeByte(int) - Method in class java.io.RandomAccessFile
-
Writes a byte
to the file as a one-byte value.
- writeBytes(String) - Method in class java.io.RandomAccessFile
-
Writes the string to the file as a sequence of bytes.
- writeChar(int) - Method in class java.io.RandomAccessFile
-
Writes a char
to the file as a two-byte value, high byte first.
- writeChars(String) - Method in class java.io.RandomAccessFile
-
Writes a string to the file as a sequence of characters.
- writeDouble(double) - Method in class java.io.RandomAccessFile
-
Converts the double argument to a long
using the doubleToLongBits
method in class Double
,
and then writes that long
value to the file as an eight-byte quantity, high byte first.
- writeFloat(float) - Method in class java.io.RandomAccessFile
-
Converts the float argument to an int
using the floatToIntBits
method in class Float
, and
then writes that int
value to the file as a four-byte quantity, high byte first.
- writeInt(int) - Method in class java.io.RandomAccessFile
-
Writes an int
to the file as four bytes, high byte first.
- writeLong(long) - Method in class java.io.RandomAccessFile
-
Writes a long
to the file as eight bytes, high byte first.
- writeShort(int) - Method in class java.io.RandomAccessFile
-
Writes a short
to the file as two bytes, high byte first.
- writeUTF(String) - Method in class java.io.RandomAccessFile
-
Writes a string to the file using
modified UTF-8 encoding in a
machine-independent manner.