Java Reference
In-Depth Information
Class
UnavailableServiceException
The
UnavailableServiceException
exception is thrown by the
ServiceManager
and its
ServiceManagerStub
(because an exception extends
java.lang.Exception
).
•
UnavailableServiceException()
Constructs an
UnavailableServiceException
with
null
as its error detail message.
•
UnavailableServiceException(String msg)
Constructs an
UnavailableServiceException
with the specified detail message.
B
Interface
JNLPRandomAccessFile
Extends both
java.io.DataInput
and
java.io.DataOutput
. It offers a random access-like
interface to files.
•
void close()
Closes this random access filestream, and releases any system resources associated with
it.
•
long getFilePointer()
Returns the current offset in this file.
•
long length()
Returns the file length.
•
int read()
Reads an
int
from this file.
•
int read(byte[] b)
Reads up to
b.length
bytes of data from this file into an array of bytes.
•
int read(byte[] b, int off, int len)
Reads up to
len
bytes of data from this file into an array of bytes.
•
boolean readBoolean()
Reads a
boolean
from this file.
•
byte readByte()
Reads a byte from the file.
•
char readChar()
Reads a Unicode character from this file.
•
double readDouble()
Reads a
double
.
•
float readFloat()