| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
| java.beans |
Contains classes for run-time Java Beans support.
|
| java.io |
Provides for system input and output through data streams,
serialization and the file system.
|
| java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
| java.net |
Provides the classes for implementing networking applications.
|
| java.rmi |
Provides the RMI package.
|
| java.security |
Provides the classes and interfaces for the security framework.
|
| java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array).
|
| java.util.jar |
Provides classes for reading and writing the JAR (Java ARchive) file
format, which is based on the standard ZIP file format with an
optional manifest file.
|
| java.util.zip |
Provides classes for reading and writing the standard ZIP and GZIP
file formats.
|
| javax.media |
Provides media players, means of controlling playback and being notified of playback state changes.
|
| javax.media.protocol |
Provides several means of streaming data for playback, as well as controlling that streaming.
|
| javax.microedition.io |
Provides a simplified mechanism for applications to use various types of I/O
protocols in resource-constrained environments.
|
| javax.microedition.pki |
Certificates are used to authenticate information for secure
Connections.
|
| javax.microedition.xlet.ixc |
Provides facilities for inter-Xlet communication (IXC).
|
| javax.net |
Provides classes for networking applications.
|
| javax.net.ssl |
Provides classes for the secure socket package.
|
| javax.tv.net |
Provides access to IP datagrams transmitted in the broadcast stream.
|
| javax.xml.parsers |
The javax.xml.parsers package contains the Java API for XML Processing (JAXP)
subset defined by JSR 280.
|
| org.davic.media |
Provides various extensions to the Java Media Framework for
the control of TV oriented audio / video content.
|
| org.dvb.dsmcc |
Provides extended access to files carried in the broadcast
stream.
|
| org.dvb.io.persistent |
Provides extensions to the java.io package for access to files
held in persistent storage.
|
| org.dvb.media |
Provides DVB specific extensions to the Java Media Framework.
|
| org.dvb.net.rc |
Provides session management for bi-directional IP connections
which are session based from the point of view of an application.
|
| org.dvb.test |
Broadcast model
|
| org.dvb.ui |
Provides extended graphics functionality.
|
| org.dvb.user |
Provides access to settings and preferences configured by the end-user.
|
| org.havi.ui |
Provides user interfaces to HAVI components.
|
| org.ocap |
Provides system utility functions
|
| org.ocap.application |
|
| org.ocap.hn.content |
Provides representation of the content and content containers, and means of identifying content type.
|
| org.ocap.hn.recording |
Provides control and listing of recorded content.
|
| org.ocap.hn.ruihsrc | |
| org.ocap.hn.upnp.server |
Provides UPnP server functionality, permitting management of devices and services in the local Host device.
|
| org.ocap.storage |
The org.ocap.storage package represents storage devices.
|
| org.ocap.system |
This API is used to access
system modules. |
| org.ocap.test |
OCAP testing communications.
|
| org.xml.sax |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
AWTEventMulticaster.save(ObjectOutputStream s,
String k,
EventListener l) |
protected void |
AWTEventMulticaster.saveInternal(ObjectOutputStream s,
String k) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
Beans.instantiate(ClassLoader cls,
String beanName)
Instantiate a JavaBean.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CharConversionException
Base class for character conversion exceptions.
|
class |
EOFException
Signals that an end of file or end of stream has been reached
unexpectedly during input.
|
class |
FileNotFoundException
Signals that an attempt to open the file denoted by a specified pathname
has failed.
|
class |
InterruptedIOException
Signals that an I/O operation has been interrupted.
|
class |
InvalidClassException
Thrown when the Serialization runtime detects one of the following
problems with a Class.
|
class |
InvalidObjectException
Indicates that one or more deserialized objects failed validation
tests.
|
class |
NotActiveException
Thrown when serialization or deserialization is not active.
|
class |
NotSerializableException
Thrown when an instance is required to have a Serializable interface.
|
class |
ObjectStreamException
Superclass of all exceptions specific to Object Stream classes.
|
class |
OptionalDataException
Exception indicating the failure of an object read operation due to
unread primitive data, or the end of data belonging to a serialized
object in the stream.
|
class |
StreamCorruptedException
Thrown when control information that was read from an object stream
violates internal consistency checks.
|
class |
SyncFailedException
Signals that a sync operation has failed.
|
class |
UnsupportedEncodingException
The Character Encoding is not supported.
|
class |
UTFDataFormatException
Signals that a malformed UTF-8 string has been read in a data
input stream or by any class that implements the data input
interface.
|
class |
WriteAbortedException
Signals that one of the ObjectStreamExceptions was thrown during a
write operation.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ObjectOutputStream.annotateClass(Class cl)
Subclasses may implement this method to allow class data to be stored in
the stream.
|
protected void |
ObjectOutputStream.annotateProxyClass(Class cl)
Subclasses may implement this method to store custom data in the
stream along with descriptors for dynamic proxy classes.
|
int |
SequenceInputStream.available()
Returns the number of bytes available on the current stream.
|
int |
PushbackInputStream.available()
Returns the number of bytes that can be read from this input stream
without blocking.
|
int |
PipedInputStream.available()
Returns the number of bytes that can be read from this input
stream without blocking.
|
int |
ObjectInputStream.available()
Returns the number of bytes that can be read without blocking.
|
int |
ObjectInput.available()
Returns the number of bytes that can be read
without blocking.
|
int |
InputStream.available()
Returns the number of bytes that can be read (or skipped over) from
this input stream without blocking by the next caller of a method for
this input stream.
|
int |
FilterInputStream.available()
Returns the number of bytes that can be read from this input
stream without blocking.
|
int |
FileInputStream.available()
Returns the number of bytes that can be read from this file input
stream without blocking.
|
int |
BufferedInputStream.available()
Returns the number of bytes that can be read from this input
stream without blocking.
|
abstract void |
Writer.close()
Close the stream, flushing it first.
|
void |
StringWriter.close()
Closing a StringWriter has no effect.
|
void |
SequenceInputStream.close()
Closes this input stream and releases any system resources
associated with the stream.
|
abstract void |
Reader.close()
Close the stream.
|
void |
RandomAccessFile.close()
Closes this random access file stream and releases any system
resources associated with the stream.
|
void |
PushbackReader.close()
Close the stream.
|
void |
PushbackInputStream.close()
Closes this input stream and releases any system resources
associated with the stream.
|
void |
PipedWriter.close()
Closes this piped output stream and releases any system resources
associated with this stream.
|
void |
PipedReader.close()
Closes this piped stream and releases any system resources
associated with the stream.
|
void |
PipedOutputStream.close()
Closes this piped output stream and releases any system resources
associated with this stream.
|
void |
PipedInputStream.close()
Closes this piped input stream and releases any system resources
associated with the stream.
|
void |
OutputStreamWriter.close()
Close the stream.
|
void |
OutputStream.close()
Closes this output stream and releases any system resources
associated with this stream.
|
void |
ObjectOutputStream.close()
Closes the stream.
|
void |
ObjectOutput.close()
Closes the stream.
|
void |
ObjectInputStream.close()
Closes the input stream.
|
void |
ObjectInput.close()
Closes the input stream.
|
void |
InputStreamReader.close()
Close the stream.
|
void |
InputStream.close()
Closes this input stream and releases any system resources associated
with the stream.
|
void |
FilterWriter.close()
Close the stream.
|
void |
FilterReader.close()
Close the stream.
|
void |
FilterOutputStream.close()
Closes this output stream and releases any system resources
associated with the stream.
|
void |
FilterInputStream.close()
Closes this input stream and releases any system resources
associated with the stream.
|
void |
FileOutputStream.close()
Closes this file output stream and releases any system resources
associated with this stream.
|
void |
FileInputStream.close()
Closes this file input stream and releases any system resources
associated with the stream.
|
void |
ByteArrayOutputStream.close()
Closing a ByteArrayOutputStream has no effect.
|
void |
ByteArrayInputStream.close()
Closing a ByteArrayInputStream has no effect.
|
void |
BufferedWriter.close()
Close the stream.
|
void |
BufferedReader.close()
Close the stream.
|
void |
BufferedInputStream.close()
Closes this input stream and releases any system resources
associated with the stream.
|
void |
PipedOutputStream.connect(PipedInputStream snk)
Connects this piped output stream to a receiver.
|
void |
PipedInputStream.connect(PipedOutputStream src)
Causes this piped input stream to be connected
to the piped output stream
src. |
void |
PipedWriter.connect(PipedReader snk)
Connects this piped writer to a receiver.
|
void |
PipedReader.connect(PipedWriter src)
Causes this piped reader to be connected
to the piped writer
src. |
boolean |
File.createNewFile()
Atomically creates a new, empty file named by this abstract pathname if
and only if a file with this name does not yet exist.
|
static File |
File.createTempFile(String prefix,
String suffix)
Creates an empty file in the default temporary-file directory, using
the given prefix and suffix to generate its name.
|
static File |
File.createTempFile(String prefix,
String suffix,
File directory)
Creates a new empty file in the specified directory, using the
given prefix and suffix strings to generate its name.
|
abstract boolean |
ObjectInputStream.GetField.defaulted(String name)
Return true if the named field is defaulted and has no value in this
stream.
|
void |
ObjectInputStream.defaultReadObject()
Read the non-static and non-transient fields of the current class from
this stream.
|
void |
ObjectOutputStream.defaultWriteObject()
Write the non-static and non-transient fields of the current class
to this stream.
|
protected void |
ObjectOutputStream.drain()
Drain any buffered data in ObjectOutputStream.
|
protected void |
FileOutputStream.finalize()
Cleans up the connection to the file, and ensures that the
close method of this file output stream is
called when there are no more references to this stream. |
protected void |
FileInputStream.finalize()
Ensures that the
close method of this file input stream is
called when there are no more references to it. |
abstract void |
Writer.flush()
Flush the stream.
|
void |
PipedWriter.flush()
Flushes this output stream and forces any buffered output characters
to be written out.
|
void |
PipedOutputStream.flush()
Flushes this output stream and forces any buffered output bytes
to be written out.
|
void |
OutputStreamWriter.flush()
Flush the stream.
|
void |
OutputStream.flush()
Flushes this output stream and forces any buffered output bytes
to be written out.
|
void |
ObjectOutputStream.flush()
Flushes the stream.
|
void |
ObjectOutput.flush()
Flushes the stream.
|
void |
FilterWriter.flush()
Flush the stream.
|
void |
FilterOutputStream.flush()
Flushes this output stream and forces any buffered output bytes
to be written out to the stream.
|
void |
DataOutputStream.flush()
Flushes this data output stream.
|
void |
BufferedWriter.flush()
Flush the stream.
|
void |
BufferedOutputStream.flush()
Flushes this buffered output stream.
|
abstract boolean |
ObjectInputStream.GetField.get(String name,
boolean val)
Get the value of the named boolean field from the persistent field.
|
abstract byte |
ObjectInputStream.GetField.get(String name,
byte val)
Get the value of the named byte field from the persistent field.
|
abstract char |
ObjectInputStream.GetField.get(String name,
char val)
Get the value of the named char field from the persistent field.
|
abstract double |
ObjectInputStream.GetField.get(String name,
double val)
Get the value of the named double field from the persistent field.
|
abstract float |
ObjectInputStream.GetField.get(String name,
float val)
Get the value of the named float field from the persistent field.
|
abstract int |
ObjectInputStream.GetField.get(String name,
int val)
Get the value of the named int field from the persistent field.
|
abstract long |
ObjectInputStream.GetField.get(String name,
long val)
Get the value of the named long field from the persistent field.
|
abstract Object |
ObjectInputStream.GetField.get(String name,
Object val)
Get the value of the named Object field from the persistent field.
|
abstract short |
ObjectInputStream.GetField.get(String name,
short val)
Get the value of the named short field from the persistent field.
|
File |
File.getCanonicalFile()
Returns the canonical form of this abstract pathname.
|
String |
File.getCanonicalPath()
Returns the canonical pathname string of this abstract pathname.
|
FileDescriptor |
RandomAccessFile.getFD()
Returns the opaque file descriptor object associated with this
stream.
|
FileDescriptor |
FileOutputStream.getFD()
Returns the file descriptor associated with this stream.
|
FileDescriptor |
FileInputStream.getFD()
Returns the
FileDescriptor
object that represents the connection to
the actual file in the file system being
used by this FileInputStream. |
long |
RandomAccessFile.getFilePointer()
Returns the current offset in this file.
|
long |
RandomAccessFile.length()
Returns the length of this file.
|
void |
StringReader.mark(int readAheadLimit)
Mark the present position in the stream.
|
void |
Reader.mark(int readAheadLimit)
Mark the present position in the stream.
|
void |
PushbackReader.mark(int readAheadLimit)
Mark the present position in the stream.
|
void |
LineNumberReader.mark(int readAheadLimit)
Mark the present position in the stream.
|
void |
FilterReader.mark(int readAheadLimit)
Mark the present position in the stream.
|
void |
CharArrayReader.mark(int readAheadLimit)
Mark the present position in the stream.
|
void |
BufferedReader.mark(int readAheadLimit)
Mark the present position in the stream.
|
void |
BufferedWriter.newLine()
Write a line separator.
|
int |
StreamTokenizer.nextToken()
Parses the next token from the input stream of this tokenizer.
|
ObjectOutputStream.PutField |
ObjectOutputStream.putFields()
Retrieve the object used to buffer persistent fields to be written to
the stream.
|
int |
StringReader.read()
Read a single character.
|
int |
SequenceInputStream.read()
Reads the next byte of data from this input stream.
|
int |
Reader.read()
Read a single character.
|
int |
RandomAccessFile.read()
Reads a byte of data from this file.
|
int |
PushbackReader.read()
Read a single character.
|
int |
PushbackInputStream.read()
Reads the next byte of data from this input stream.
|
int |
PipedReader.read()
Reads the next character of data from this piped stream.
|
int |
PipedInputStream.read()
Reads the next byte of data from this piped input stream.
|
int |
ObjectInputStream.read()
Reads a byte of data.
|
int |
ObjectInput.read()
Reads a byte of data.
|
int |
LineNumberReader.read()
Read a single character.
|
int |
InputStreamReader.read()
Read a single character.
|
abstract int |
InputStream.read()
Reads the next byte of data from the input stream.
|
int |
FilterReader.read()
Read a single character.
|
int |
FilterInputStream.read()
Reads the next byte of data from this input stream.
|
int |
FileInputStream.read()
Reads a byte of data from this input stream.
|
int |
CharArrayReader.read()
Read a single character.
|
int |
BufferedReader.read()
Read a single character.
|
int |
BufferedInputStream.read()
See
the general contract of the
read
method of InputStream. |
int |
RandomAccessFile.read(byte[] b)
Reads up to
b.length bytes of data from this file
into an array of bytes. |
int |
ObjectInput.read(byte[] b)
Reads into an array of bytes.
|
int |
InputStream.read(byte[] b)
Reads some number of bytes from the input stream and stores them into
the buffer array
b. |
int |
FilterInputStream.read(byte[] b)
Reads up to
byte.length bytes of data from this
input stream into an array of bytes. |
int |
FileInputStream.read(byte[] b)
Reads up to
b.length bytes of data from this input
stream into an array of bytes. |
int |
DataInputStream.read(byte[] b)
Reads some number of bytes from the contained input stream and
stores them into the buffer array
b. |
int |
SequenceInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this input stream
into an array of bytes. |
int |
RandomAccessFile.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this file into an
array of bytes. |
int |
PushbackInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this input stream into
an array of bytes. |
int |
PipedInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this piped input
stream into an array of bytes. |
int |
ObjectInputStream.read(byte[] buf,
int off,
int len)
Reads into an array of bytes.
|
int |
ObjectInput.read(byte[] b,
int off,
int len)
Reads into an array of bytes.
|
int |
InputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from the input stream into
an array of bytes. |
int |
FilterInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this input stream
into an array of bytes. |
int |
FileInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this input stream
into an array of bytes. |
int |
DataInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from the contained
input stream into an array of bytes. |
int |
BufferedInputStream.read(byte[] b,
int off,
int len)
Reads bytes from this byte-input stream into the specified byte array,
starting at the given offset.
|
int |
Reader.read(char[] cbuf)
Read characters into an array.
|
int |
StringReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array.
|
abstract int |
Reader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array.
|
int |
PushbackReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array.
|
int |
PipedReader.read(char[] cbuf,
int off,
int len)
Reads up to
len characters of data from this piped
stream into an array of characters. |
int |
LineNumberReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array.
|
int |
InputStreamReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array.
|
int |
FilterReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array.
|
int |
CharArrayReader.read(char[] b,
int off,
int len)
Read characters into a portion of an array.
|
int |
BufferedReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array.
|
boolean |
RandomAccessFile.readBoolean()
Reads a
boolean from this file. |
boolean |
ObjectInputStream.readBoolean()
Reads in a boolean.
|
boolean |
DataInputStream.readBoolean()
See the general contract of the
readBoolean
method of DataInput. |
boolean |
DataInput.readBoolean()
Reads one input byte and returns
true if that byte is nonzero,
false if that byte is zero. |
byte |
RandomAccessFile.readByte()
Reads a signed eight-bit value from this file.
|
byte |
ObjectInputStream.readByte()
Reads an 8 bit byte.
|
byte |
DataInputStream.readByte()
See the general contract of the
readByte
method of DataInput. |
byte |
DataInput.readByte()
Reads and returns one input byte.
|
char |
RandomAccessFile.readChar()
Reads a Unicode character from this file.
|
char |
ObjectInputStream.readChar()
Reads a 16 bit char.
|
char |
DataInputStream.readChar()
See the general contract of the
readChar
method of DataInput. |
char |
DataInput.readChar()
Reads an input
char and returns the char value. |
protected ObjectStreamClass |
ObjectInputStream.readClassDescriptor()
Read a class descriptor from the serialization stream.
|
double |
RandomAccessFile.readDouble()
Reads a
double from this file. |
double |
ObjectInputStream.readDouble()
Reads a 64 bit double.
|
double |
DataInputStream.readDouble()
See the general contract of the
readDouble
method of DataInput. |
double |
DataInput.readDouble()
Reads eight input bytes and returns
a
double value. |
void |
Externalizable.readExternal(ObjectInput in)
The object implements the readExternal method to restore its
contents by calling the methods of DataInput for primitive
types and readObject for objects, strings and arrays.
|
ObjectInputStream.GetField |
ObjectInputStream.readFields()
Reads the persistent fields from the stream and makes them
available by name.
|
float |
RandomAccessFile.readFloat()
Reads a
float from this file. |
float |
ObjectInputStream.readFloat()
Reads a 32 bit float.
|
float |
DataInputStream.readFloat()
See the general contract of the
readFloat
method of DataInput. |
float |
DataInput.readFloat()
Reads four input bytes and returns
a
float value. |
void |
RandomAccessFile.readFully(byte[] b)
Reads
b.length bytes from this file into the byte
array, starting at the current file pointer. |
void |
ObjectInputStream.readFully(byte[] buf)
Reads bytes, blocking until all bytes are read.
|
void |
DataInputStream.readFully(byte[] b)
See the general contract of the
readFully
method of DataInput. |
void |
DataInput.readFully(byte[] b)
Reads some bytes from an input
stream and stores them into the buffer
array
b. |
void |
RandomAccessFile.readFully(byte[] b,
int off,
int len)
Reads exactly
len bytes from this file into the byte
array, starting at the current file pointer. |
void |
ObjectInputStream.readFully(byte[] buf,
int off,
int len)
Reads bytes, blocking until all bytes are read.
|
void |
DataInputStream.readFully(byte[] b,
int off,
int len)
See the general contract of the
readFully
method of DataInput. |
void |
DataInput.readFully(byte[] b,
int off,
int len)
Reads
len
bytes from
an input stream. |
int |
RandomAccessFile.readInt()
Reads a signed 32-bit integer from this file.
|
int |
ObjectInputStream.readInt()
Reads a 32 bit int.
|
int |
DataInputStream.readInt()
See the general contract of the
readInt
method of DataInput. |
int |
DataInput.readInt()
Reads four input bytes and returns an
int value. |
String |
RandomAccessFile.readLine()
Reads the next line of text from this file.
|
String |
ObjectInputStream.readLine()
Deprecated.
This method does not properly convert bytes to characters.
see DataInputStream for the details and alternatives.
|
String |
LineNumberReader.readLine()
Read a line of text.
|
String |
DataInputStream.readLine()
Deprecated.
This method does not properly convert bytes to characters.
As of JDK 1.1, the preferred way to read lines of text is via the
BufferedReader.readLine() method. Programs that use the
DataInputStream class to read lines can be converted to use
the BufferedReader class by replacing code of the form:
with:
|
String |
DataInput.readLine()
Reads the next line of text from the input stream.
|
String |
BufferedReader.readLine()
Read a line of text.
|
long |
RandomAccessFile.readLong()
Reads a signed 64-bit integer from this file.
|
long |
ObjectInputStream.readLong()
Reads a 64 bit long.
|
long |
DataInputStream.readLong()
See the general contract of the
readLong
method of DataInput. |
long |
DataInput.readLong()
Reads eight input bytes and returns
a
long value. |
Object |
ObjectInputStream.readObject()
Read an object from the ObjectInputStream.
|
Object |
ObjectInput.readObject()
Read and return an object.
|
protected Object |
ObjectInputStream.readObjectOverride()
This method is called by trusted subclasses of ObjectOutputStream
that constructed ObjectOutputStream using the
protected no-arg constructor.
|
short |
RandomAccessFile.readShort()
Reads a signed 16-bit number from this file.
|
short |
ObjectInputStream.readShort()
Reads a 16 bit short.
|
short |
DataInputStream.readShort()
See the general contract of the
readShort
method of DataInput. |
short |
DataInput.readShort()
Reads two input bytes and returns
a
short value. |
protected void |
ObjectInputStream.readStreamHeader()
The readStreamHeader method is provided to allow subclasses to
read and verify their own stream headers.
|
Object |
ObjectInputStream.readUnshared()
Reads an "unshared" object from the ObjectInputStream.
|
int |
RandomAccessFile.readUnsignedByte()
Reads an unsigned eight-bit number from this file.
|
int |
ObjectInputStream.readUnsignedByte()
Reads an unsigned 8 bit byte.
|
int |
DataInputStream.readUnsignedByte()
See the general contract of the
readUnsignedByte
method of DataInput. |
int |
DataInput.readUnsignedByte()
Reads one input byte, zero-extends
it to type
int, and returns
the result, which is therefore in the range
0
through 255. |
int |
RandomAccessFile.readUnsignedShort()
Reads an unsigned 16-bit number from this file.
|
int |
ObjectInputStream.readUnsignedShort()
Reads an unsigned 16 bit short.
|
int |
DataInputStream.readUnsignedShort()
See the general contract of the
readUnsignedShort
method of DataInput. |
int |
DataInput.readUnsignedShort()
Reads two input bytes and returns
an
int value in the range 0
through 65535. |
String |
RandomAccessFile.readUTF()
Reads in a string from this file.
|
String |
ObjectInputStream.readUTF()
Reads a UTF format String.
|
String |
DataInputStream.readUTF()
See the general contract of the
readUTF
method of DataInput. |
String |
DataInput.readUTF()
Reads in a string that has been encoded using a modified UTF-8 format.
|
static String |
DataInputStream.readUTF(DataInput in)
Reads from the
stream
in a representation
of a Unicode character string encoded in
Java modified UTF-8 format; this string
of characters is then returned as a String. |
boolean |
StringReader.ready()
Tell whether this stream is ready to be read.
|
boolean |
Reader.ready()
Tell whether this stream is ready to be read.
|
boolean |
PushbackReader.ready()
Tell whether this stream is ready to be read.
|
boolean |
PipedReader.ready()
Tell whether this stream is ready to be read.
|
boolean |
InputStreamReader.ready()
Tell whether this stream is ready to be read.
|
boolean |
FilterReader.ready()
Tell whether this stream is ready to be read.
|
boolean |
CharArrayReader.ready()
Tell whether this stream is ready to be read.
|
boolean |
BufferedReader.ready()
Tell whether this stream is ready to be read.
|
protected void |
PipedInputStream.receive(int b)
Receives a byte of data.
|
protected Object |
ObjectOutputStream.replaceObject(Object obj)
This method will allow trusted subclasses of ObjectOutputStream to
substitute one object for another during serialization.
|
void |
StringReader.reset()
Reset the stream to the most recent mark, or to the beginning of the
string if it has never been marked.
|
void |
Reader.reset()
Reset the stream.
|
void |
PushbackReader.reset()
Reset the stream.
|
void |
ObjectOutputStream.reset()
Reset will disregard the state of any objects already written
to the stream.
|
void |
LineNumberReader.reset()
Reset the stream to the most recent mark.
|
void |
InputStream.reset()
Repositions this stream to the position at the time the
mark method was last called on this input stream. |
void |
FilterReader.reset()
Reset the stream.
|
void |
FilterInputStream.reset()
Repositions this stream to the position at the time the
mark method was last called on this input stream. |
void |
CharArrayReader.reset()
Reset the stream to the most recent mark, or to the beginning if it has
never been marked.
|
void |
BufferedReader.reset()
Reset the stream to the most recent mark.
|
void |
BufferedInputStream.reset()
See the general contract of the
reset
method of InputStream. |
protected Class |
ObjectInputStream.resolveClass(ObjectStreamClass desc)
Load the local class equivalent of the specified stream class
description.
|
protected Object |
ObjectInputStream.resolveObject(Object obj)
This method will allow trusted subclasses of ObjectInputStream to
substitute one object for another during deserialization.
|
protected Class |
ObjectInputStream.resolveProxyClass(String[] interfaces)
Returns a proxy class that implements the interfaces named in a
proxy class descriptor; subclasses may implement this method to
read custom data from the stream along with the descriptors for
dynamic proxy classes, allowing them to use an alternate loading
mechanism for the interfaces and the proxy class.
|
void |
RandomAccessFile.seek(long pos)
Sets the file-pointer offset, measured from the beginning of this
file, at which the next read or write occurs.
|
void |
RandomAccessFile.setLength(long newLength)
Sets the length of this file.
|
long |
StringReader.skip(long ns)
Skip characters.
|
long |
Reader.skip(long n)
Skip characters.
|
long |
PushbackReader.skip(long n)
Skip characters.
|
long |
PushbackInputStream.skip(long n)
Skips over and discards
n bytes of data from this
input stream. |
long |
ObjectInput.skip(long n)
Skips n bytes of input.
|
long |
LineNumberReader.skip(long n)
Skip characters.
|
long |
InputStream.skip(long n)
Skips over and discards
n bytes of data from this input
stream. |
long |
FilterReader.skip(long n)
Skip characters.
|
long |
FilterInputStream.skip(long n)
Skips over and discards
n bytes of data from the
input stream. |
long |
FileInputStream.skip(long n)
Skips over and discards
n bytes of data from the
input stream. |
long |
CharArrayReader.skip(long n)
Skip characters.
|
long |
BufferedReader.skip(long n)
Skip characters.
|
long |
BufferedInputStream.skip(long n)
See the general contract of the
skip
method of InputStream. |
int |
RandomAccessFile.skipBytes(int n)
Attempts to skip over
n bytes of input discarding the
skipped bytes. |
int |
ObjectInputStream.skipBytes(int len)
Skips bytes, block until all bytes are skipped.
|
int |
DataInputStream.skipBytes(int n)
See the general contract of the
skipBytes
method of DataInput. |
int |
DataInput.skipBytes(int n)
Makes an attempt to skip over
n bytes
of data from the input
stream, discarding the skipped bytes. |
void |
PushbackInputStream.unread(byte[] b)
Pushes back an array of bytes by copying it to the front of the
pushback buffer.
|
void |
PushbackInputStream.unread(byte[] b,
int off,
int len)
Pushes back a portion of an array of bytes by copying it to the front
of the pushback buffer.
|
void |
PushbackReader.unread(char[] cbuf)
Push back an array of characters by copying it to the front of the
pushback buffer.
|
void |
PushbackReader.unread(char[] cbuf,
int off,
int len)
Push back a portion of an array of characters by copying it to the
front of the pushback buffer.
|
void |
PushbackReader.unread(int c)
Push back a single character.
|
void |
PushbackInputStream.unread(int b)
Pushes back a byte by copying it to the front of the pushback buffer.
|
void |
ObjectOutputStream.useProtocolVersion(int version)
Specify stream protocol version to use when writing the stream.
|
void |
RandomAccessFile.write(byte[] b)
Writes
b.length bytes from the specified byte array
to this file, starting at the current file pointer. |
void |
OutputStream.write(byte[] b)
Writes
b.length bytes from the specified byte array
to this output stream. |
void |
ObjectOutputStream.write(byte[] buf)
Writes an array of bytes.
|
void |
ObjectOutput.write(byte[] b)
Writes an array of bytes.
|
void |
FilterOutputStream.write(byte[] b)
Writes
b.length bytes to this output stream. |
void |
FileOutputStream.write(byte[] b)
Writes
b.length bytes from the specified byte array
to this file output stream. |
void |
DataOutput.write(byte[] b)
Writes to the output stream all the bytes in array
b. |
void |
RandomAccessFile.write(byte[] b,
int off,
int len)
Writes
len bytes from the specified byte array
starting at offset off to this file. |
void |
PipedOutputStream.write(byte[] b,
int off,
int len)
Writes
len bytes from the specified byte array
starting at offset off to this piped output stream. |
void |
OutputStream.write(byte[] b,
int off,
int len)
Writes
len bytes from the specified byte array
starting at offset off to this output stream. |
void |
ObjectOutputStream.write(byte[] buf,
int off,
int len)
Writes a sub array of bytes.
|
void |
ObjectOutput.write(byte[] b,
int off,
int len)
Writes a sub array of bytes.
|
void |
FilterOutputStream.write(byte[] b,
int off,
int len)
Writes
len bytes from the specified
byte array starting at offset off to
this output stream. |
void |
FileOutputStream.write(byte[] b,
int off,
int len)
Writes
len bytes from the specified byte array
starting at offset off to this file output stream. |
void |
DataOutputStream.write(byte[] b,
int off,
int len)
Writes
len bytes from the specified byte array
starting at offset off to the underlying output stream. |
void |
DataOutput.write(byte[] b,
int off,
int len)
Writes
len bytes from array
b, in order, to
the output stream. |
void |
BufferedOutputStream.write(byte[] b,
int off,
int len)
Writes
len bytes from the specified byte array
starting at offset off to this buffered output stream. |
void |
Writer.write(char[] cbuf)
Write an array of characters.
|
abstract void |
Writer.write(char[] cbuf,
int off,
int len)
Write a portion of an array of characters.
|
void |
PipedWriter.write(char[] cbuf,
int off,
int len)
Writes
len characters from the specified character array
starting at offset off to this piped output stream. |
void |
OutputStreamWriter.write(char[] cbuf,
int off,
int len)
Write a portion of an array of characters.
|
void |
FilterWriter.write(char[] cbuf,
int off,
int len)
Write a portion of an array of characters.
|
void |
BufferedWriter.write(char[] cbuf,
int off,
int len)
Write a portion of an array of characters.
|
void |
Writer.write(int c)
Write a single character.
|
void |
RandomAccessFile.write(int b)
Writes the specified byte to this file.
|
void |
PipedWriter.write(int c)
Writes the specified
char to the piped output stream. |
void |
PipedOutputStream.write(int b)
Writes the specified
byte to the piped output stream. |
void |
OutputStreamWriter.write(int c)
Write a single character.
|
abstract void |
OutputStream.write(int b)
Writes the specified byte to this output stream.
|
void |
ObjectOutputStream.write(int val)
Writes a byte.
|
void |
ObjectOutput.write(int b)
Writes a byte.
|
void |
FilterWriter.write(int c)
Write a single character.
|
void |
FilterOutputStream.write(int b)
Writes the specified
byte to this output stream. |
void |
FileOutputStream.write(int b)
Writes the specified byte to this file output stream.
|
void |
DataOutputStream.write(int b)
Writes the specified byte (the low eight bits of the argument
b) to the underlying output stream. |
void |
DataOutput.write(int b)
Writes to the output stream the eight
low-order bits of the argument
b. |
void |
BufferedWriter.write(int c)
Write a single character.
|
void |
BufferedOutputStream.write(int b)
Writes the specified byte to this buffered output stream.
|
abstract void |
ObjectOutputStream.PutField.write(ObjectOutput out)
Write the data and fields to the specified ObjectOutput stream.
|
void |
Writer.write(String str)
Write a string.
|
void |
Writer.write(String str,
int off,
int len)
Write a portion of a string.
|
void |
OutputStreamWriter.write(String str,
int off,
int len)
Write a portion of a string.
|
void |
FilterWriter.write(String str,
int off,
int len)
Write a portion of a string.
|
void |
BufferedWriter.write(String s,
int off,
int len)
Write a portion of a String.
|
void |
RandomAccessFile.writeBoolean(boolean v)
Writes a
boolean to the file as a one-byte value. |
void |
ObjectOutputStream.writeBoolean(boolean val)
Writes a boolean.
|
void |
DataOutputStream.writeBoolean(boolean v)
Writes a
boolean to the underlying output stream as
a 1-byte value. |
void |
DataOutput.writeBoolean(boolean v)
Writes a
boolean value to this output stream. |
void |
RandomAccessFile.writeByte(int v)
Writes a
byte to the file as a one-byte value. |
void |
ObjectOutputStream.writeByte(int val)
Writes an 8 bit byte.
|
void |
DataOutputStream.writeByte(int v)
Writes out a
byte to the underlying output stream as
a 1-byte value. |
void |
DataOutput.writeByte(int v)
Writes to the output stream the eight low-
order bits of the argument
v. |
void |
RandomAccessFile.writeBytes(String s)
Writes the string to the file as a sequence of bytes.
|
void |
ObjectOutputStream.writeBytes(String str)
Writes a String as a sequence of bytes.
|
void |
DataOutputStream.writeBytes(String s)
Writes out the string to the underlying output stream as a
sequence of bytes.
|
void |
DataOutput.writeBytes(String s)
Writes a string to the output stream.
|
void |
RandomAccessFile.writeChar(int v)
Writes a
char to the file as a two-byte value, high
byte first. |
void |
ObjectOutputStream.writeChar(int val)
Writes a 16 bit char.
|
void |
DataOutputStream.writeChar(int v)
Writes a
char to the underlying output stream as a
2-byte value, high byte first. |
void |
DataOutput.writeChar(int v)
Writes a
char value, wich
is comprised of two bytes, to the
output stream. |
void |
RandomAccessFile.writeChars(String s)
Writes a string to the file as a sequence of characters.
|
void |
ObjectOutputStream.writeChars(String str)
Writes a String as a sequence of chars.
|
void |
DataOutputStream.writeChars(String s)
Writes a string to the underlying output stream as a sequence of
characters.
|
void |
DataOutput.writeChars(String s)
Writes every character in the string
s,
to the output stream, in order,
two bytes per character. |
protected void |
ObjectOutputStream.writeClassDescriptor(ObjectStreamClass desc)
Write the specified class descriptor to the ObjectOutputStream.
|
void |
RandomAccessFile.writeDouble(double v)
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. |
void |
ObjectOutputStream.writeDouble(double val)
Writes a 64 bit double.
|
void |
DataOutputStream.writeDouble(double v)
Converts the double argument to a
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. |
void |
DataOutput.writeDouble(double v)
Writes a
double value,
which is comprised of eight bytes, to the output stream. |
void |
Externalizable.writeExternal(ObjectOutput out)
The object implements the writeExternal method to save its contents
by calling the methods of DataOutput for its primitive values or
calling the writeObject method of ObjectOutput for objects, strings,
and arrays.
|
void |
ObjectOutputStream.writeFields()
Write the buffered fields to the stream.
|
void |
RandomAccessFile.writeFloat(float v)
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. |
void |
ObjectOutputStream.writeFloat(float val)
Writes a 32 bit float.
|
void |
DataOutputStream.writeFloat(float v)
Converts the float argument to an
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. |
void |
DataOutput.writeFloat(float v)
Writes a
float value,
which is comprised of four bytes, to the output stream. |
void |
RandomAccessFile.writeInt(int v)
Writes an
int to the file as four bytes, high byte first. |
void |
ObjectOutputStream.writeInt(int val)
Writes a 32 bit int.
|
void |
DataOutputStream.writeInt(int v)
Writes an
int to the underlying output stream as four
bytes, high byte first. |
void |
DataOutput.writeInt(int v)
Writes an
int value, which is
comprised of four bytes, to the output stream. |
void |
RandomAccessFile.writeLong(long v)
Writes a
long to the file as eight bytes, high byte first. |
void |
ObjectOutputStream.writeLong(long val)
Writes a 64 bit long.
|
void |
DataOutputStream.writeLong(long v)
Writes a
long to the underlying output stream as eight
bytes, high byte first. |
void |
DataOutput.writeLong(long v)
Writes a
long value, which is
comprised of eight bytes, to the output stream. |
void |
ObjectOutputStream.writeObject(Object obj)
Write the specified object to the ObjectOutputStream.
|
void |
ObjectOutput.writeObject(Object obj)
Write an object to the underlying storage or stream.
|
protected void |
ObjectOutputStream.writeObjectOverride(Object obj)
Method used by subclasses to override the default writeObject method.
|
void |
RandomAccessFile.writeShort(int v)
Writes a
short to the file as two bytes, high byte first. |
void |
ObjectOutputStream.writeShort(int val)
Writes a 16 bit short.
|
void |
DataOutputStream.writeShort(int v)
Writes a
short to the underlying output stream as two
bytes, high byte first. |
void |
DataOutput.writeShort(int v)
Writes two bytes to the output
stream to represent the value of the argument.
|
protected void |
ObjectOutputStream.writeStreamHeader()
The writeStreamHeader method is provided so subclasses can
append or prepend their own header to the stream.
|
void |
ByteArrayOutputStream.writeTo(OutputStream out)
Writes the complete contents of this byte array output stream to
the specified output stream argument, as if by calling the output
stream's write method using
out.write(buf, 0, count). |
void |
CharArrayWriter.writeTo(Writer out)
Writes the contents of the buffer to another character stream.
|
void |
ObjectOutputStream.writeUnshared(Object obj)
Writes an "unshared" object to the ObjectOutputStream.
|
void |
RandomAccessFile.writeUTF(String str)
Writes a string to the file using UTF-8 encoding in a
machine-independent manner.
|
void |
ObjectOutputStream.writeUTF(String str)
Primitive data write of this String in UTF format.
|
void |
DataOutputStream.writeUTF(String str)
Writes a string to the underlying output stream using Java modified
UTF-8 encoding in a machine-independent manner.
|
void |
DataOutput.writeUTF(String str)
Writes two bytes of length information
to the output stream, followed
by the Java modified UTF representation
of every character in the string
s. |
| Constructor and Description |
|---|
FileWriter(File file)
Constructs a FileWriter object given a File object.
|
FileWriter(File file,
boolean append)
Constructs a FileWriter object given a File object.
|
FileWriter(String fileName)
Constructs a FileWriter object given a file name.
|
FileWriter(String fileName,
boolean append)
Constructs a FileWriter object given a file name with a boolean
indicating whether or not to append the data written.
|
ObjectInputStream()
Provide a way for subclasses that are completely reimplementing
ObjectInputStream to not have to allocate private data just used by
this implementation of ObjectInputStream.
|
ObjectInputStream(InputStream in)
Creates an ObjectInputStream that reads from the specified InputStream.
|
ObjectOutputStream()
Provide a way for subclasses that are completely reimplementing
ObjectOutputStream to not have to allocate private data just used by
this implementation of ObjectOutputStream.
|
ObjectOutputStream(OutputStream out)
Creates an ObjectOutputStream that writes to the specified OutputStream.
|
PipedInputStream(PipedOutputStream src)
Creates a
PipedInputStream so
that it is connected to the piped output
stream src. |
PipedOutputStream(PipedInputStream snk)
Creates a piped output stream connected to the specified piped
input stream.
|
PipedReader(PipedWriter src)
Creates a
PipedReader so
that it is connected to the piped writer
src. |
PipedWriter(PipedReader snk)
Creates a piped writer connected to the specified piped
reader.
|
| Modifier and Type | Method and Description |
|---|---|
Process |
Runtime.exec(String command)
Executes the specified string command in a separate process.
|
Process |
Runtime.exec(String[] cmdarray)
Executes the specified command and arguments in a separate process.
|
Process |
Runtime.exec(String[] cmdarray,
String[] envp)
Executes the specified command and arguments in a separate process
with the specified environment.
|
Process |
Runtime.exec(String[] cmdarray,
String[] envp,
File dir)
Executes the specified command and arguments in a separate process with
the specified environment and working directory.
|
Process |
Runtime.exec(String cmd,
String[] envp)
Executes the specified string command in a separate process with the
specified environment.
|
Process |
Runtime.exec(String command,
String[] envp,
File dir)
Executes the specified string command in a separate process with the
specified environment and working directory.
|
protected Enumeration |
ClassLoader.findResources(String name)
Returns an enumeration of
URL objects
representing all the resources with the given name. |
Enumeration |
ClassLoader.getResources(String name)
Finds all the resources with the given name.
|
static Enumeration |
ClassLoader.getSystemResources(String name)
Finds all resources of the specified name from the search path used to
load classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BindException
Signals that an error occurred while attempting to bind a
socket to a local address and port.
|
class |
ConnectException
Signals that an error occurred while attempting to connect a
socket to a remote address and port.
|
class |
MalformedURLException
Thrown to indicate that a malformed URL has occurred.
|
class |
NoRouteToHostException
Signals that an error occurred while attempting to connect a
socket to a remote address and port.
|
class |
PortUnreachableException
Signals that an ICMP Port Unreachable message has been
received on a connected datagram.
|
class |
ProtocolException
Thrown to indicate that there is an error in the underlying
protocol, such as a TCP error.
|
class |
SocketException
Thrown to indicate that there is an error in the underlying
protocol, such as a TCP error.
|
class |
SocketTimeoutException
Signals that a timeout has occurred on a socket read or accept.
|
class |
UnknownHostException
Thrown to indicate that the IP address of a host could not be determined.
|
class |
UnknownServiceException
Thrown to indicate that an unknown service exception has
occurred.
|
| Modifier and Type | Method and Description |
|---|---|
Socket |
ServerSocket.accept()
Listens for a connection to be made to this socket and accepts
it.
|
protected abstract void |
SocketImpl.accept(SocketImpl s)
Accepts a connection.
|
protected abstract int |
SocketImpl.available()
Returns the number of bytes that can be read from this socket
without blocking.
|
protected abstract void |
SocketImpl.bind(InetAddress host,
int port)
Binds this socket to the specified port number on the specified host.
|
void |
Socket.bind(SocketAddress bindpoint)
Binds the socket to a local address.
|
void |
ServerSocket.bind(SocketAddress endpoint)
Binds the
ServerSocket to a specific address
(IP address and port number). |
void |
ServerSocket.bind(SocketAddress endpoint,
int backlog)
Binds the
ServerSocket to a specific address
(IP address and port number). |
protected abstract void |
SocketImpl.close()
Closes this socket.
|
void |
Socket.close()
Closes this socket.
|
void |
ServerSocket.close()
Closes this socket.
|
abstract void |
URLConnection.connect()
Opens a communications link to the resource referenced by this
URL, if such a connection has not already been established.
|
protected abstract void |
SocketImpl.connect(InetAddress address,
int port)
Connects this socket to the specified port number on the specified host.
|
void |
Socket.connect(SocketAddress endpoint)
Connects this socket to the server.
|
protected abstract void |
SocketImpl.connect(SocketAddress address,
int timeout)
Connects this socket to the specified port number on the specified host.
|
void |
Socket.connect(SocketAddress endpoint,
int timeout)
Connects this socket to the server with a specified timeout value.
|
protected abstract void |
SocketImpl.connect(String host,
int port)
Connects this socket to the specified port on the named host.
|
protected abstract void |
SocketImpl.create(boolean stream)
Creates either a stream or a datagram socket.
|
Enumeration |
URLClassLoader.findResources(String name)
Returns an Enumeration of URLs representing all of the resources
on the URL search path having the specified name.
|
Attributes |
JarURLConnection.getAttributes()
Return the Attributes object for this connection if the URL
for it points to a JAR file entry, null otherwise.
|
Certificate[] |
JarURLConnection.getCertificates()
Return the Certificate object for this connection if the URL
for it points to a JAR file entry, null otherwise.
|
Object |
URLConnection.getContent()
Retrieves the contents of this URL connection.
|
Object |
URL.getContent()
Gets the contents of this URL.
|
Object |
URLConnection.getContent(Class[] classes)
Retrieves the contents of this URL connection.
|
Object |
URL.getContent(Class[] classes)
Gets the contents of this URL.
|
abstract Object |
ContentHandler.getContent(URLConnection urlc)
Given a URL connect stream positioned at the beginning of the
representation of an object, this method reads that stream and
creates an object from it.
|
Object |
ContentHandler.getContent(URLConnection urlc,
Class[] classes)
Given a URL connect stream positioned at the beginning of the
representation of an object, this method reads that stream and
creates an object that matches one of the types specified.
|
InputStream |
URLConnection.getInputStream()
Returns an input stream that reads from this open connection.
|
protected abstract InputStream |
SocketImpl.getInputStream()
Returns an input stream for this socket.
|
InputStream |
Socket.getInputStream()
Returns an input stream for this socket.
|
JarEntry |
JarURLConnection.getJarEntry()
Return the JAR entry object for this connection, if any.
|
abstract JarFile |
JarURLConnection.getJarFile()
Return the JAR file for this connection.
|
Attributes |
JarURLConnection.getMainAttributes()
Returns the main Attributes for the JAR file for this
connection.
|
Manifest |
JarURLConnection.getManifest()
Returns the Manifest for this connection, or null if none.
|
OutputStream |
URLConnection.getOutputStream()
Returns an output stream that writes to this connection.
|
protected abstract OutputStream |
SocketImpl.getOutputStream()
Returns an output stream for this socket.
|
OutputStream |
Socket.getOutputStream()
Returns an output stream for this socket.
|
Permission |
URLConnection.getPermission()
Returns a permission object representing the permission
necessary to make the connection represented by this
object.
|
Permission |
HttpURLConnection.getPermission() |
int |
HttpURLConnection.getResponseCode()
Gets the status code from an HTTP response message.
|
String |
HttpURLConnection.getResponseMessage()
Gets the HTTP response message, if any, returned along with the
response code from a server.
|
int |
ServerSocket.getSoTimeout()
Retrive setting for SO_TIMEOUT.
|
int |
MulticastSocket.getTimeToLive()
Get the default time-to-live for multicast packets sent out on
the socket.
|
protected abstract int |
DatagramSocketImpl.getTimeToLive()
Retrieve the TTL (time-to-live) option.
|
static String |
URLConnection.guessContentTypeFromStream(InputStream is)
Tries to determine the type of an input stream based on the
characters at the beginning of the input stream.
|
protected void |
ServerSocket.implAccept(Socket s)
Subclasses of ServerSocket use this method to override accept()
to return their own subclass of socket.
|
protected abstract void |
DatagramSocketImpl.join(InetAddress inetaddr)
Join the multicast group.
|
void |
MulticastSocket.joinGroup(InetAddress mcastaddr)
Joins a multicast group.
|
void |
MulticastSocket.joinGroup(SocketAddress mcastaddr,
NetworkInterface netIf)
Joins the specified multicast group at the specified interface.
|
protected abstract void |
DatagramSocketImpl.joinGroup(SocketAddress mcastaddr,
NetworkInterface netIf)
Join the multicast group.
|
protected abstract void |
DatagramSocketImpl.leave(InetAddress inetaddr)
Leave the multicast group.
|
void |
MulticastSocket.leaveGroup(InetAddress mcastaddr)
Leave a multicast group.
|
void |
MulticastSocket.leaveGroup(SocketAddress mcastaddr,
NetworkInterface netIf)
Leave a multicast group on a specified local interface.
|
protected abstract void |
DatagramSocketImpl.leaveGroup(SocketAddress mcastaddr,
NetworkInterface netIf)
Leave the multicast group.
|
protected abstract void |
SocketImpl.listen(int backlog)
Sets the maximum queue length for incoming connection indications
(a request to connect) to the
count argument. |
URLConnection |
URL.openConnection()
Returns a
URLConnection object that represents a
connection to the remote object referred to by the URL. |
protected abstract URLConnection |
URLStreamHandler.openConnection(URL u)
Opens a connection to the object referenced by the
URL argument. |
InputStream |
URL.openStream()
Opens a connection to this
URL and returns an
InputStream for reading from that connection. |
protected abstract int |
DatagramSocketImpl.peek(InetAddress i)
Peek at the packet to see who it is from.
|
protected abstract int |
DatagramSocketImpl.peekData(DatagramPacket p)
Peek at the packet to see who it is from.
|
protected abstract void |
DatagramSocketImpl.receive(DatagramPacket p)
Receive the datagram packet.
|
void |
DatagramSocket.receive(DatagramPacket p)
Receives a datagram packet from this socket.
|
protected abstract void |
DatagramSocketImpl.send(DatagramPacket p)
Sends a datagram packet.
|
void |
DatagramSocket.send(DatagramPacket p)
Sends a datagram packet from this socket.
|
void |
MulticastSocket.send(DatagramPacket p,
byte ttl)
Deprecated.
Use the following code or its equivalent instead:
......
int ttl = mcastSocket.getTimeToLive();
mcastSocket.setTimeToLive(newttl);
mcastSocket.send(p);
mcastSocket.setTimeToLive(ttl);
......
|
protected abstract void |
SocketImpl.sendUrgentData(int data)
Send one byte of urgent data on the socket.
|
void |
Socket.sendUrgentData(int data)
Send one byte of urgent data on the socket.
|
static void |
DatagramSocket.setDatagramSocketImplFactory(DatagramSocketImplFactory fac)
Sets the datagram socket implementation factory for the
application.
|
static void |
ServerSocket.setSocketFactory(SocketImplFactory fac)
Sets the server socket implementation factory for the
application.
|
static void |
Socket.setSocketImplFactory(SocketImplFactory fac)
Sets the client socket implementation factory for the
application.
|
void |
MulticastSocket.setTimeToLive(int ttl)
Set the default time-to-live for multicast packets sent out
on this
MulticastSocket in order to control the
scope of the multicasts. |
protected abstract void |
DatagramSocketImpl.setTimeToLive(int ttl)
Set the TTL (time-to-live) option.
|
protected void |
SocketImpl.shutdownInput()
Places the input stream for this socket at "end of stream".
|
void |
Socket.shutdownInput()
Places the input stream for this socket at "end of stream".
|
protected void |
SocketImpl.shutdownOutput()
Disables the output stream for this socket.
|
void |
Socket.shutdownOutput()
Disables the output stream for this socket.
|
| Constructor and Description |
|---|
MulticastSocket()
Create a multicast socket.
|
MulticastSocket(int port)
Create a multicast socket and bind it to a specific port.
|
MulticastSocket(SocketAddress bindaddr)
Create a MulticastSocket bound to the specified socket address.
|
ServerSocket()
Creates an unbound server socket.
|
ServerSocket(int port)
Creates a server socket, bound to the specified port.
|
ServerSocket(int port,
int backlog)
Creates a server socket and binds it to the specified local port
number, with the specified backlog.
|
ServerSocket(int port,
int backlog,
InetAddress bindAddr)
Create a server with the specified port, listen backlog, and
local IP address to bind to.
|
Socket(InetAddress address,
int port)
Creates a stream socket and connects it to the specified port
number at the specified IP address.
|
Socket(InetAddress address,
int port,
InetAddress localAddr,
int localPort)
Creates a socket and connects it to the specified remote address on
the specified remote port.
|
Socket(String host,
int port)
Creates a stream socket and connects it to the specified port
number on the named host.
|
Socket(String host,
int port,
InetAddress localAddr,
int localPort)
Creates a socket and connects it to the specified remote host on
the specified remote port.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AccessException
An
AccessException is thrown to
indicate that the caller does not have permission to perform the action
requested by the method call. |
class |
RemoteException
A
RemoteException is the common superclass for a number of
communication-related exceptions that may occur during the execution of a
remote method call. |
class |
UnexpectedException
An
UnexpectedException is thrown if the client of a
remote method call receives, as a result of the call, a checked
exception that is not among the checked exception types declared in the
throws clause of the method in the remote interface. |
| Modifier and Type | Method and Description |
|---|---|
void |
Certificate.decode(InputStream stream)
Deprecated.
Decodes a certificate from an input stream.
|
void |
Certificate.encode(OutputStream stream)
Deprecated.
Encodes the certificate to an output stream in a format that can
be decoded by the
decode method. |
protected abstract byte[] |
AlgorithmParametersSpi.engineGetEncoded()
Returns the parameters in their primary encoding format.
|
protected abstract byte[] |
AlgorithmParametersSpi.engineGetEncoded(String format)
Returns the parameters encoded in the specified format.
|
protected abstract void |
AlgorithmParametersSpi.engineInit(byte[] params)
Imports the specified parameters and decodes them
according to the primary decoding format for parameters.
|
protected abstract void |
AlgorithmParametersSpi.engineInit(byte[] params,
String format)
Imports the parameters from
params and
decodes them according to the specified decoding format. |
abstract void |
KeyStoreSpi.engineLoad(InputStream stream,
char[] password)
Loads the keystore from the given input stream.
|
abstract void |
KeyStoreSpi.engineStore(OutputStream stream,
char[] password)
Stores this keystore to the given output stream, and protects its
integrity with the given password.
|
byte[] |
AlgorithmParameters.getEncoded()
Returns the parameters in their primary encoding format.
|
byte[] |
AlgorithmParameters.getEncoded(String format)
Returns the parameters encoded in the specified scheme.
|
Object |
SignedObject.getObject()
Retrieves the encapsulated object.
|
void |
AlgorithmParameters.init(byte[] params)
Imports the specified parameters and decodes them according to the
primary decoding format for parameters.
|
void |
AlgorithmParameters.init(byte[] params,
String format)
Imports the parameters from
params and decodes them
according to the specified decoding scheme. |
void |
Provider.load(InputStream inStream)
Reads a property list (key and element pairs) from the input stream.
|
void |
KeyStore.load(InputStream stream,
char[] password)
Loads this KeyStore from the given input stream.
|
int |
DigestInputStream.read()
Reads a byte, and updates the message digest (if the digest
function is on).
|
int |
DigestInputStream.read(byte[] b,
int off,
int len)
Reads into a byte array, and updates the message digest (if the
digest function is on).
|
void |
KeyStore.store(OutputStream stream,
char[] password)
Stores this keystore to the given output stream, and protects its
integrity with the given password.
|
void |
DigestOutputStream.write(byte[] b,
int off,
int len)
Updates the message digest (if the digest function is on) using
the specified subarray, and in any case writes the subarray to
the output stream.
|
void |
DigestOutputStream.write(int b)
Updates the message digest (if the digest function is on) using
the specified byte, and in any case writes the byte
to the output stream.
|
| Constructor and Description |
|---|
SignedObject(Serializable object,
PrivateKey signingKey,
Signature signingEngine)
Constructs a SignedObject from any Serializable object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Properties.load(InputStream inStream)
Reads a property list (key and element pairs) from the input
stream.
|
void |
Properties.store(OutputStream out,
String header)
Writes this property list (key and element pairs) in this
Properties table to the output stream in a format suitable
for loading into a Properties table using the
load method. |
| Constructor and Description |
|---|
PropertyResourceBundle(InputStream stream)
Creates a property resource bundle.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JarException
Signals that an error of some sort has occurred while reading from
or writing to a JAR file.
|
| Modifier and Type | Method and Description |
|---|---|
Attributes |
JarEntry.getAttributes()
Returns the
Manifest Attributes for this
entry, or null if none. |
InputStream |
JarFile.getInputStream(ZipEntry ze)
Returns an input stream for reading the contents of the specified
ZIP file entry.
|
Manifest |
JarFile.getManifest()
Returns the JAR file manifest, or
null if none. |
ZipEntry |
JarInputStream.getNextEntry()
Reads the next ZIP file entry and positions stream at the beginning
of the entry data.
|
JarEntry |
JarInputStream.getNextJarEntry()
Reads the next JAR file entry and positions the stream at the
beginning of the entry data.
|
void |
JarOutputStream.putNextEntry(ZipEntry ze)
Begins writing a new JAR file entry and positions the stream
to the start of the entry data.
|
int |
JarInputStream.read(byte[] b,
int off,
int len)
Reads from the current JAR file entry into an array of bytes.
|
void |
Manifest.read(InputStream is)
Reads the Manifest from the specified InputStream.
|
void |
Manifest.write(OutputStream out)
Writes the Manifest to the specified OutputStream.
|
| Constructor and Description |
|---|
JarFile(File file)
Creates a new
JarFile to read from the specified
File object. |
JarFile(File file,
boolean verify)
Creates a new
JarFile to read from the specified
File object. |
JarFile(File file,
boolean verify,
int mode)
Creates a new
JarFile to read from the specified
File object in the specified mode. |
JarFile(String name)
Creates a new
JarFile to read from the specified
file name. |
JarFile(String name,
boolean verify)
Creates a new
JarFile to read from the specified
file name. |
JarInputStream(InputStream in)
Creates a new
JarInputStream and reads the optional
manifest. |
JarInputStream(InputStream in,
boolean verify)
Creates a new
JarInputStream and reads the optional
manifest. |
JarOutputStream(OutputStream out)
Creates a new
JarOutputStream with no manifest. |
JarOutputStream(OutputStream out,
Manifest man)
Creates a new
JarOutputStream with the specified
Manifest. |
Manifest(InputStream is)
Constructs a new Manifest from the specified input stream.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ZipException
Signals that a Zip exception of some sort has occurred.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ZipInputStream.available()
Returns 0 after EOF has reached for the current entry data,
otherwise always return 1.
|
int |
InflaterInputStream.available()
Returns 0 after EOF has reached, otherwise always return 1.
|
void |
ZipOutputStream.close()
Closes the ZIP output stream as well as the stream being filtered.
|
void |
ZipInputStream.close()
Closes the ZIP input stream.
|
void |
ZipFile.close()
Closes the ZIP file.
|
void |
InflaterInputStream.close()
Closes the input stream.
|
void |
GZIPInputStream.close()
Closes the input stream.
|
void |
DeflaterOutputStream.close()
Writes remaining compressed data to the output stream and closes the
underlying stream.
|
void |
ZipOutputStream.closeEntry()
Closes the current ZIP entry and positions the stream for writing
the next entry.
|
void |
ZipInputStream.closeEntry()
Closes the current ZIP entry and positions the stream for reading the
next entry.
|
protected void |
DeflaterOutputStream.deflate()
Writes next block of compressed data to the output stream.
|
protected void |
InflaterInputStream.fill()
Fills input buffer with more data to decompress.
|
protected void |
ZipFile.finalize()
Ensures that the
close method of this ZIP file is
called when there are no more references to it. |
void |
ZipOutputStream.finish()
Finishes writing the contents of the ZIP output stream without closing
the underlying stream.
|
void |
GZIPOutputStream.finish()
Finishes writing compressed data to the output stream without closing
the underlying stream.
|
void |
DeflaterOutputStream.finish()
Finishes writing compressed data to the output stream without closing
the underlying stream.
|
InputStream |
ZipFile.getInputStream(ZipEntry entry)
Returns an input stream for reading the contents of the specified
zip file entry.
|
ZipEntry |
ZipInputStream.getNextEntry()
Reads the next ZIP file entry and positions stream at the beginning
of the entry data.
|
void |
ZipOutputStream.putNextEntry(ZipEntry e)
Begins writing a new ZIP file entry and positions the stream to the
start of the entry data.
|
int |
InflaterInputStream.read()
Reads a byte of uncompressed data.
|
int |
CheckedInputStream.read()
Reads a byte.
|
int |
ZipInputStream.read(byte[] b,
int off,
int len)
Reads from the current ZIP entry into an array of bytes.
|
int |
InflaterInputStream.read(byte[] b,
int off,
int len)
Reads uncompressed data into an array of bytes.
|
int |
GZIPInputStream.read(byte[] buf,
int off,
int len)
Reads uncompressed data into an array of bytes.
|
int |
CheckedInputStream.read(byte[] buf,
int off,
int len)
Reads into an array of bytes.
|
long |
ZipInputStream.skip(long n)
Skips specified number of bytes in the current ZIP entry.
|
long |
InflaterInputStream.skip(long n)
Skips specified number of bytes of uncompressed data.
|
long |
CheckedInputStream.skip(long n)
Skips specified number of bytes of input.
|
void |
ZipOutputStream.write(byte[] b,
int off,
int len)
Writes an array of bytes to the current ZIP entry data.
|
void |
GZIPOutputStream.write(byte[] buf,
int off,
int len)
Writes array of bytes to the compressed output stream.
|
void |
DeflaterOutputStream.write(byte[] b,
int off,
int len)
Writes an array of bytes to the compressed output stream.
|
void |
CheckedOutputStream.write(byte[] b,
int off,
int len)
Writes an array of bytes.
|
void |
DeflaterOutputStream.write(int b)
Writes a byte to the compressed output stream.
|
void |
CheckedOutputStream.write(int b)
Writes a byte.
|
| Constructor and Description |
|---|
GZIPInputStream(InputStream in)
Creates a new input stream with a default buffer size.
|
GZIPInputStream(InputStream in,
int size)
Creates a new input stream with the specified buffer size.
|
GZIPOutputStream(OutputStream out)
Creates a new output stream with a default buffer size.
|
GZIPOutputStream(OutputStream out,
int size)
Creates a new output stream with the specified buffer size.
|
ZipFile(File file)
Opens a ZIP file for reading given the specified File object.
|
ZipFile(File file,
int mode)
Opens a new
ZipFile to read from the specified
File object in the specified mode. |
ZipFile(String name)
Opens a zip file for reading.
|
| Modifier and Type | Method and Description |
|---|---|
static DataSource |
Manager.createDataSource(MediaLocator sourceLocator)
Create a
DataSource for the specified media. |
static DataSource |
Manager.createDataSource(URL sourceURL)
Create a
DataSource for the specified media. |
static Player |
Manager.createPlayer(DataSource source)
Create a
Player for the DataSource. |
static Player |
Manager.createPlayer(MediaLocator sourceLocator)
Create a
Player for the specified media. |
static Player |
Manager.createPlayer(URL sourceURL)
Create a
Player for the specified media. |
DataSource |
MediaProxy.getDataSource()
Obtain the new
DataSource. |
void |
MediaHandler.setSource(DataSource source)
Set the media source the
MediaHandler
should use to obtain content. |
| Modifier and Type | Method and Description |
|---|---|
void |
URLDataSource.connect()
Initialize the connection with the source.
|
abstract void |
DataSource.connect()
Open a connection to the source described by
the
MediaLocator. |
int |
PullSourceStream.read(byte[] buffer,
int offset,
int length)
Block and read data from the stream.
|
void |
URLDataSource.start() |
abstract void |
DataSource.start()
Initiate data-transfer.
|
void |
URLDataSource.stop()
Stops the
|
abstract void |
DataSource.stop()
Stop the data-transfer.
|
| Constructor and Description |
|---|
URLDataSource(URL url)
Construct a
URLDataSource
directly from a URL. |
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectionNotFoundException
This class is used to signal that a connection target
cannot be found, or the protocol type is not supported.
|
| Modifier and Type | Method and Description |
|---|---|
StreamConnection |
StreamConnectionNotifier.acceptAndOpen()
Returns a
StreamConnection object that represents
a server side socket connection. |
void |
Connection.close()
Close the connection.
|
String |
SocketConnection.getAddress()
Gets the remote address to which the socket is bound.
|
long |
HttpConnection.getDate()
Returns the value of the
date header field. |
long |
HttpConnection.getExpiration()
Returns the value of the
expires header field. |
String |
HttpConnection.getHeaderField(int n)
Gets a header field value by index.
|
String |
HttpConnection.getHeaderField(String name)
Returns the value of the named header field.
|
long |
HttpConnection.getHeaderFieldDate(String name,
long def)
Returns the value of the named field parsed as date.
|
int |
HttpConnection.getHeaderFieldInt(String name,
int def)
Returns the value of the named field parsed as a number.
|
String |
HttpConnection.getHeaderFieldKey(int n)
Gets a header field key by index.
|
long |
HttpConnection.getLastModified()
Returns the value of the
last-modified header field. |
String |
UDPDatagramConnection.getLocalAddress()
Gets the local address to which the
datagram connection is bound.
|
String |
SocketConnection.getLocalAddress()
Gets the local address to which the socket is bound.
|
String |
ServerSocketConnection.getLocalAddress()
Gets the local address to which the socket is bound.
|
int |
UDPDatagramConnection.getLocalPort()
Returns the local port to which this datagram connection is bound.
|
int |
SocketConnection.getLocalPort()
Returns the local port to which this socket is bound.
|
int |
ServerSocketConnection.getLocalPort()
Returns the local port to which this socket is bound.
|
int |
DatagramConnection.getMaximumLength()
Get the maximum length a datagram can be.
|
int |
DatagramConnection.getNominalLength()
Get the nominal length of a datagram.
|
int |
SocketConnection.getPort()
Returns the remote port to which this socket is bound.
|
int |
HttpConnection.getResponseCode()
Returns the HTTP response status code.
|
String |
HttpConnection.getResponseMessage()
Gets the HTTP response message, if any, returned along with the
response code from a server.
|
SecurityInfo |
SecureConnection.getSecurityInfo()
Return the security information associated with this connection
when it was opened.
|
SecurityInfo |
HttpsConnection.getSecurityInfo()
Return the security information associated with this
successfully opened connection.
|
int |
SocketConnection.getSocketOption(byte option)
Get a socket option for the connection.
|
Datagram |
DatagramConnection.newDatagram(byte[] buf,
int size)
Create a new datagram object.
|
Datagram |
DatagramConnection.newDatagram(byte[] buf,
int size,
String addr)
Make a new datagram object.
|
Datagram |
DatagramConnection.newDatagram(int size)
Create a new datagram object.
|
Datagram |
DatagramConnection.newDatagram(int size,
String addr)
Create a new datagram object.
|
static Connection |
Connector.open(String name)
Create and open a Connection.
|
static Connection |
Connector.open(String name,
int mode)
Create and open a Connection.
|
static Connection |
Connector.open(String name,
int mode,
boolean timeouts)
Create and open a Connection.
|
DataInputStream |
InputConnection.openDataInputStream()
Open and return a data input stream for a connection.
|
static DataInputStream |
Connector.openDataInputStream(String name)
Create and open a connection input stream.
|
DataOutputStream |
OutputConnection.openDataOutputStream()
Open and return a data output stream for a connection.
|
static DataOutputStream |
Connector.openDataOutputStream(String name)
Create and open a connection output stream.
|
InputStream |
InputConnection.openInputStream()
Open and return an input stream for a connection.
|
static InputStream |
Connector.openInputStream(String name)
Create and open a connection input stream.
|
OutputStream |
OutputConnection.openOutputStream()
Open and return an output stream for a connection.
|
static OutputStream |
Connector.openOutputStream(String name)
Create and open a connection output stream.
|
void |
DatagramConnection.receive(Datagram dgram)
Receive a datagram.
|
void |
DatagramConnection.send(Datagram dgram)
Send a datagram.
|
void |
Datagram.setAddress(String addr)
Set datagram address.
|
void |
HttpConnection.setRequestMethod(String method)
Set the method for the URL request, one of:
GET
POST
HEAD
are legal, subject to protocol restrictions.
|
void |
HttpConnection.setRequestProperty(String key,
String value)
Sets the general request property.
|
void |
SocketConnection.setSocketOption(byte option,
int value)
Set a socket option for the connection.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CertificateException
The
CertificateException encapsulates an error that
occurred while a Certificate is being used. |
| Modifier and Type | Class and Description |
|---|---|
class |
StubException
StubException is thrown whenever stub class generation fails
for inter-Xlet communication.
|
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
ServerSocketFactory.createServerSocket()
Returns an unbound server socket.
|
abstract ServerSocket |
ServerSocketFactory.createServerSocket(int port)
Returns a server socket bound to the specified port.
|
abstract ServerSocket |
ServerSocketFactory.createServerSocket(int port,
int backlog)
Returns a server socket bound to the specified port, and uses the
specified connection backlog.
|
abstract ServerSocket |
ServerSocketFactory.createServerSocket(int port,
int backlog,
InetAddress ifAddress)
Returns a server socket bound to the specified port,
with a specified listen backlog and local IP.
|
Socket |
SocketFactory.createSocket()
Creates an unconnected socket.
|
abstract Socket |
SocketFactory.createSocket(InetAddress host,
int port)
Creates a socket and connects it to the specified port number
at the specified address.
|
abstract Socket |
SocketFactory.createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort)
Creates a socket and connect it to the specified remote address
on the specified remote port.
|
abstract Socket |
SocketFactory.createSocket(String host,
int port)
Creates a socket and connects it to the specified remote host
at the specified remote port.
|
abstract Socket |
SocketFactory.createSocket(String host,
int port,
InetAddress localHost,
int localPort)
Creates a socket and connects it to the specified remote host
on the specified remote port.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SSLException
Indicates some kind of error detected by an SSL subsystem.
|
class |
SSLHandshakeException
Indicates that the client and server could not negotiate the
desired level of security.
|
class |
SSLKeyException
Reports a bad SSL key.
|
class |
SSLPeerUnverifiedException
Indicates that the peer's identity has not been verified.
|
class |
SSLProtocolException
Reports an error in the operation of the SSL protocol.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Socket |
SSLSocketFactory.createSocket(Socket s,
String host,
int port,
boolean autoClose)
Returns a socket layered over an existing socket connected to the named
host, at the given port.
|
abstract void |
SSLSocket.startHandshake()
Starts an SSL handshake on this connection.
|
| Constructor and Description |
|---|
HttpsURLConnection(URL url)
Creates an
HttpsURLConnection using the
URL specified. |
SSLServerSocket()
Used only by subclasses.
|
SSLServerSocket(int port)
Used only by subclasses.
|
SSLServerSocket(int port,
int backlog)
Used only by subclasses.
|
SSLServerSocket(int port,
int backlog,
InetAddress address)
Used only by subclasses.
|
SSLSocket(InetAddress address,
int port)
Used only by subclasses.
|
SSLSocket(InetAddress address,
int port,
InetAddress clientAddress,
int clientPort)
Used only by subclasses.
|
SSLSocket(String host,
int port)
Used only by subclasses.
|
SSLSocket(String host,
int port,
InetAddress clientAddress,
int clientPort)
Used only by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
static InetAddress |
InterfaceMap.getLocalAddress(Locator locator)
Reports the local IP address assigned to the given service
component.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Document |
DocumentBuilder.parse(InputSource is)
Parse the content of the given input source as an XML document
and return a new DOM
Document object. |
abstract void |
SAXParser.parse(InputSource is,
DefaultHandler dh)
Parse the content given
InputSource
as XML using the specified
DefaultHandler. |
Document |
DocumentBuilder.parse(InputStream is)
Parse the content of the given
InputStream as an XML
document and return a new DOM Document object. |
abstract void |
SAXParser.parse(InputStream is,
DefaultHandler dh)
Parse the content of the given
InputStream
instance as XML using the specified
DefaultHandler. |
| Modifier and Type | Class and Description |
|---|---|
class |
NotAuthorizedException
This exception indicates that the source can not be accessed in order to reference the new content,
the source has not been accepted.
|
class |
NotAuthorizedMediaException
This exception indicates that the source can not be accessed in order to reference the new content,
the source has not been accepted.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DSMCCException
The DSMCCException is the root class of all DSMCC related exceptions
|
class |
IllegalObjectTypeException
This Exception is thrown when the application attempted to create
a DSMCCStream or DSMCCStreamEvent object with an object or a path
that did not correspond to a DSMCC Stream or DSMCC StreamEvent respectively
|
class |
InsufficientResourcesException
This exception gets thrown when a request to perform a DSMCC related operation
cannot be completed due to resource limitations.
|
class |
InvalidAddressException
An InvalidAddressException is thrown when the format of an NSAP address
is not recognized.
|
class |
InvalidFormatException
An InvalidFormatException is thrown when an inconsistent DSMCC message is
received.
|
class |
InvalidPathNameException
The InvalidPathNameException is thrown when the path name to a DSMCCObject
does not exist or if the ServiceDomain has been detached.
|
class |
MPEGDeliveryException
An MPEGDEliveryException is thrown when an error
(for instance, a time out or accessing the data would
require tuning)
occurs while loading data from an MPEG Stream.
|
class |
NotEntitledException
This Exception is thrown when the user is not entitled to access
the content of the object (the Elementary Stream is scrambled and the user
is not entitled).
|
class |
NothingToAbortException
A NothingToAbortException is thrown when the abort method is called and
there is no loading in progress.
|
class |
NotLoadedException
A NotLoadedException is thrown when an operation fails
because information which is required to be loaded has not been.
|
class |
ServerDeliveryException
A ServerDeliveryException is thrown when the local machine can not
communicate with the server.
|
class |
ServiceXFRException
A ServiceXFRException is thrown when a DSMCC Object can not be loaded in the
current ServiceDomain but is available in an alternate ServiceDomain
(i.e.
|
class |
UnknownEventException
The
UnknownEventException is thrown when a method tries to access to
an unknown event. |
| Constructor and Description |
|---|
DSMCCStream(String path)
Create a Stream Object from its pathname.
|
DSMCCStream(String path,
String name)
Create a DSMCCStream from its pathname.
|
DSMCCStreamEvent(String path)
Create a DSMCCStreamEvent Object from its pathname.
|
DSMCCStreamEvent(String path,
String name)
Create a DSMCCStreamEvent from its pathname.
|
| Modifier and Type | Method and Description |
|---|---|
static FileAttributes |
FileAttributes.getFileAttributes(File f)
Get the attributes of a file.
|
static void |
FileAttributes.setFileAttributes(FileAttributes p,
File f)
Associate a set of file attributes with a file.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CAException
This exception is thrown when access to a media stream is denied by the CA system.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DripFeedDataSource.connect()
This method shall not be used and has no effect.
|
void |
DripFeedDataSource.start()
This method shall not be used and has no effect.
|
void |
DripFeedDataSource.stop()
This method shall not be used and has no effect.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectionRCInterface.connect()
Connect this return channel to the current target.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DVBTest.log(String id,
int no)
This method has the same behaviour, implementation options and restrictions as log(String, String) - except that.
|
static void |
DVBTest.log(String id,
String message)
This synchronous, blocking, method logs a result (intermediate result) of a test application using write-only access.
|
static void |
DVBTest.prompt(String id,
int controlCode,
String message)
This is a method is used to "approximately" synchronise a test-client and test-server, the method blocks
until the test-server positively or negatively acknowledges the particular message.
|
static void |
DVBTest.terminate(String id,
int terminationCondition)
This synchronous, blocking, method logs the termination condition of a test
application using write-only access.
|
| Modifier and Type | Method and Description |
|---|---|
Font |
FontFactory.createFont(String name,
int style,
int size)
Creates a font object from the font source associated with this
FontFactory.
|
| Constructor and Description |
|---|
FontFactory()
Constructs a FontFactory for the font index file bound to this application
in the application signalling.
|
FontFactory(URL u)
Constructs a FontFactory for the font file found at the given location.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UserPreferenceManager.write(Preference p)
Saves the specified user preference.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HStillImageBackgroundConfiguration.displayImage(HBackgroundImage image)
Display an image.
|
void |
HStillImageBackgroundConfiguration.displayImage(HBackgroundImage image,
HScreenRectangle r)
Display an image to cover a particular area of the screen.
|
void |
HSound.load(String location)
Loads data synchronously into an
HSound object from an audio sample in the specified file. |
void |
HSound.load(URL contents)
Loads data synchronously into an
HSound object from an audio sample indicated by a URL. |
| Modifier and Type | Method and Description |
|---|---|
static void |
OcapSystem.monitorConfiguringSignal(int port,
int timeout)
Called by the monitor application to inform the OCAP implementation
that it is configuring and the boot process may resume after it
calls the
monitorConfiguredSignal method, see Section
20.2.2.3 Boot Process while connected to the cable network CableCARD
device present. |
| Modifier and Type | Method and Description |
|---|---|
void |
AppManagerProxy.registerUnboundApp(InputStream xait)
This method registers new unbound application entries.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ContentResource.delete()
Deletes the binary representation of this
ContentResource
and the ContentResource is removed from any containing
ContentEntry. |
boolean |
ContentContainer.delete()
Deletes this ContentContainer if and only if it is empty.
|
boolean |
ContentContainer.deleteContents()
Deletes all the ContentEntry objects in this container except for
ContentContainer entries.
|
boolean |
ContentItem.deleteEntry()
Deletes this ContentItem.
|
boolean |
ContentEntry.deleteEntry()
Deletes this ContentEntry.
|
boolean |
ContentContainer.deleteEntry()
Deletes this ContentContainer and all of the ContentEntry objects in this
container.
|
boolean |
ContentContainer.deleteRecursive(boolean recursive)
If the recursive parameter is true, this method behaves in a manner
equivalent to
ContentContainer.deleteEntry(). |
ContentContainer |
ContentEntry.getEntryParent()
Returns the
ContentContainer this ContentEntry belongs to. |
ContentFormat[] |
ContentResource.getTransformedContentFormats()
Returns a list of transformed
ContentFormat that are
available. |
| Modifier and Type | Method and Description |
|---|---|
void |
NetRecordingEntry.addRecordingContentItem(RecordingContentItem item)
Adds a local RecordingContentItem to this recording object
|
NetRecordingEntry |
NetRecordingRequestManager.createNetRecordingEntry()
This method creates a local entry which represents a network visible
collection of recording items.
|
boolean |
RecordingContentItem.deleteEntry()
Deletes this RecordingContentItem, but does not remove the physical recording.
|
boolean |
NetRecordingEntry.deleteEntry()
Deletes this NetRecordingEntry if and only if it contains no RecordingContentItems.
|
RecordingContentItem[] |
NetRecordingEntry.getRecordingContentItems()
Retrieves the local individual RecordingContentItems that make up this
series recording.
|
void |
NetRecordingEntry.removeRecordingContentItem(RecordingContentItem item)
Removes a local RecordingContentItem from this recording object.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
RemoteUIServerManager.setUIList(InputStream uiList)
Sets a remote user interface list.
|
| Modifier and Type | Method and Description |
|---|---|
UPnPManagedDevice |
UPnPDeviceManager.createDevice(UPnPManagedDevice parent,
InputStream description,
UPnPManagedDeviceIcon[] icons)
Creates a UPnP device in the local host.
|
UPnPManagedService |
UPnPManagedDevice.createService(String serviceType,
InputStream description,
UPnPActionHandler handler)
Creates a UPnP service associated with this device.
|
| Modifier and Type | Method and Description |
|---|---|
LogicalStorageVolume |
StorageProxy.allocateGeneralPurposeVolume(String name,
ExtendedFileAccessPermissions fap)
Allocates a general purpose
LogicalStorageVolume. |
void |
DetachableStorageOption.makeDetachable()
Makes the device safe to be detached.
|
void |
DetachableStorageOption.makeReady()
Makes the device ready for use.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
RegisteredApiManager.register(String name,
String version,
File scdf,
short storagePriority)
Registers an API with the implementation.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
OCAPTest.receive()
Receive a byte array from ATE via TCP/IP.
|
static byte[] |
OCAPTest.receiveUDP()
Receive a message from ATE via UDP/IP.
|
static void |
OCAPTest.send(byte[] rawMessage)
Send a specified byte array to ATE via TCP/IP protocol.
|
static void |
OCAPTest.sendUDP(byte[] rawMessage)
Send rawMessage to ATE via UDP/IP.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XMLReader.parse(InputSource input)
Parse an XML document.
|
void |
XMLReader.parse(String systemId)
Parse an XML document from a system identifier (URI).
|
InputSource |
EntityResolver.resolveEntity(String publicId,
String systemId)
Allow the application to resolve external entities.
|
Copyright © 2013 CableLabs. All rights reserved.