All Packages Class Hierarchy
double
value.
float
value.
int
value.
long
value.
AbstractMethodError
with no detail message.
AbstractMethodError
with the specified
detail message.
newx
and newy
, to this rectangle.
pt
to this rectangle.
Choice
menu.
AdjustmentEvent
from this scroll bar.
Choice
menu.
true
, this URL
is being examined in
a context in which it makes sense to allow user interactions such
as popping up an authentication dialog.
boolean
argument to the string buffer.
char
argument to this string buffer.
char
array
argument to this string buffer.
char
array argument to this string buffer.
double
argument to this string buffer.
float
argument to this string buffer.
int
argument to this string buffer.
long
argument to this string buffer.
Object
argument to this string buffer.
ArithmeticException
with no detail
message.
ArithmeticException
with the specified
detail message.
ArrayIndexOutOfBoundsException
with no
detail message.
ArrayIndexOutOfBoundsException
class with an argument indicating the illegal index.
ArrayIndexOutOfBoundsException
class
with the specified detail message.
ArrayStoreException
with no detail message.
ArrayStoreException
with the specified
detail message.
b
, a
)
to polar (r, theta).
AWTError
with the specified
detail message.
AWTException
with the
specified detail message.
Boolean
object representing the
value
argument.
Boolean
object representing the value
true
if the string argument is not null
and is equal, ignoring case, to the string "true"
.
getAlignmentY
.
byte
.
double
value that is not less than the argument and is
equal to a mathematical integer.
getAlignmentY
and
getAlignmentX
.
Character
object and initializes it so
that it represents the primitive value
argument.
SecurityException
if the
calling thread is not permitted to accept a socket connection from
the specified host and port number.
SecurityException
if the
calling thread is not allowed to modify the thread argument.
SecurityException
if the
calling thread is not allowed to modify the thread group argument.
CheckboxGroup
.
SecurityException
if the
calling thread is not allowed to open a socket connection to the
specified host and port number.
SecurityException
if the
specified security context is not allowed to open a socket
connection to the specified host and port number.
SecurityException
if the
calling thread is not allowed to create a new class loader.
SecurityException
if the
calling thread is not allowed to delete the specified file.
SecurityException
if the
calling thread is not allowed to create a subprocss.
SecurityException
if the
calling thread is not allowed to cause the Java Virtual Machine to
halt with the specified status code.
SecurityException
if the
calling thread is not allowed to dynamic link the library code
specified by the string argument file.
SecurityException
if the
calling thread is not allowed to wait for a connection request on
the specified local port number.
SecurityException
if the
calling thread is not allowed to access the package specified by
the argument.
SecurityException
if the
calling thread is not allowed to define classes in the package
specified by the argument.
SecurityException
if the
calling thread is not allowed to access or modify the system
properties.
SecurityException
if the
calling thread is not allowed to access the system property with
the specified key
name.
SecurityException
if the
calling thread is not allowed to read from the specified file
descriptor.
SecurityException
if the
calling thread is not allowed to read the file specified by the
string argument.
SecurityException
if the
specified security context is not allowed to read the file
specified by the string argument.
SecurityException
if the
calling thread is not allowed to set the socket factory used by
ServerSocket
or Socket
, or the stream
handler factory used by URL
.
false
if the calling
thread is not trusted to bring up the top-level window indicated
by the window
argument.
SecurityException
if the
calling thread is not allowed to write to the specified file
descriptor.
SecurityException
if the
calling thread is not allowed to write to the file specified by
the string argument.
ClassCastException
with no detail message.
ClassCastException
with the specified
detail message.
ClassCircularityError
with no detail message.
ClassCircularityError
with the
specified detail message.
ClassFormatError
with no detail message.
ClassFormatError
with the specified
detail message.
ClassNotFoundException
with no detail message.
ClassNotFoundException
with the
specified detail message.
MOUSE_DOWN
events, this field indicates the
number of consecutive clicks.
CloneNotSupportedException
with no
detail message.
CloneNotSupportedException
with the
specified detail message.
false
, this connection object has not created a
communications link to the specified URL.
x
and y
are defined to be
relative to the coordinate system of this component.
dx
and dy
.
nextToken
method can be called before it generates an
exception.
Graphics
object that is
a copy of this Graphics
object.
Graphics
object based on this
Graphics
object, but with a new translation and clip area.
Button
using
the specified peer interface.
Canvas
using
the specified peer interface.
Checkbox
using
the specified peer interface.
CheckboxMenuItem
using
the specified peer interface.
Choice
using
the specified peer interface.
ContentHandler
to read an object from
a URLStreamHandler
.
Dialog
using
the specified peer interface.
FileDialog
using
the specified peer interface.
Frame
using
the specified peer interface.
Label
using
the specified peer interface.
List
using
the specified peer interface.
Menu
using
the specified peer interface.
MenuBar
using
the specified peer interface.
MenuItem
using
the specified peer interface.
Panel
using
the specified peer interface.
PopupMenu
using
the specified peer interface.
Scrollbar
using
the specified peer interface.
ScrollPane
using
the specified peer interface.
SocketImpl
instance.
TextArea
using
the specified peer interface.
TextField
using
the specified peer interface.
URLStreamHandler
instance with the specified
protocol.
Window
using
the specified peer interface.
DatagramPacket
for receiving packets of
length ilength
.
ilength
to the specified port number on the specified
host.
Date
object and initializes it so that
it represents the time at which it was allocated measured to the
nearest millisecond.
Date
object and initializes it so that
it represents midnight, local time, at the beginning of the day
specified by the year
, month
, and
date
arguments.
Date
object and initializes it so that
it represents the specified hour and minute, local time, of the
date specified by the year
, month
,
date
, hrs
, and min
arguments.
Date
object and initializes it so that
it represents the specified hour, minute, and second, local time
of the date specified by the year
, month
,
date
, hrs
, min
, and
sec
arguments.
Date
object and initializes it to
represent the specified number of milliseconds since January 1,
1970, 00:00:00 GMT.
Date
object and initializes it so that
it represents the date and time indicated by the string
s
, which is interpreted as if by the
parse
method.
Class
.
MenuShortcut
object associated
with this menu item.
ch
in the
specified radix.
Dimension
with a width
of zero and a height of zero.
Dimension
whose width
and height are the same as for the specified dimension.
setDoInput
method.
setDoOutput
method.
Double
object that
represents the primitive double
argument.
Double
object that
represents the floating- point value of type double
represented by the string.
double
.
(x1, y1)
and (x2, y2)
in this graphics context's coordinate system.
Polygon
object.
double
value that is closer than any other to
e
, the base of the natural logarithms.
EmptyStackException
with no detail message.
Since event types are automatically enabled when a listener for
that type is added to the menu item, this method only needs
to be invoked by subclasses of MenuItem
which desire to
have the specified event types delivered to processEvent
regardless of whether a listener is registered.
x-www-form-urlencoded
format.
EOFException
with no detail message.
EOFException
with the specified detail
message.
true
if and only if the argument is not
null
and is a Boolean
object that
contains the same boolean
value as this object.
Error
with no specified detail message.
Event
with the specified
target component, event type, and argument.
Event
, with the specified target
component, time stamp, event type, x and y
coordinates, keyboard key, state of the modifier keys, and an
argument set to null
.
Event
with the specified target
component, time stamp, event type, x and y
coordinates, keyboard key, state of the modifier keys, and
argument.
Exception
with no specified detail message.
Exception
with the specified detail message.
File
exists.
double
value.
Boolean
object corresponding to the primitive
value false
.
File
instance that represents the file
with the specified name in the specified directory.
File
instance that represents the file
whose pathname is the given path argument.
File
instance whose pathname is the
pathname of the specified directory, followed by the separator
character, followed by the name
argument.
File
object.
FileNotFoundException
with no detail message.
FileNotFoundException
with the
specified detail message.
File
object.
close
method of this file input stream is
called when there are no more references to it.
close
method of this file output stream is
called when there are no more references to this stream.
Float
object that
represents the argument converted to type float
.
Float
object that
represents the primitive float
argument.
Float
object that
represents the floating- point value of type float
represented by the string.
float
.
double
value that is not greater than the argument and
is equal to a mathematical integer.
FontMetrics
object for finding out
height and width information about the specified font and
specific character glyphs in that font.
Class
object associated with the class
with the given string name.
Frame
that is
initially invisible.
Frame
object
with the specified title.
InetAddress
object.
allowUserInteraction
field for
this object.
AudioClip
object specified by the
URL
argument.
AudioClip
object specified by the
URL
and name
arguments.
true
if and only if the system property
named by the argument exists and is equal to the string
"true"
.
Rectangle
object.
String
into bytes according to the platform's
default character encoding, storing the result into a new byte array.
String
into bytes according to the specified
character encoding, storing the result into a new byte array.
File
object's pathname.
dst
.
ColorModel
used to display
the component on the output device.
content-encoding
header field.
content-length
header field.
content-type
header field.
date
header field.
allowUserInteraction
field.
URLConnection
's
useCaches
flag.
URLConnection
's
doInput
flag.
URLConnection
's
doOutput
flag.
expires
header field.
URL
.
fd
field.
For 1.1, the following font names are deprecated (the replacement name follows):
The ZapfDingbats font is also deprecated in 1.1, but only as a separate fontname.
Font
using
the specified peer interface.
n
th header field.
n
th header field.
URL
, if applicable.
Color
object based on values supplied
for the HSB color model.
ifModifiedSince
field.
Image
object that can then be painted on
the screen.
Image
object that can then be painted on
the screen.
Image
object that can then be painted on
the screen.
address
field.
Choice
menu.
Choice
menu.
last-modified
header field.
Locale
object that is associated
with this window, if the locale has been set.
Throwable
.
localport
field.
long
value of the system property
with the specified name.
long
value of the system property
with the specified name.
long
value of the system property
with the specified name.
File
object, or null
if the name has no parent part.
port
field.
URL
.
PrintJob
object which is the result
of initiating a print operation on the toolkit's platform.
URL
.
URL
.
MenuShortcut
object associated with this
menu item,
MenuItem
associated
with the specified MenuShortcut
object,
or null
if none has been specified.
Dimension
object.
Dimension
object.
URLConnection
's URL
field.
URLConnection
's
useCaches
field.
makeVisible
.
Graphics
object.
GridBagConstraint
object with
all of its fields set to their default value.
gridx = 0
.
gridy = 0
.
hasMoreTokens
method.
Event
variables are relevant for the event.
IllegalAccessError
with no detail message.
IllegalAccessError
with the specified
detail message.
IllegalAccessException
without a
detail message.
IllegalAccessException
with a detail message.
IllegalArgumentException
with no
detail message.
IllegalArgumentException
with the
specified detail message.
IllegalMonitorStateException
with no
detail message.
IllegalMonitorStateException
with the
specified detail message.
IllegalThreadStateException
with no
detail message.
IllegalThreadStateException
with the
specified detail message.
true
if there is a security check in
progress; false
otherwise.
null
.
IncompatibleClassChangeError
with no
detail message.
IncompatibleClassChangeError
with the
specified detail message.
equals
method.
index
, and testing for equality using
the equals
method.
IndexOutOfBoundsException
with no
detail message.
IndexOutOfBoundsException
with the
specified detail message.
boolean
argument into this string buffer.
char
argument into this string buffer.
char
array
argument into this string buffer.
double
argument into this string buffer.
float
argument into this string buffer.
int
argument into this string buffer.
long
argument into this string buffer.
Object
argument into this string buffer.
index
.
Insets
object with the
specified top, left, bottom, and right insets.
InstantiationError
with no detail message.
InstantiationError
with the specified
detail message.
InstantiationException
with no detail message.
InstantiationException
with the
specified detail message.
Integer
object that
represents the primitive int
argument.
Integer
object that
represents the value represented by the string.
InternalError
with no detail message.
InternalError
with the specified
detail message.
InterruptedException
with no detail message.
InterruptedException
with the
specified detail message.
InterruptedIOException
with no detail
message.
InterruptedIOException
with the
specified detail message.
int
.
InvalidObjectException
with a
detail message.
IOException
with no detail message.
IOException
with the specified detail
message.
File
object is an
absolute pathname.
File
object is a directory.
File
object is a "normal" file.
instanceof
operator.
millis
milliseconds for this thread to
die.
millis
milliseconds plus
nanos
nanoseconds for this thread to die.
File
object was last modified.
getAlignmentX
.
File
object.
LinkageError
with no detail message.
LinkageError
with the specified detail
message.
System.out
.
File
object.
File
that satisfy the specified filter.
count
argument.
libname
argument.
(x, y)
.
double
value.
Long
object that
represents the primitive long
argument.
Long
object that
represents the value represented by the string.
long
.
MalformedURLException
with no detail message.
MalformedURLException
with the
specified detail message.
mark
method before subsequent calls to the
reset
method fail.
pos
field at the time the last
mark
method was called.
mark
and reset
methods.
mark
and reset
methods.
mark
and reset
methods.
mark
and
reset
methods, which it does not.
double
values.
float
values.
int
values.
long
values.
char
.
double
.
float
.
int
.
long
.
double
values.
float
values.
int
values.
long
values.
char
.
double
.
float
.
int
.
long
.
target
container
using this layout manager.
target
container
using this grid bag layout.
File
object.
File
object, including any necessary parent directories.
double
.
float
.
double
.
float
.
NegativeArraySizeException
with no
detail message.
NegativeArraySizeException
with the
specified detail message.
double
value between 0.0
and
1.0
from this random number generator's sequence.
nextToken
method,
except that its declared return value is Object
rather than
String
.
float
value between 0.0
and 1.0
from this random
number generator's sequence.
double
value with mean 0.0
and standard
deviation 1.0
from this random number generator's sequence.
int
value from this random number generator's sequence.
long
value from this random number generator's sequence.
NoClassDefFoundError
with no detail message.
NoClassDefFoundError
with the specified
detail message.
NoSuchElementException
with no detail message.
NoSuchElementException
with the
specified detail message.
NoSuchFieldException
with no detail message.
NoSuchFieldException
with the specified
detail message.
NoSuchMethodException
with the
specified detail message.
NoSuchMethodException
without a detail message.
NoSuchMethodException
with a detail message.
hasChanged
method, then notify all of its observers
and then call the clearChanged
method to
indicate that this object has no longer changed.
hasChanged
method, then notify all of its observers
and then call the clearChanged
method to indicate
that this object has no longer changed.
NullPointerException
with no detail message.
NullPointerException
with the specified
detail message.
NumberFormatException
with no detail message.
NumberFormatException
with the
specified detail message.
URLConnection
object that represents a
connection to the remote object referred to by the URL
.
URL
argument.
URL
and returns an
InputStream
for reading from that connection.
low <= c <= high
are "ordinary" in this tokenizer.
OutOfMemoryError
with no detail message.
OutOfMemoryError
with the specified
detail message.
long
.
long
in the
radix specified by the second argument.
URL
into a
URL
object.
double
value that is closer than any other to
pi, the ratio of the circumference of a circle to its diameter.
Point
object.
double
.
float
.
target
container using this layout manager, based on the components
in the container.
target
container using this grid bag layout.
Throwable
and its backtrace to the
standard error stream.
Throwable
and its backtrace to the
specified print stream.
Throwable
and its backtrace to the specified
print writer.
ActionListener
objects.
ActionListener
objects.
ActionListener
objects.
ActionListener
objects.
AdjustmentListener
objects.
ComponentListener
objects.
FocusListener
objects.
ItemListener
objects.
ItemListener
objects.
Choice
menu by dispatching them to any registered
ItemListener
objects.
ItemListener
objects.
MouseListener
objects.
MouseMotionListener
objects.
ProtocolException
with no detail message.
ProtocolException
with the
specified detail message.
nextToken
method of this
tokenizer to return the current value in the ttype
field, and not to modify the value in the nval
or
sval
field.
key
to the specified
value
in this dictionary.
key
to the specified
value
in this hashtable.
0.0
and 1.0
.
long
seed.
File
argument.
byte.length
bytes of data from this data
input stream into an array of bytes.
b.length
bytes of data from this input
stream into an array of bytes.
byte.length
bytes of data from this
input stream into an array of bytes.
b.length
bytes of data from this input
stream into an array of bytes.
b.length
bytes of data from this file
into an array of bytes.
len
bytes of data into an array of bytes
from this input stream.
len
bytes of data from this data input
stream into an array of bytes.
len
bytes of data from this input stream
into an array of bytes.
len
bytes of data from this input stream
into an array of bytes.
len
bytes of data from this input stream
into an array of bytes.
len
bytes of data from this input stream
into an array of bytes.
len
bytes of data from this piped input
stream into an array of bytes.
len
bytes of data from this input stream into
an array of bytes.
len
bytes of data from this file into an
array of bytes.
len
bytes of data from this input stream
into an array of bytes.
len
bytes of data from this input stream
into an array of bytes.
boolean
value from the input stream.
boolean
from this data input stream.
boolean
from this file.
char
value from the input stream.
double
value from the input stream.
double
from this data input stream.
double
from this file.
float
value from the input stream.
float
from this data input stream.
float
from this file.
b.length
bytes into the byte array.
b.length
bytes from this data input stream
into the byte array.
b.length
bytes from this file into the byte
array.
b.length
bytes into the byte array.
len
bytes from this data input stream
into the byte array.
len
bytes from this file into the byte
array.
int
value from the input stream.
long
value from the input stream.
dimension
argument.
x
, y
) and whose width and height
are specified by the arguments of the same name.
point
argument, and whose width and height
are specified by the dimension
argument.
gridwidth
, gridheight
),
or that this component be placed next to the previously added
component (gridx
, gridy
).
index
,
from this container.
key
(and its corresponding
value
) from this dictionary.
item
from the Choice
menu.
AdjustmentEvent
from this scroll bar.
Choice
menu.
File
object to
have the pathname given by the File
argument.
tm
milliseconds.
oldChar
in this string with newChar
.
mark
method was last called on this input stream.
count
field of this byte array output
stream to zero, so that all currently accumulated output in the
ouput stream is discarded.
mark
method was last called on this input stream.
mark
method was last called on this input stream.
mark
method was last called on this input stream.
ordinaryChar
method
for more information on a character being ordinary.
getAlignmentX
.
long
to the argument.
int
to the argument.
Runnable
is used
to create a thread, starting the thread causes the object's
run
method to be called in that separately executing
thread.
Runnable
run object, then that
Runnable
object's run
method is called;
otherwise, this method does nothing and returns.
RuntimeException
with no detail message.
RuntimeException
with the specified
detail message.
ReplicateScaleFilter
class.
SecurityException
with no detail message.
SecurityException
with the specified
detail message.
SecurityManager
.
Choice
menu to be the
item at the specified position.
Choice
menu
to be the item whose name is equal to the specified string.
s1
, and then from the input
stream s2
.
allowUserInteraction
field of
this URLConnection
.
x
, y
, width
,
and height
.
r
.
ch
.
ContentHandlerFactory
of an
application.
allowUserInteraction
field for all future
URLConnection
objects to the specified value.
useCaches
field to the
specified value.
doInput
field for this
URLConnection
to the specified value.
doOutput
field for this
URLConnection
to the specified value.
index
of this
vector to be the specified object.
b
.
ifModifiedSince
field of
this URLConnection
to the specified value.
name
.
Properties
argument.
long
seed.
MenuShortcut
object associated with this
menu item.
d.width
and height d.height
.
Dimension
object to the specified size.
width
and height
.
Dimension
object
to the specified width and height.
URL
argument to the
indicated values.
URLStreamHandlerFactory
.
useCaches
field of this
URLConnection
to the specified value.
b
.
short
.
name
, using addLayoutComponent
.
url
argument.
n
bytes of data from the
input stream.
n
bytes of input from this input stream.
n
bytes of data from the
input stream.
n
bytes of data from the
input stream.
n
bytes of data from this
input stream.
n
bytes of data from the
input stream.
n
bytes of input from this input stream.
n
bytes of input.
n
bytes of input in the underlying
input stream.
n
bytes of input.
ProtocolException
with no detail message.
ProtocolException
with the
specified detail message.
double
value.
StackOverflowError
with no detail message.
StackOverflowError
with the specified
detail message.
run
method of this thread.
String
containing no characters.
String
by converting the specified array
of bytes using the platform's default character encoding.
String
containing characters
constructed from an array of 8-bit integer values.
String
by converting the specified
subarray of bytes using the platform's default character encoding.
String
constructed from a subarray
of an array of 8-bit integer values.
String
by converting the specified
subarray of bytes using the specified character encoding.
String
by converting the specified array
of bytes using the specified character encoding.
String
so that it represents the
sequence of characters currently contained in the character array
argument.
String
that contains characters from
a subarray of the character array argument.
length
argument.
StringIndexOutOfBoundsException
with no
detail message.
StringIndexOutOfBoundsException
class with an argument indicating the illegal index.
StringIndexOutOfBoundsException
with
the specified detail message.
Thread
object.
Thread
object.
Thread
object.
Thread
object.
Thread
object.
Thread
object so that it has
target
as its run object, has the specified
name
as its name, and belongs to the thread group
referred to by group
.
Thread
object.
Throwable
with no detail message.
Throwable
with the specified detail
message.
URL
.
URL
of a specific protocol to a
String
.
String
to lowercase.
String
to lower
case using the rules of the given locale.
getAlignmentY()
.
Dimension
object's values.
FlowLayout
object and its values.
FontMetric
object's values as a string.
String
object representing this
Graphics
object's value.
String
.
String
object representing this
Insets
object's values.
String
.
String
.
String
.
URL
.
String
representation of this URL connection.
double
argument.
String
to upper
case using the rules of the given locale.
dx
along the x axis and dy
along the y axis so that it now represents the point
(x
+
dx
,
y
+
dy
).
deltaX
along the
x axis and by deltaY
along the
y axis.
Boolean
object corresponding to the primitive
value true
.
nextToken
method, this field
contains the type of the token just read.
UndefinedProperty
object should be returned whenever a
property which was not defined for a particular image is fetched.
UnknownError
with no detail message.
UnknownError
with the specified detail
message.
UnknownHostException
with no detail
message.
UnknownHostException
with the
specified detail message.
UnknownServiceException
with no
detail message.
UnknownServiceException
with the
specified detail message.
UnsatisfiedLinkError
with no detail message.
UnsatisfiedLinkError
with the
specified detail message.
URL
object from the String
representation.
URL
object from the specified
protocol
, host
, port
number, and file
.
protocol
name, host
name, and file
name.
spec
within a specified context.
true
, the protocol is allowed to use caching
whenever it can.
UTFDataFormatException
with no detail
message.
UTFDataFormatException
with the
specified detail message.
boolean
argument.
char
* argument.
char
array
argument.
char
array argument.
double
argument.
float
argument.
int
argument.
long
argument.
Object
argument.
VerifyError
with no detail message.
VerifyError
with the specified detail message.
VirtualMachineError
with no detail message.
VirtualMachineError
with the specified
detail message.
low <= c <= high
are white space characters.
low <= c <= high
are word constituents.
b.length
bytes from the specified byte array
to this output stream.
b.length
bytes from the specified byte array
to this file output stream.
b.length
bytes to this output stream.
b.length
bytes from the specified byte array
to this output stream.
b.length
bytes from the specified byte array
starting at offset off
to this file.
len
bytes from the specified byte array
starting at offset off
to this buffered output stream.
len
bytes from the specified byte array
starting at offset off
to this byte array output stream.
len
bytes from the specified byte array
starting at offset off
to this output stream.
len
bytes from the specified byte array
starting at offset off
to the underlying output stream.
len
bytes from the specified byte array
starting at offset off
to this file output stream.
len
bytes from the specified
byte
array starting at offset off
to
this output stream.
len
bytes from the specified byte array
starting at offset off
to this output stream.
len
bytes from the specified byte array
starting at offset off
to this piped output stream.
len
bytes from the specified byte array
starting at offset off
to this file.
byte
to this output stream.
byte
to the piped output stream.
boolean
value to this output stream.
boolean
to the underlying output stream as
a 1-byte value.
boolean
to the file as a 1-byte value.
byte
to the underlying output stream as
a 1-byte value.
byte
to the file as a 1-byte value.
char
value to this output stream.
char
to the underlying output stream as a
2-byte value, high byte first.
char
to the file as a 2-byte value, high
byte first.
double
value to this output stream.
long
using the
doubleToLongBits
method in class Double
,
and then writes that long
value to the underlying
output stream as an 8-byte quantity, high byte first.
long
using the
doubleToLongBits
method in class Double
,
and then writes that long
value to the file as an
8-byte quantity, high byte first.
float
value to this output stream.
int
using the
floatToIntBits
method in class Float
,
and then writes that int
value to the underlying
output stream as a 4-byte quantity, high byte first.
int
using the
floatToIntBits
method in class Float
,
and then writes that int
value to the file as a
4-byte quantity, high byte first.
int
value to this output stream.
int
to the underlying output stream as four
bytes, high byte first.
int
to the file as four bytes, high byte first.
long
value to this output stream.
long
to the underlying output stream as eight
bytes, high byte first.
long
to the file as eight bytes, high byte first.
short
to the underlying output stream as two
bytes, high byte first.
short
to the file as two bytes, high byte first.
out.write(buf, 0, count)
.