| Package | Description |
|---|---|
| java.applet |
Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.
|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.awt.color |
Provides classes for color spaces.
|
| java.awt.datatransfer |
Provides interfaces and classes for transferring data between and within applications.
|
| java.awt.dnd |
Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.
|
| java.awt.print |
Provides classes and interfaces for a general printing API.
|
| java.beans |
Contains classes related to developing
beans -- components based on the JavaBeans™ architecture.
|
| java.beans.beancontext |
Provides classes and interfaces relating to bean context.
|
| 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.lang.management |
Provides the management interfaces for monitoring and management of the Java virtual machine and other components in the Java runtime.
|
| java.net |
Provides the classes for implementing networking applications.
|
| java.nio |
Defines buffers, which are containers for data, and provides an overview of the other NIO packages.
|
| java.nio.channels |
Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.
|
| java.nio.channels.spi |
Service-provider classes for the
java.nio.channels package.
|
| java.nio.charset |
Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters.
|
| java.nio.file |
Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
|
| java.nio.file.attribute |
Interfaces and classes providing access to file and file system attributes.
|
| java.nio.file.spi |
Service-provider classes for the
java.nio.file package.
|
| java.rmi |
Provides the RMI package.
|
| java.rmi.activation |
Provides support for RMI Object Activation.
|
| java.rmi.server |
Provides classes and interfaces for supporting the server side of RMI.
|
| java.security |
Provides the classes and interfaces for the security framework.
|
| java.security.cert |
Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
|
| 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.logging |
Provides the classes and interfaces of the Java
TM 2 platform's core logging facilities.
|
| java.util.prefs |
This package allows applications to store and retrieve user and system preference and configuration data.
|
| java.util.zip |
Provides classes for reading and writing the standard ZIP and GZIP file formats.
|
| javax.activation | |
| javax.activity |
Contains Activity service related exceptions thrown by the ORB machinery during unmarshalling.
|
| javax.annotation.processing |
Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.
|
| javax.crypto |
Provides the classes and interfaces for cryptographic operations.
|
| javax.imageio |
The main package of the Java Image I/O API.
|
| javax.imageio.metadata |
A package of the Java Image I/O API dealing with reading and writing metadata.
|
| javax.imageio.spi |
A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry.
|
| javax.imageio.stream |
A package of the Java Image I/O API dealing with low-level I/O from files and streams.
|
| javax.management |
Provides the core classes for the Java Management Extensions.
|
| javax.management.loading |
Provides the classes which implement advanced dynamic loading.
|
| javax.management.remote |
Interfaces for remote access to JMX MBean servers.
|
| javax.management.remote.rmi |
The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.
|
| javax.naming.ldap |
Provides support for LDAPv3 extended operations and controls.
|
| javax.net |
Provides classes for networking applications.
|
| javax.net.ssl |
Provides classes for the secure socket package.
|
| javax.print |
Provides the principal classes and interfaces for the Java
TM Print Service API.
|
| javax.rmi.CORBA |
Contains portability APIs for RMI-IIOP.
|
| javax.rmi.ssl |
Provides implementations of
RMIClientSocketFactory and
RMIServerSocketFactory over the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.
|
| javax.security.auth.callback |
This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example).
|
| javax.security.sasl |
Contains class and interfaces for supporting SASL.
|
| javax.sound.midi |
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.
|
| javax.sound.midi.spi |
Supplies interfaces for service providers to implement when offering new MIDI devices, MIDI file readers and writers, or sound bank readers.
|
| javax.sound.sampled |
Provides interfaces and classes for capture, processing, and playback of sampled audio data.
|
| javax.sound.sampled.spi |
Supplies abstract classes for service providers to subclass when offering new audio devices, sound file readers and writers, or audio format converters.
|
| javax.sql.rowset |
Standard interfaces and base classes for JDBC
RowSet implementations.
|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
|
| javax.swing.filechooser |
Contains classes and interfaces used by the
JFileChooser component.
|
| javax.swing.plaf.synth |
Synth is a skinnable look and feel in which all painting is delegated.
|
| javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text components.
|
| javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes for creating HTML text editors.
|
| javax.swing.text.html.parser |
Provides the default HTML parser, along with support classes.
|
| javax.swing.text.rtf |
Provides a class (
RTFEditorKit) for creating Rich-Text-Format text editors.
|
| javax.tools |
Provides interfaces for tools which can be invoked from a program, for example, compilers.
|
| javax.transaction |
Contains three exceptions thrown by the ORB machinery during unmarshalling.
|
| javax.xml.bind |
Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.
|
| javax.xml.parsers |
Provides classes allowing the processing of XML documents.
|
| javax.xml.soap |
Provides the API for creating and building SOAP messages.
|
| javax.xml.validation |
This package provides an API for validation of XML documents.
|
| javax.xml.ws.spi.http |
Provides HTTP SPI that is used for portable deployment of JAX-WS web services in containers(for e.g.
|
| org.omg.CORBA.portable |
Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB.
|
| org.xml.sax |
This package provides the core SAX APIs.
|
| org.xml.sax.ext |
This package contains interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support.
|
| org.xml.sax.helpers |
This package contains "helper" classes, including support for bootstrapping SAX-based applications.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AppletContext.setStream(String
Associates the specified stream with the specified key in this applet context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Desktop.browse(URI
Launches the default browser to display a
URI.
|
static Font |
Font.createFont(int fontFormat, File
Returns a new
Font using the specified font type and the specified font file.
|
static Font |
Font.createFont(int fontFormat, InputStream
Returns a new
Font using the specified font type and input data.
|
void |
Desktop.edit(File
Launches the associated editor application and opens a file for editing.
|
void |
Desktop.mail()
Launches the mail composing window of the user default mail client.
|
void |
Desktop.mail(URI
Launches the mail composing window of the user default mail client, filling the message fields specified by a
mailto: URI.
|
void |
Desktop.open(File
Launches the associated application to open the file.
|
void |
Desktop.print(File
Prints a file with the native desktop printing facility, using the associated application's print command.
|
protected static void |
AWTEventMulticaster.save(ObjectOutputStream
|
protected void |
AWTEventMulticaster.saveInternal(ObjectOutputStream
|
void |
SplashScreen.setImageURL(URL
Changes the splash screen image.
|
| Modifier and Type | Method and Description |
|---|---|
static ICC_Profile |
ICC_Profile.getInstance(InputStream
Constructs an ICC_Profile corresponding to the data in an InputStream.
|
static ICC_Profile |
ICC_Profile.getInstance(String
Constructs an ICC_Profile corresponding to the data in a file.
|
void |
ICC_Profile.write(OutputStream
Write this ICC_Profile to an OutputStream.
|
void |
ICC_Profile.write(String
Write this ICC_Profile to a file.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
Clipboard.getData(DataFlavor
Returns an object representing the current contents of this clipboard in the specified
DataFlavor.
|
Reader |
DataFlavor.getReaderForText(Transferable
Gets a Reader for a text flavor, decoded, if necessary, for the expected charset (encoding).
|
Object |
StringSelection.getTransferData(DataFlavor
Returns the
Transferable's data in the requested
DataFlavor if possible.
|
Object |
Transferable.getTransferData(DataFlavor
Returns an object which represents the data to be transferred.
|
void |
DataFlavor.readExternal(ObjectInput
Restores this
DataFlavor from a Serialized state.
|
void |
DataFlavor.writeExternal(ObjectOutput
Serializes this
DataFlavor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
DropTargetContext.TransferableProxy.getTransferData(DataFlavor
Returns an object which represents the data provided by the encapsulated transferable for the requested data flavor.
|
| Modifier and Type | Method and Description |
|---|---|
IOException |
PrinterIOException.getIOException()
Returns the
IOException that terminated the print job.
|
| Constructor and Description | |
|---|---|
PrinterIOException(IOException
Constructs a new
PrinterIOException with the string representation of the specified
IOException.
|
| Modifier and Type | Method and Description |
|---|---|
static Object |
Beans.instantiate(ClassLoader
Instantiate a JavaBean.
|
static Object |
Beans.instantiate(ClassLoader
Instantiate a JavaBean.
|
static Object |
Beans.instantiate(ClassLoader
Instantiate a bean.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BeanContextServicesSupport.bcsPreDeserializationHook(ObjectInputStream
called from BeanContextSupport readObject before it deserializes the children ...
|
protected void |
BeanContextSupport.bcsPreDeserializationHook(ObjectInputStream
called by readObject after defaultReadObject() but prior to deserialization of any children.
|
protected void |
BeanContextServicesSupport.bcsPreSerializationHook(ObjectOutputStream
called from BeanContextSupport writeObject before it serializes the children ...
|
protected void |
BeanContextSupport.bcsPreSerializationHook(ObjectOutputStream
called by writeObject after defaultWriteObject() but prior to serialization of currently serializable children.
|
protected void |
BeanContextSupport.deserialize(ObjectInputStream
used by readObject to deserialize a collection.
|
Object |
BeanContext.instantiateChild(String
Instantiate the javaBean named as a child of this
BeanContext.
|
Object |
BeanContextSupport.instantiateChild(String
The instantiateChild method is a convenience hook in BeanContext to simplify the task of instantiating a Bean, nested, into a
BeanContext.
|
void |
BeanContextSupport.readChildren(ObjectInputStream
When an instance of this class is used as a delegate for the implementation of the BeanContext protocols (and its subprotocols) there exists a 'chicken and egg' problem during deserialization
|
protected void |
BeanContextSupport.serialize(ObjectOutputStream
Used by writeObject to serialize a Collection.
|
void |
BeanContextSupport.writeChildren(ObjectOutputStream
Used to serialize all children of this
BeanContext.
|
| 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 string in
modified UTF-8 format 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 |
|---|---|
IOException |
UncheckedIOException.getCause()
Returns the cause of this exception.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ObjectOutputStream.annotateClass(Class
Subclasses may implement this method to allow class data to be stored in the stream.
|
protected void |
ObjectOutputStream.annotateProxyClass(Class
Subclasses may implement this method to store custom data in the stream along with descriptors for dynamic proxy classes.
|
Writer |
Writer.append(char c)
Appends the specified character to this writer.
|
Writer |
Writer.append(CharSequence
Appends the specified character sequence to this writer.
|
Writer |
Writer.append(CharSequence
Appends a subsequence of the specified character sequence to this writer.
|
int |
SequenceInputStream.available()
Returns an estimate of the number of bytes that can be read (or skipped over) from the current underlying input stream without blocking by the next invocation of a method for the current underlying input stream.
|
int |
ObjectInput.available()
Returns the number of bytes that can be read without blocking.
|
int |
BufferedInputStream.available()
Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream.
|
int |
PushbackInputStream.available()
Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream.
|
int |
ObjectInputStream.available()
Returns the number of bytes that can be read without blocking.
|
int |
InputStream.available()
Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream.
|
int |
PipedInputStream.available()
Returns the number of bytes that can be read from this input stream without blocking.
|
int |
LineNumberInputStream.available()
Deprecated.
Returns the number of bytes that can be read from this input stream without blocking.
|
int |
FileInputStream.available()
Returns an estimate of the number of remaining bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream.
|
int |
FilterInputStream.available()
Returns an estimate of 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.
|
void |
RandomAccessFile.close()
Closes this random access file stream and releases any system resources associated with the stream.
|
void |
InputStreamReader.close()
|
void |
PipedReader.close()
Closes this piped stream and releases any system resources associated with the stream.
|
void |
StringWriter.close()
Closing a
StringWriter has no effect.
|
void |
Closeable.close()
Closes this stream and releases any system resources associated with it.
|
void |
SequenceInputStream.close()
Closes this input stream and releases any system resources associated with the stream.
|
abstract void |
Writer.close()
Closes the stream, flushing it first.
|
void |
ByteArrayOutputStream.close()
Closing a
ByteArrayOutputStream has no effect.
|
void |
OutputStreamWriter.close()
|
abstract void |
Reader.close()
Closes the stream and releases any system resources associated with it.
|
void |
BufferedWriter.close()
|
void |
ObjectInput.close()
Closes the input stream.
|
void |
FilterWriter.close()
|
void |
ObjectOutputStream.close()
Closes the stream.
|
void |
BufferedInputStream.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 |
PushbackInputStream.close()
Closes this input stream and releases any system resources associated with the stream.
|
void |
ObjectInputStream.close()
Closes the input stream.
|
void |
InputStream.close()
Closes this input stream and releases any system resources associated with the stream.
|
void |
PushbackReader.close()
Closes the stream and releases any system resources associated with it.
|
void |
ObjectOutput.close()
Closes the stream.
|
void |
FilterReader.close()
|
void |
OutputStream.close()
Closes this output stream and releases any system resources associated with this stream.
|
void |
BufferedReader.close()
|
void |
PipedInputStream.close()
Closes this piped input stream and releases any system resources associated with the stream.
|
void |
FileInputStream.close()
Closes this file input 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 |
ByteArrayInputStream.close()
Closing a
ByteArrayInputStream has no effect.
|
void |
FilterInputStream.close()
Closes this input stream and releases any system resources associated with the stream.
|
void |
FilterOutputStream.close()
Closes this output 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 |
PipedOutputStream.connect(PipedInputStream
Connects this piped output stream to a receiver.
|
void |
PipedInputStream.connect(PipedOutputStream
Causes this piped input stream to be connected to the piped output stream
src.
|
void |
PipedWriter.connect(PipedReader
Connects this piped writer to a receiver.
|
void |
PipedReader.connect(PipedWriter
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
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
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
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()
Flushes the stream.
|
void |
OutputStreamWriter.flush()
Flushes the stream.
|
void |
BufferedWriter.flush()
Flushes the stream.
|
void |
DataOutputStream.flush()
Flushes this data output stream.
|
void |
FilterWriter.flush()
Flushes the stream.
|
void |
ObjectOutputStream.flush()
Flushes the stream.
|
void |
BufferedOutputStream.flush()
Flushes this buffered output stream.
|
void |
ObjectOutput.flush()
Flushes the stream.
|
void |
OutputStream.flush()
Flushes this output stream and forces any buffered output bytes to be written out.
|
void |
Flushable.flush()
Flushes this stream by writing any buffered output to the underlying stream.
|
void |
PipedOutputStream.flush()
Flushes this output stream and forces any buffered output bytes to be written out.
|
void |
FilterOutputStream.flush()
Flushes this output stream and forces any buffered output bytes to be written out to the stream.
|
void |
PipedWriter.flush()
Flushes this output stream and forces any buffered output characters to be written out.
|
abstract boolean |
ObjectInputStream.GetField.get(String
Get the value of the named boolean field from the persistent field.
|
abstract byte |
ObjectInputStream.GetField.get(String
Get the value of the named byte field from the persistent field.
|
abstract char |
ObjectInputStream.GetField.get(String
Get the value of the named char field from the persistent field.
|
abstract double |
ObjectInputStream.GetField.get(String
Get the value of the named double field from the persistent field.
|
abstract float |
ObjectInputStream.GetField.get(String
Get the value of the named float field from the persistent field.
|
abstract int |
ObjectInputStream.GetField.get(String
Get the value of the named int field from the persistent field.
|
abstract long |
ObjectInputStream.GetField.get(String
Get the value of the named long field from the persistent field.
|
abstract Object |
ObjectInputStream.GetField.get(String
Get the value of the named Object field from the persistent field.
|
abstract short |
ObjectInputStream.GetField.get(String
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.
|
java |
RandomAccessFile.getFD()
Returns the opaque file descriptor object associated with this stream.
|
java |
FileOutputStream.getFD()
Returns the file descriptor associated with this stream.
|
java |
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 |
CharArrayReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
void |
Reader.mark(int readAheadLimit)
Marks the present position in the stream.
|
void |
StringReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
void |
PushbackReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
void |
LineNumberReader.mark(int readAheadLimit)
Mark the present position in the stream.
|
void |
FilterReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
void |
BufferedReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
void |
BufferedWriter.newLine()
Writes a line separator.
|
int |
StreamTokenizer.nextToken()
Parses the next token from the input stream of this tokenizer.
|
ObjectOutputStream |
ObjectOutputStream.putFields()
Retrieve the object used to buffer persistent fields to be written to the stream.
|
int |
RandomAccessFile.read()
Reads a byte of data from this file.
|
int |
InputStreamReader.read()
Reads a single character.
|
int |
PipedReader.read()
Reads the next character of data from this piped stream.
|
int |
SequenceInputStream.read()
Reads the next byte of data from this input stream.
|
int |
CharArrayReader.read()
Reads a single character.
|
int |
Reader.read()
Reads a single character.
|
int |
ObjectInput.read()
Reads a byte of data.
|
int |
StringReader.read()
Reads a single character.
|
int |
BufferedInputStream.read()
See the general contract of the
read method of
InputStream.
|
int |
PushbackInputStream.read()
Reads the next byte of data from this input stream.
|
int |
ObjectInputStream.read()
Reads a byte of data.
|
abstract int |
InputStream.read()
Reads the next byte of data from the input stream.
|
int |
PushbackReader.read()
Reads a single character.
|
int |
LineNumberReader.read()
Read a single character.
|
int |
FilterReader.read()
Reads a single character.
|
int |
BufferedReader.read()
Reads a single character.
|
int |
PipedInputStream.read()
Reads the next byte of data from this piped input stream.
|
int |
LineNumberInputStream.read()
Deprecated.
Reads the next byte of data from this input stream.
|
int |
FileInputStream.read()
Reads a byte of data from this input stream.
|
int |
FilterInputStream.read()
Reads the next byte of data from this input stream.
|
int |
RandomAccessFile.read(byte[] b)
Reads up to
b.length bytes of data from this file 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 |
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 |
FileInputStream.read(byte[] b)
Reads up to
b.length bytes of data from this input stream into an array of bytes.
|
int |
FilterInputStream.read(byte[] b)
Reads up to
byte.length 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 |
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 |
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 |
ObjectInput.read(byte[] b, int off, int len)
Reads 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 |
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 |
ObjectInputStream.read(byte[] buf, 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 |
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 |
LineNumberInputStream.read(byte[] b, int off, int len)
Deprecated.
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 |
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 |
Reader.read(char[] cbuf)
Reads characters into an array.
|
int |
InputStreamReader.read(char[] cbuf, int offset, int length)
Reads 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 |
CharArrayReader.read(char[] b, int off, int len)
Reads characters into a portion of an array.
|
abstract int |
Reader.read(char[] cbuf, int off, int len)
Reads characters into a portion of an array.
|
int |
StringReader.read(char[] cbuf, int off, int len)
Reads characters into a portion of an array.
|
int |
PushbackReader.read(char[] cbuf, int off, int len)
Reads characters into a portion of an array.
|
int |
LineNumberReader.read(char[] cbuf, int off, int len)
Read characters into a portion of an array.
|
int |
FilterReader.read(char[] cbuf, int off, int len)
Reads characters into a portion of an array.
|
int |
BufferedReader.read(char[] cbuf, int off, int len)
Reads characters into a portion of an array.
|
int |
Reader.read(CharBuffer
Attempts to read characters into the specified character buffer.
|
boolean |
RandomAccessFile.readBoolean()
Reads a
boolean from this file.
|
boolean |
DataInputStream.readBoolean()
See the general contract of the
readBoolean method of
DataInput.
|
boolean |
ObjectInputStream.readBoolean()
Reads in a boolean.
|
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 |
DataInputStream.readByte()
See the general contract of the
readByte method of
DataInput.
|
byte |
ObjectInputStream.readByte()
Reads an 8 bit byte.
|
byte |
DataInput.readByte()
Reads and returns one input byte.
|
char |
RandomAccessFile.readChar()
Reads a character from this file.
|
char |
DataInputStream.readChar()
See the general contract of the
readChar method of
DataInput.
|
char |
ObjectInputStream.readChar()
Reads a 16 bit char.
|
char |
DataInput.readChar()
Reads two input bytes and returns a
char value.
|
protected ObjectStreamClass |
ObjectInputStream.readClassDescriptor()
Read a class descriptor from the serialization stream.
|
double |
RandomAccessFile.readDouble()
Reads a
double from this file.
|
double |
DataInputStream.readDouble()
See the general contract of the
readDouble method of
DataInput.
|
double |
ObjectInputStream.readDouble()
Reads a 64 bit double.
|
double |
DataInput.readDouble()
Reads eight input bytes and returns a
double value.
|
void |
Externalizable.readExternal(ObjectInput
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 |
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 |
DataInputStream.readFloat()
See the general contract of the
readFloat method of
DataInput.
|
float |
ObjectInputStream.readFloat()
Reads a 32 bit float.
|
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 |
DataInputStream.readFully(byte[] b)
See the general contract of the
readFully method of
DataInput.
|
void |
ObjectInputStream.readFully(byte[] buf)
Reads bytes, blocking until all bytes are read.
|
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 |
DataInputStream.readFully(byte[] b, int off, int len)
See the general contract of the
readFully method of
DataInput.
|
void |
ObjectInputStream.readFully(byte[] buf, int off, int len)
Reads bytes, blocking until all bytes are read.
|
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 |
DataInputStream.readInt()
See the general contract of the
readInt method of
DataInput.
|
int |
ObjectInputStream.readInt()
Reads a 32 bit int.
|
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 |
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 |
ObjectInputStream.readLine()
Deprecated.
This method does not properly convert bytes to characters. see DataInputStream for the details and alternatives.
|
String |
DataInput.readLine()
Reads the next line of text from the input stream.
|
String |
LineNumberReader.readLine()
Read a line of text.
|
String |
BufferedReader.readLine()
Reads a line of text.
|
long |
RandomAccessFile.readLong()
Reads a signed 64-bit integer from this file.
|
long |
DataInputStream.readLong()
See the general contract of the
readLong method of
DataInput.
|
long |
ObjectInputStream.readLong()
Reads a 64 bit long.
|
long |
DataInput.readLong()
Reads eight input bytes and returns a
long value.
|
Object |
ObjectInput.readObject()
Read and return an object.
|
Object |
ObjectInputStream.readObject()
Read an object from the ObjectInputStream.
|
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 |
DataInputStream.readShort()
See the general contract of the
readShort method of
DataInput.
|
short |
ObjectInputStream.readShort()
Reads a 16 bit short.
|
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 |
DataInputStream.readUnsignedByte()
See the general contract of the
readUnsignedByte method of
DataInput.
|
int |
ObjectInputStream.readUnsignedByte()
Reads an unsigned 8 bit byte.
|
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 |
DataInputStream.readUnsignedShort()
See the general contract of the
readUnsignedShort method of
DataInput.
|
int |
ObjectInputStream.readUnsignedShort()
Reads an unsigned 16 bit short.
|
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 |
DataInputStream.readUTF()
See the general contract of the
readUTF method of
DataInput.
|
String |
ObjectInputStream.readUTF()
Reads a String in
modified UTF-8 format.
|
String |
DataInput.readUTF()
Reads in a string that has been encoded using a
modified UTF-8 format.
|
static String |
DataInputStream.readUTF(DataInput
Reads from the stream
in a representation of a Unicode character string encoded in
modified UTF-8 format; this string of characters is then returned as a
String.
|
boolean |
InputStreamReader.ready()
Tells whether this stream is ready to be read.
|
boolean |
PipedReader.ready()
Tell whether this stream is ready to be read.
|
boolean |
CharArrayReader.ready()
Tells whether this stream is ready to be read.
|
boolean |
Reader.ready()
Tells whether this stream is ready to be read.
|
boolean |
StringReader.ready()
Tells whether this stream is ready to be read.
|
boolean |
PushbackReader.ready()
Tells whether this stream is ready to be read.
|
boolean |
FilterReader.ready()
Tells whether this stream is ready to be read.
|
boolean |
BufferedReader.ready()
Tells whether this stream is ready to be read.
|
protected void |
PipedInputStream.receive(int b)
Receives a byte of data.
|
protected Object |
ObjectOutputStream.replaceObject(Object
This method will allow trusted subclasses of ObjectOutputStream to substitute one object for another during serialization.
|
void |
CharArrayReader.reset()
Resets the stream to the most recent mark, or to the beginning if it has never been marked.
|
void |
Reader.reset()
Resets the stream.
|
void |
StringReader.reset()
Resets the stream to the most recent mark, or to the beginning of the string if it has never been marked.
|
void |
ObjectOutputStream.reset()
Reset will disregard the state of any objects already written to the stream.
|
void |
BufferedInputStream.reset()
See the general contract of the
reset method of
InputStream.
|
void |
PushbackInputStream.reset()
Repositions this stream to the position at the time the
mark method was last called on this input stream.
|
void |
InputStream.reset()
Repositions this stream to the position at the time the
mark method was last called on this input stream.
|
void |
PushbackReader.reset()
Resets the stream.
|
void |
LineNumberReader.reset()
Reset the stream to the most recent mark.
|
void |
FilterReader.reset()
Resets the stream.
|
void |
BufferedReader.reset()
Resets the stream to the most recent mark.
|
void |
LineNumberInputStream.reset()
Deprecated.
Repositions this stream to the position at the time the
mark method was last called on this input stream.
|
void |
FilterInputStream.reset()
Repositions this stream to the position at the time the
mark method was last called on this input stream.
|
protected Class |
ObjectInputStream.resolveClass(ObjectStreamClass
Load the local class equivalent of the specified stream class description.
|
protected Object |
ObjectInputStream.resolveObject(Object
This method will allow trusted subclasses of ObjectInputStream to substitute one object for another during deserialization.
|
protected Class |
ObjectInputStream.resolveProxyClass(String
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 |
CharArrayReader.skip(long n)
Skips characters.
|
long |
Reader.skip(long n)
Skips characters.
|
long |
ObjectInput.skip(long n)
Skips n bytes of input.
|
long |
StringReader.skip(long ns)
Skips the specified number of characters in the stream.
|
long |
BufferedInputStream.skip(long n)
See the general contract of the
skip method of
InputStream.
|
long |
PushbackInputStream.skip(long n)
Skips over and discards
n bytes of data from this input stream.
|
long |
InputStream.skip(long n)
Skips over and discards
n bytes of data from this input stream.
|
long |
PushbackReader.skip(long n)
Skips characters.
|
long |
LineNumberReader.skip(long n)
Skip characters.
|
long |
FilterReader.skip(long n)
Skips characters.
|
long |
BufferedReader.skip(long n)
Skips characters.
|
long |
LineNumberInputStream.skip(long n)
Deprecated.
Skips over and discards
n bytes of data from this input stream.
|
long |
FileInputStream.skip(long n)
Skips over and discards
n bytes of data from the input stream.
|
long |
FilterInputStream.skip(long n)
Skips over and discards
n bytes of data from the input stream.
|
int |
RandomAccessFile.skipBytes(int n)
Attempts to skip over
n bytes of input discarding the skipped bytes.
|
int |
DataInputStream.skipBytes(int n)
See the general contract of the
skipBytes method of
DataInput.
|
int |
ObjectInputStream.skipBytes(int len)
Skips bytes.
|
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)
Pushes back an array of characters by copying it to the front of the pushback buffer.
|
void |
PushbackReader.unread(char[] cbuf, int off, int len)
Pushes back a portion of an array of characters by copying it to the front of the pushback buffer.
|
void |
PushbackInputStream.unread(int b)
Pushes back a byte by copying it to the front of the pushback buffer.
|
void |
PushbackReader.unread(int c)
Pushes back a single character 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 |
ObjectOutputStream.write(byte[] buf)
Writes an array of bytes.
|
void |
FileOutputStream.write(byte[] b)
Writes
b.length bytes from the specified byte array to this file output stream.
|
void |
ObjectOutput.write(byte[] b)
Writes an array of bytes.
|
void |
OutputStream.write(byte[] b)
Writes
b.length bytes from the specified byte array to this output stream.
|
void |
DataOutput.write(byte[] b)
Writes to the output stream all the bytes in array
b.
|
void |
FilterOutputStream.write(byte[] b)
Writes
b.length bytes to this output stream.
|
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 |
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 |
ObjectOutputStream.write(byte[] buf, int off, int len)
Writes a sub array of bytes.
|
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 |
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 |
ObjectOutput.write(byte[] b, int off, int len)
Writes a sub array of bytes.
|
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 |
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 |
DataOutput.write(byte[] b, int off, int len)
Writes
len bytes from array
b, in order, to the output stream.
|
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 |
Writer.write(char[] cbuf)
Writes an array of characters.
|
abstract void |
Writer.write(char[] cbuf, int off, int len)
Writes a portion of an array of characters.
|
void |
OutputStreamWriter.write(char[] cbuf, int off, int len)
Writes a portion of an array of characters.
|
void |
BufferedWriter.write(char[] cbuf, int off, int len)
Writes a portion of an array of characters.
|
void |
FilterWriter.write(char[] cbuf, int off, int len)
Writes 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 |
RandomAccessFile.write(int b)
Writes the specified byte to this file.
|
void |
Writer.write(int c)
Writes a single character.
|
void |
OutputStreamWriter.write(int c)
Writes a single character.
|
void |
BufferedWriter.write(int c)
Writes a single character.
|
void |
DataOutputStream.write(int b)
Writes the specified byte (the low eight bits of the argument
b) to the underlying output stream.
|
void |
FilterWriter.write(int c)
Writes a single character.
|
void |
ObjectOutputStream.write(int val)
Writes a byte.
|
void |
FileOutputStream.write(int b)
Writes the specified byte to this file output stream.
|
void |
BufferedOutputStream.write(int b)
Writes the specified byte to this buffered output stream.
|
void |
ObjectOutput.write(int b)
Writes a byte.
|
abstract void |
OutputStream.write(int b)
Writes the specified byte to this output stream.
|
void |
PipedOutputStream.write(int b)
Writes the specified
byte to the piped output stream.
|
void |
DataOutput.write(int b)
Writes to the output stream the eight low-order bits of the argument
b.
|
void |
FilterOutputStream.write(int b)
Writes the specified
byte to this output stream.
|
void |
PipedWriter.write(int c)
Writes the specified
char to the piped output stream.
|
abstract void |
ObjectOutputStream.PutField.write(ObjectOutput
Deprecated.
This method does not write the values contained by this
PutField object in a proper format, and may result in corruption of the serialization stream. The correct way to write PutField data is by calling the ObjectOutputStream method.
|
void |
Writer.write(String
Writes a string.
|
void |
Writer.write(String
Writes a portion of a string.
|
void |
OutputStreamWriter.write(String
Writes a portion of a string.
|
void |
BufferedWriter.write(String
Writes a portion of a String.
|
void |
FilterWriter.write(String
Writes a portion of a string.
|
void |
RandomAccessFile.writeBoolean(boolean v)
Writes a
boolean to the file as a one-byte value.
|
void |
DataOutputStream.writeBoolean(boolean v)
Writes a
boolean to the underlying output stream as a 1-byte value.
|
void |
ObjectOutputStream.writeBoolean(boolean val)
Writes a boolean.
|
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 |
DataOutputStream.writeByte(int v)
Writes out a
byte to the underlying output stream as a 1-byte value.
|
void |
ObjectOutputStream.writeByte(int val)
Writes an 8 bit byte.
|
void |
DataOutput.writeByte(int v)
Writes to the output stream the eight low- order bits of the argument
v.
|
void |
RandomAccessFile.writeBytes(String
Writes the string to the file as a sequence of bytes.
|
void |
DataOutputStream.writeBytes(String
Writes out the string to the underlying output stream as a sequence of bytes.
|
void |
ObjectOutputStream.writeBytes(String
Writes a String as a sequence of bytes.
|
void |
DataOutput.writeBytes(String
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 |
DataOutputStream.writeChar(int v)
Writes a
char to the underlying output stream as a 2-byte value, high byte first.
|
void |
ObjectOutputStream.writeChar(int val)
Writes a 16 bit char.
|
void |
DataOutput.writeChar(int v)
Writes a
char value, which is comprised of two bytes, to the output stream.
|
void |
RandomAccessFile.writeChars(String
Writes a string to the file as a sequence of characters.
|
void |
DataOutputStream.writeChars(String
Writes a string to the underlying output stream as a sequence of characters.
|
void |
ObjectOutputStream.writeChars(String
Writes a String as a sequence of chars.
|
void |
DataOutput.writeChars(String
Writes every character in the string
s, to the output stream, in order, two bytes per character.
|
protected void |
ObjectOutputStream.writeClassDescriptor(ObjectStreamClass
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 |
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 |
ObjectOutputStream.writeDouble(double val)
Writes a 64 bit double.
|
void |
DataOutput.writeDouble(double v)
Writes a
double value, which is comprised of eight bytes, to the output stream.
|
void |
Externalizable.writeExternal(ObjectOutput
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 |
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 |
ObjectOutputStream.writeFloat(float val)
Writes a 32 bit float.
|
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 |
DataOutputStream.writeInt(int v)
Writes an
int to the underlying output stream as four bytes, high byte first.
|
void |
ObjectOutputStream.writeInt(int val)
Writes a 32 bit int.
|
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 |
DataOutputStream.writeLong(long v)
Writes a
long to the underlying output stream as eight bytes, high byte first.
|
void |
ObjectOutputStream.writeLong(long val)
Writes a 64 bit long.
|
void |
DataOutput.writeLong(long v)
Writes a
long value, which is comprised of eight bytes, to the output stream.
|
void |
ObjectOutputStream.writeObject(Object
Write the specified object to the ObjectOutputStream.
|
void |
ObjectOutput.writeObject(Object
Write an object to the underlying storage or stream.
|
protected void |
ObjectOutputStream.writeObjectOverride(Object
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 |
DataOutputStream.writeShort(int v)
Writes a
short to the underlying output stream as two bytes, high byte first.
|
void |
ObjectOutputStream.writeShort(int val)
Writes a 16 bit short.
|
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
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
Writes the contents of the buffer to another character stream.
|
void |
ObjectOutputStream.writeUnshared(Object
Writes an "unshared" object to the ObjectOutputStream.
|
void |
RandomAccessFile.writeUTF(String
Writes a string to the file using
modified UTF-8 encoding in a machine-independent manner.
|
void |
DataOutputStream.writeUTF(String
Writes a string to the underlying output stream using
modified UTF-8 encoding in a machine-independent manner.
|
void |
ObjectOutputStream.writeUTF(String
Primitive data write of this String in
modified UTF-8 format.
|
void |
DataOutput.writeUTF(String
Writes two bytes of length information to the output stream, followed by the
modified UTF-8 representation of every character in the string
s.
|
| Constructor and Description | |
|---|---|
UncheckedIOException(IOException
Constructs an instance of this class.
|
|
UncheckedIOException(String
Constructs an instance of this class.
|
| Constructor and Description | |
|---|---|
FileWriter(File
Constructs a FileWriter object given a File object.
|
|
FileWriter(File
Constructs a FileWriter object given a File object.
|
|
FileWriter(String
Constructs a FileWriter object given a file name.
|
|
FileWriter(String
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
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
Creates an ObjectOutputStream that writes to the specified OutputStream.
|
|
PipedInputStream(PipedOutputStream
Creates a
PipedInputStream so that it is connected to the piped output stream
src.
|
|
PipedInputStream(PipedOutputStream
Creates a
PipedInputStream so that it is connected to the piped output stream
src and uses the specified pipe size for the pipe's buffer.
|
|
PipedOutputStream(PipedInputStream
Creates a piped output stream connected to the specified piped input stream.
|
|
PipedReader(PipedWriter
Creates a
PipedReader so that it is connected to the piped writer
src.
|
|
PipedReader(PipedWriter
Creates a
PipedReader so that it is connected to the piped writer
src and uses the specified pipe size for the pipe's buffer.
|
|
PipedWriter(PipedReader
Creates a piped writer connected to the specified piped reader.
|
| Modifier and Type | Method and Description |
|---|---|
Appendable |
Appendable.append(char c)
Appends the specified character to this
Appendable.
|
Appendable |
Appendable.append(CharSequence
Appends the specified character sequence to this
Appendable.
|
Appendable |
Appendable.append(CharSequence
Appends a subsequence of the specified character sequence to this
Appendable.
|
Process |
Runtime.exec(String
Executes the specified string command in a separate process.
|
Process |
Runtime.exec(String
Executes the specified command and arguments in a separate process.
|
Process |
Runtime.exec(String
Executes the specified command and arguments in a separate process with the specified environment.
|
Process |
Runtime.exec(String
Executes the specified command and arguments in a separate process with the specified environment and working directory.
|
Process |
Runtime.exec(String
Executes the specified string command in a separate process with the specified environment.
|
Process |
Runtime.exec(String
Executes the specified string command in a separate process with the specified environment and working directory.
|
protected Enumeration |
ClassLoader.findResources(String
Returns an enumeration of
URL objects representing all the resources with the given name.
|
Enumeration |
ClassLoader.getResources(String
Finds all the resources with the given name.
|
static Enumeration |
ClassLoader.getSystemResources(String
Finds all resources of the specified name from the search path used to load classes.
|
static Channel |
System.inheritedChannel()
Returns the channel inherited from the entity that created this Java virtual machine.
|
int |
Readable.read(CharBuffer
Attempts to read characters into the specified character buffer.
|
Process |
ProcessBuilder.start()
Starts a new process using the attributes of this process builder.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends PlatformManagedObject |
ManagementFactory.getPlatformMXBean(MBeanServerConnection
Returns the platform MXBean proxy for
mxbeanInterface which is specified to have one single instance in a Java virtual machine and the proxy will forward the method calls through the given
MBeanServerConnection.
|
static <T extends PlatformManagedObject |
ManagementFactory.getPlatformMXBeans(MBeanServerConnection
Returns the list of the platform MXBean proxies for forwarding the method calls of the
mxbeanInterface through the given
MBeanServerConnection.
|
static <T> T |
ManagementFactory.newPlatformMXBeanProxy(MBeanServerConnection
Returns a proxy for a platform MXBean interface of a given
MXBean name that forwards its method calls through the given
MBeanServerConnection.
|
| 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 |
HttpRetryException
Thrown to indicate that a HTTP request needs to be retried but cannot be retried automatically, due to streaming mode being enabled.
|
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 creating or accessing a Socket.
|
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 |
|---|---|
abstract void |
ProxySelector.connectFailed(URI
Called to indicate that a connection could not be established to a proxy/socks server.
|
| 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
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
Binds this socket to the specified local IP address and port number.
|
void |
Socket.bind(SocketAddress
Binds the socket to a local address.
|
void |
ServerSocket.bind(SocketAddress
Binds the
ServerSocket to a specific address (IP address and port number).
|
void |
ServerSocket.bind(SocketAddress
Binds the
ServerSocket to a specific address (IP address and port number).
|
void |
Socket.close()
Closes this socket.
|
void |
URLClassLoader.close()
Closes this URLClassLoader, so that it can no longer be used to load new classes or resources that are defined by this loader.
|
void |
ServerSocket.close()
Closes this socket.
|
protected abstract void |
SocketImpl.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
Connects this socket to the specified port number on the specified host.
|
void |
Socket.connect(SocketAddress
Connects this socket to the server.
|
void |
Socket.connect(SocketAddress
Connects this socket to the server with a specified timeout value.
|
protected abstract void |
SocketImpl.connect(SocketAddress
Connects this socket to the specified port number on the specified host.
|
protected abstract void |
SocketImpl.connect(String
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
Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name.
|
Map |
CookieManager.get(URI
|
abstract Map |
CookieHandler.get(URI
Gets all the applicable cookies from a cookie cache for the specified uri in the request header.
|
abstract CacheResponse |
ResponseCache.get(URI
Retrieve the cached response based on the requesting uri, request method and request headers.
|
Attributes |
JarURLConnection.getAttributes()
Return the Attributes object for this connection if the URL for it points to a JAR file entry, null otherwise.
|
abstract InputStream |
CacheResponse.getBody()
Returns the response body as an InputStream.
|
abstract OutputStream |
CacheRequest.getBody()
Returns an OutputStream to which the response body can be written.
|
Certificate |
JarURLConnection.getCertificates()
Return the Certificate object for this connection if the URL for it points to a JAR file entry, null otherwise.
|
Object |
URL.getContent()
Gets the contents of this URL.
|
Object |
URLConnection.getContent()
Retrieves the contents of this URL connection.
|
Object |
URL.getContent(Class
Gets the contents of this URL.
|
Object |
URLConnection.getContent(Class
Retrieves the contents of this URL connection.
|
abstract Object |
ContentHandler.getContent(URLConnection
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
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.
|
abstract Map |
CacheResponse.getHeaders()
Returns the response headers as a Map.
|
InputStream |
Socket.getInputStream()
Returns an input stream for this socket.
|
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.
|
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 |
Socket.getOutputStream()
Returns an output stream for this socket.
|
OutputStream |
URLConnection.getOutputStream()
Returns an output stream that writes to this connection.
|
protected abstract OutputStream |
SocketImpl.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()
Returns a
SocketPermission object representing the permission necessary to connect to the destination host and port.
|
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()
Retrieve 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.
|
byte |
MulticastSocket.getTTL()
Deprecated.
use the getTimeToLive method instead, which returns an int instead of a byte.
|
protected abstract byte |
DatagramSocketImpl.getTTL()
Deprecated.
use getTimeToLive instead.
|
static String |
URLConnection.guessContentTypeFromStream(InputStream
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
Subclasses of ServerSocket use this method to override accept() to return their own subclass of socket.
|
boolean |
InetAddress.isReachable(int timeout)
Test whether that address is reachable.
|
boolean |
InetAddress.isReachable(NetworkInterface
Test whether that address is reachable.
|
protected abstract void |
DatagramSocketImpl.join(InetAddress
Join the multicast group.
|
void |
MulticastSocket.joinGroup(InetAddress
Joins a multicast group.
|
void |
MulticastSocket.joinGroup(SocketAddress
Joins the specified multicast group at the specified interface.
|
protected abstract void |
DatagramSocketImpl.joinGroup(SocketAddress
Join the multicast group.
|
protected abstract void |
DatagramSocketImpl.leave(InetAddress
Leave the multicast group.
|
void |
MulticastSocket.leaveGroup(InetAddress
Leave a multicast group.
|
void |
MulticastSocket.leaveGroup(SocketAddress
Leave a multicast group on a specified local interface.
|
protected abstract void |
DatagramSocketImpl.leaveGroup(SocketAddress
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 instance that represents a connection to the remote object referred to by the
URL.
|
URLConnection |
URL.openConnection(Proxy
Same as
URL, except that the connection will be made through the specified proxy; Protocol handlers that do not support proxing will ignore the proxy parameter and make a normal connection.
|
protected abstract URLConnection |
URLStreamHandler.openConnection(URL
Opens a connection to the object referenced by the
URL argument.
|
protected URLConnection |
URLStreamHandler.openConnection(URL
Same as openConnection(URL), except that the connection will be made through the specified proxy; Protocol handlers that do not support proxying will ignore the proxy parameter and make a normal connection.
|
InputStream |
URL.openStream()
Opens a connection to this
URL and returns an
InputStream for reading from that connection.
|
protected abstract int |
DatagramSocketImpl.peek(InetAddress
Peek at the packet to see who it is from.
|
protected abstract int |
DatagramSocketImpl.peekData(DatagramPacket
Peek at the packet to see who it is from.
|
void |
CookieManager.put(URI
|
abstract void |
CookieHandler.put(URI
Sets all the applicable cookies, examples are response header fields that are named Set-Cookie2, present in the response headers into a cookie cache.
|
abstract CacheRequest |
ResponseCache.put(URI
The protocol handler calls this method after a resource has been retrieved, and the ResponseCache must decide whether or not to store the resource in its cache.
|
void |
DatagramSocket.receive(DatagramPacket
Receives a datagram packet from this socket.
|
protected abstract void |
DatagramSocketImpl.receive(DatagramPacket
Receive the datagram packet.
|
void |
DatagramSocket.send(DatagramPacket
Sends a datagram packet from this socket.
|
protected abstract void |
DatagramSocketImpl.send(DatagramPacket
Sends a datagram packet.
|
void |
MulticastSocket.send(DatagramPacket
Deprecated.
Use the following code or its equivalent instead: ...... int ttl = mcastSocket.getTimeToLive(); mcastSocket.setTimeToLive(newttl); mcastSocket.send(p); mcastSocket.setTimeToLive(ttl); ......
|
void |
Socket.sendUrgentData(int data)
Send one byte of urgent data on the socket.
|
protected abstract void |
SocketImpl.sendUrgentData(int data)
Send one byte of urgent data on the socket.
|
static void |
DatagramSocket.setDatagramSocketImplFactory(DatagramSocketImplFactory
Sets the datagram socket implementation factory for the application.
|
static void |
ServerSocket.setSocketFactory(SocketImplFactory
Sets the server socket implementation factory for the application.
|
static void |
Socket.setSocketImplFactory(SocketImplFactory
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.
|
void |
MulticastSocket.setTTL(byte ttl)
Deprecated.
use the setTimeToLive method instead, which uses int instead of byte as the type for ttl.
|
protected abstract void |
DatagramSocketImpl.setTTL(byte ttl)
Deprecated.
use setTimeToLive instead.
|
void |
Socket.shutdownInput()
Places the input stream for this socket at "end of stream".
|
protected void |
SocketImpl.shutdownInput()
Places the input stream for this socket at "end of stream".
|
void |
Socket.shutdownOutput()
Disables the output stream for this socket.
|
protected void |
SocketImpl.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
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
Create a server with the specified port, listen backlog, and local IP address to bind to.
|
|
Socket(InetAddress
Creates a stream socket and connects it to the specified port number at the specified IP address.
|
|
Socket(InetAddress
Deprecated.
Use DatagramSocket instead for UDP transport.
|
|
Socket(InetAddress
Creates a socket and connects it to the specified remote address on the specified remote port.
|
|
Socket(String
Creates a stream socket and connects it to the specified port number on the named host.
|
|
Socket(String
Deprecated.
Use DatagramSocket instead for UDP transport.
|
|
Socket(String
Creates a socket and connects it to the specified remote host on the specified remote port.
|
| Modifier and Type | Method and Description |
|---|---|
int |
CharBuffer.read(CharBuffer
Attempts to read characters into the specified character buffer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AsynchronousCloseException
Checked exception received by a thread when another thread closes the channel or the part of the channel upon which it is blocked in an I/O operation.
|
class |
ClosedByInterruptException
Checked exception received by a thread when another thread interrupts it while it is blocked in an I/O operation upon a channel.
|
class |
ClosedChannelException
Checked exception thrown when an attempt is made to invoke or complete an I/O operation upon channel that is closed, or at least closed to that operation.
|
class |
FileLockInterruptionException
Checked exception received by a thread when another thread interrupts it while it is waiting to acquire a file lock.
|
class |
InterruptedByTimeoutException
Checked exception received by a thread when a timeout elapses before an asynchronous operation completes.
|
| Modifier and Type | Method and Description |
|---|---|
abstract SocketChannel |
ServerSocketChannel.accept()
Accepts a connection made to this channel's socket.
|
abstract DatagramChannel |
DatagramChannel.bind(SocketAddress
|
ServerSocketChannel |
ServerSocketChannel.bind(SocketAddress
Binds the channel's socket to a local address and configures the socket to listen for connections.
|
AsynchronousServerSocketChannel |
AsynchronousServerSocketChannel.bind(SocketAddress
Binds the channel's socket to a local address and configures the socket to listen for connections.
|
abstract AsynchronousSocketChannel |
AsynchronousSocketChannel.bind(SocketAddress
|
abstract SocketChannel |
SocketChannel.bind(SocketAddress
|
NetworkChannel |
NetworkChannel.bind(SocketAddress
Binds the channel's socket to a local address.
|
abstract ServerSocketChannel |
ServerSocketChannel.bind(SocketAddress
Binds the channel's socket to a local address and configures the socket to listen for connections.
|
abstract AsynchronousServerSocketChannel |
AsynchronousServerSocketChannel.bind(SocketAddress
Binds the channel's socket to a local address and configures the socket to listen for connections.
|
abstract MembershipKey |
MembershipKey.block(InetAddress
Block multicast datagrams from the given source address.
|
void |
FileLock.close()
This method invokes the
FileLock method.
|
void |
AsynchronousChannel.close()
Closes this channel.
|
void |
Channel.close()
Closes this channel.
|
void |
MulticastChannel.close()
Closes this channel.
|
abstract void |
Selector.close()
Closes this selector.
|
void |
InterruptibleChannel.close()
Closes this channel.
|
abstract SelectableChannel |
SelectableChannel.configureBlocking(boolean block)
Adjusts this channel's blocking mode.
|
abstract DatagramChannel |
DatagramChannel.connect(SocketAddress
Connects this channel's socket.
|
abstract boolean |
SocketChannel.connect(SocketAddress
Connects this channel's socket.
|
abstract DatagramChannel |
DatagramChannel.disconnect()
Disconnects this channel's socket.
|
abstract boolean |
SocketChannel.finishConnect()
Finishes the process of connecting a socket channel.
|
abstract void |
FileChannel.force(boolean metaData)
Forces any updates to this channel's file to be written to the storage device that contains it.
|
abstract void |
AsynchronousFileChannel.force(boolean metaData)
Forces any updates to this channel's file to be written to the storage device that contains it.
|
abstract SocketAddress |
DatagramChannel.getLocalAddress()
Returns the socket address that this channel's socket is bound to.
|
abstract SocketAddress |
ServerSocketChannel.getLocalAddress()
Returns the socket address that this channel's socket is bound to.
|
abstract SocketAddress |
AsynchronousServerSocketChannel.getLocalAddress()
Returns the socket address that this channel's socket is bound to.
|
abstract SocketAddress |
AsynchronousSocketChannel.getLocalAddress()
Returns the socket address that this channel's socket is bound to.
|
abstract SocketAddress |
SocketChannel.getLocalAddress()
Returns the socket address that this channel's socket is bound to.
|
SocketAddress |
NetworkChannel.getLocalAddress()
Returns the socket address that this channel's socket is bound to.
|
<T> T |
NetworkChannel.getOption(SocketOption
Returns the value of a socket option.
|
abstract SocketAddress |
DatagramChannel.getRemoteAddress()
Returns the remote address to which this channel's socket is connected.
|
abstract SocketAddress |
AsynchronousSocketChannel.getRemoteAddress()
Returns the remote address to which this channel's socket is connected.
|
abstract SocketAddress |
SocketChannel.getRemoteAddress()
Returns the remote address to which this channel's socket is connected.
|
MembershipKey |
MulticastChannel.join(InetAddress
Joins a multicast group to begin receiving all datagrams sent to the group, returning a membership key.
|
MembershipKey |
MulticastChannel.join(InetAddress
Joins a multicast group to begin receiving datagrams sent to the group from a given source address.
|
FileLock |
FileChannel.lock()
Acquires an exclusive lock on this channel's file.
|
abstract FileLock |
FileChannel.lock(long position, long size, boolean shared)
Acquires a lock on the given region of this channel's file.
|
abstract MappedByteBuffer |
FileChannel.map(FileChannel
Maps a region of this channel's file directly into memory.
|
static DatagramChannel |
DatagramChannel.open()
Opens a datagram channel.
|
static ServerSocketChannel |
ServerSocketChannel.open()
Opens a server-socket channel.
|
static Pipe |
Pipe.open()
Opens a pipe.
|
static AsynchronousServerSocketChannel |
AsynchronousServerSocketChannel.open()
Opens an asynchronous server-socket channel.
|
static AsynchronousSocketChannel |
AsynchronousSocketChannel.open()
Opens an asynchronous socket channel.
|
static SocketChannel |
SocketChannel.open()
Opens a socket channel.
|
static Selector |
Selector.open()
Opens a selector.
|
static AsynchronousServerSocketChannel |
AsynchronousServerSocketChannel.open(AsynchronousChannelGroup
Opens an asynchronous server-socket channel.
|
static AsynchronousSocketChannel |
AsynchronousSocketChannel.open(AsynchronousChannelGroup
Opens an asynchronous socket channel.
|
static FileChannel |
FileChannel.open(Path
Opens or creates a file, returning a file channel to access the file.
|
static AsynchronousFileChannel |
AsynchronousFileChannel.open(Path
Opens or creates a file for reading and/or writing, returning an asynchronous file channel to access the file.
|
static AsynchronousFileChannel |
AsynchronousFileChannel.open(Path
Opens or creates a file for reading and/or writing, returning an asynchronous file channel to access the file.
|
static FileChannel |
FileChannel.open(Path
Opens or creates a file, returning a file channel to access the file.
|
static DatagramChannel |
DatagramChannel.open(ProtocolFamily
Opens a datagram channel.
|
static SocketChannel |
SocketChannel.open(SocketAddress
Opens a socket channel and connects it to a remote address.
|
abstract long |
FileChannel.position()
Returns this channel's file position.
|
long |
SeekableByteChannel.position()
Returns this channel's position.
|
abstract FileChannel |
FileChannel.position(long newPosition)
Sets this channel's file position.
|
SeekableByteChannel |
SeekableByteChannel.position(long newPosition)
Sets this channel's position.
|
abstract int |
FileChannel.read(ByteBuffer
Reads a sequence of bytes from this channel into the given buffer.
|
abstract int |
DatagramChannel.read(ByteBuffer
Reads a datagram from this channel.
|
int |
SeekableByteChannel.read(ByteBuffer
Reads a sequence of bytes from this channel into the given buffer.
|
abstract int |
SocketChannel.read(ByteBuffer
|
int |
ReadableByteChannel.read(ByteBuffer
Reads a sequence of bytes from this channel into the given buffer.
|
long |
FileChannel.read(ByteBuffer
Reads a sequence of bytes from this channel into the given buffers.
|
long |
DatagramChannel.read(ByteBuffer
Reads a datagram from this channel.
|
long |
ScatteringByteChannel.read(ByteBuffer
Reads a sequence of bytes from this channel into the given buffers.
|
long |
SocketChannel.read(ByteBuffer
|
abstract long |
FileChannel.read(ByteBuffer
Reads a sequence of bytes from this channel into a subsequence of the given buffers.
|
abstract long |
DatagramChannel.read(ByteBuffer
Reads a datagram from this channel.
|
long |
ScatteringByteChannel.read(ByteBuffer
Reads a sequence of bytes from this channel into a subsequence of the given buffers.
|
abstract long |
SocketChannel.read(ByteBuffer
|
abstract int |
FileChannel.read(ByteBuffer
Reads a sequence of bytes from this channel into the given buffer, starting at the given file position.
|
abstract SocketAddress |
DatagramChannel.receive(ByteBuffer
Receives a datagram via this channel.
|
abstract void |
FileLock.release()
Releases this lock.
|
abstract int |
Selector.select()
Selects a set of keys whose corresponding channels are ready for I/O operations.
|
abstract int |
Selector.select(long timeout)
Selects a set of keys whose corresponding channels are ready for I/O operations.
|
abstract int |
Selector.selectNow()
Selects a set of keys whose corresponding channels are ready for I/O operations.
|
abstract int |
DatagramChannel.send(ByteBuffer
Sends a datagram via this channel.
|
abstract <T> DatagramChannel |
DatagramChannel.setOption(SocketOption
|
abstract <T> ServerSocketChannel |
ServerSocketChannel.setOption(SocketOption
|
abstract <T> AsynchronousServerSocketChannel |
AsynchronousServerSocketChannel.setOption(SocketOption
|
abstract <T> AsynchronousSocketChannel |
AsynchronousSocketChannel.setOption(SocketOption
|
abstract <T> SocketChannel |
SocketChannel.setOption(SocketOption
|
<T> NetworkChannel |
NetworkChannel.setOption(SocketOption
Sets the value of a socket option.
|
abstract AsynchronousSocketChannel |
AsynchronousSocketChannel.shutdownInput()
Shutdown the connection for reading without closing the channel.
|
abstract SocketChannel |
SocketChannel.shutdownInput()
Shutdown the connection for reading without closing the channel.
|
abstract void |
AsynchronousChannelGroup.shutdownNow()
Shuts down the group and closes all open channels in the group.
|
abstract AsynchronousSocketChannel |
AsynchronousSocketChannel.shutdownOutput()
Shutdown the connection for writing without closing the channel.
|
abstract SocketChannel |
SocketChannel.shutdownOutput()
Shutdown the connection for writing without closing the channel.
|
abstract long |
FileChannel.size()
Returns the current size of this channel's file.
|
long |
SeekableByteChannel.size()
Returns the current size of entity to which this channel is connected.
|
abstract long |
AsynchronousFileChannel.size()
Returns the current size of this channel's file.
|
abstract long |
FileChannel.transferFrom(ReadableByteChannel
Transfers bytes into this channel's file from the given readable byte channel.
|
abstract long |
FileChannel.transferTo(long position, long count, WritableByteChannel
Transfers bytes from this channel's file to the given writable byte channel.
|
abstract FileChannel |
FileChannel.truncate(long size)
Truncates this channel's file to the given size.
|
SeekableByteChannel |
SeekableByteChannel.truncate(long size)
Truncates the entity, to which this channel is connected, to the given size.
|
abstract AsynchronousFileChannel |
AsynchronousFileChannel.truncate(long size)
Truncates this channel's file to the given size.
|
FileLock |
FileChannel.tryLock()
Attempts to acquire an exclusive lock on this channel's file.
|
FileLock |
AsynchronousFileChannel.tryLock()
Attempts to acquire an exclusive lock on this channel's file.
|
abstract FileLock |
FileChannel.tryLock(long position, long size, boolean shared)
Attempts to acquire a lock on the given region of this channel's file.
|
abstract FileLock |
AsynchronousFileChannel.tryLock(long position, long size, boolean shared)
Attempts to acquire a lock on the given region of this channel's file.
|
static AsynchronousChannelGroup |
AsynchronousChannelGroup.withCachedThreadPool(ExecutorService
Creates an asynchronous channel group with a given thread pool that creates new threads as needed.
|
static AsynchronousChannelGroup |
AsynchronousChannelGroup.withFixedThreadPool(int nThreads, ThreadFactory
Creates an asynchronous channel group with a fixed thread pool.
|
static AsynchronousChannelGroup |
AsynchronousChannelGroup.withThreadPool(ExecutorService
Creates an asynchronous channel group with a given thread pool.
|
abstract int |
FileChannel.write(ByteBuffer
Writes a sequence of bytes to this channel from the given buffer.
|
abstract int |
DatagramChannel.write(ByteBuffer
Writes a datagram to this channel.
|
int |
WritableByteChannel.write(ByteBuffer
Writes a sequence of bytes to this channel from the given buffer.
|
int |
SeekableByteChannel.write(ByteBuffer
Writes a sequence of bytes to this channel from the given buffer.
|
abstract int |
SocketChannel.write(ByteBuffer
|
long |
FileChannel.write(ByteBuffer
Writes a sequence of bytes to this channel from the given buffers.
|
long |
DatagramChannel.write(ByteBuffer
Writes a datagram to this channel.
|
long |
SocketChannel.write(ByteBuffer
|
long |
GatheringByteChannel.write(ByteBuffer
Writes a sequence of bytes to this channel from the given buffers.
|
abstract long |
FileChannel.write(ByteBuffer
Writes a sequence of bytes to this channel from a subsequence of the given buffers.
|
abstract long |
DatagramChannel.write(ByteBuffer
Writes a datagram to this channel.
|
abstract long |
SocketChannel.write(ByteBuffer
|
long |
GatheringByteChannel.write(ByteBuffer
Writes a sequence of bytes to this channel from a subsequence of the given buffers.
|
abstract int |
FileChannel.write(ByteBuffer
Writes a sequence of bytes to this channel from the given buffer, starting at the given file position.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractSelector.close()
Closes this selector.
|
void |
AbstractInterruptibleChannel.close()
Closes this channel.
|
SelectableChannel |
AbstractSelectableChannel.configureBlocking(boolean block)
Adjusts this channel's blocking mode.
|
protected abstract void |
AbstractInterruptibleChannel.implCloseChannel()
Closes this channel.
|
protected void |
AbstractSelectableChannel.implCloseChannel()
Closes this channel.
|
protected abstract void |
AbstractSelectableChannel.implCloseSelectableChannel()
Closes this selectable channel.
|
protected abstract void |
AbstractSelector.implCloseSelector()
Closes this selector.
|
protected abstract void |
AbstractSelectableChannel.implConfigureBlocking(boolean block)
Adjusts this channel's blocking mode.
|
Channel |
SelectorProvider.inheritedChannel()
Returns the channel inherited from the entity that created this Java virtual machine.
|
abstract AsynchronousChannelGroup |
AsynchronousChannelProvider.openAsynchronousChannelGroup(ExecutorService
Constructs a new asynchronous channel group with the given thread pool.
|
abstract AsynchronousChannelGroup |
AsynchronousChannelProvider.openAsynchronousChannelGroup(int nThreads, ThreadFactory
Constructs a new asynchronous channel group with a fixed thread pool.
|
abstract AsynchronousServerSocketChannel |
AsynchronousChannelProvider.openAsynchronousServerSocketChannel(AsynchronousChannelGroup
Opens an asynchronous server-socket channel.
|
abstract AsynchronousSocketChannel |
AsynchronousChannelProvider.openAsynchronousSocketChannel(AsynchronousChannelGroup
Opens an asynchronous socket channel.
|
abstract DatagramChannel |
SelectorProvider.openDatagramChannel()
Opens a datagram channel.
|
abstract DatagramChannel |
SelectorProvider.openDatagramChannel(ProtocolFamily
Opens a datagram channel.
|
abstract Pipe |
SelectorProvider.openPipe()
Opens a pipe.
|
abstract AbstractSelector |
SelectorProvider.openSelector()
Opens a selector.
|
abstract ServerSocketChannel |
SelectorProvider.openServerSocketChannel()
Opens a server-socket channel.
|
abstract SocketChannel |
SelectorProvider.openSocketChannel()
Opens a socket channel.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CharacterCodingException
Checked exception thrown when a character encoding or decoding error occurs.
|
class |
MalformedInputException
Checked exception thrown when an input byte sequence is not legal for given charset, or an input character sequence is not a legal sixteen-bit Unicode sequence.
|
class |
UnmappableCharacterException
Checked exception thrown when an input character (or byte) sequence is valid but cannot be mapped to an output byte (or character) sequence.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AccessDeniedException
Checked exception thrown when a file system operation is denied, typically due to a file permission or other access check.
|
class |
AtomicMoveNotSupportedException
Checked exception thrown when a file cannot be moved as an atomic file system operation.
|
class |
DirectoryNotEmptyException
Checked exception thrown when a file system operation fails because a directory is not empty.
|
class |
FileAlreadyExistsException
Checked exception thrown when an attempt is made to create a file or directory and a file of that name already exists.
|
class |
FileSystemException
Thrown when a file system operation fails on one or two files.
|
class |
FileSystemLoopException
Checked exception thrown when a file system loop, or cycle, is encountered.
|
class |
NoSuchFileException
Checked exception thrown when an attempt is made to access a file that does not exist.
|
class |
NotDirectoryException
Checked exception thrown when a file system operation, intended for a directory, fails because the file is not a directory.
|
class |
NotLinkException
Checked exception thrown when a file system operation fails because a file is not a symbolic link.
|
| Modifier and Type | Method and Description |
|---|---|
IOException |
DirectoryIteratorException.getCause()
Returns the cause of this exception.
|
| Modifier and Type | Method and Description |
|---|---|
FileVisitResult |
FileVisitor.postVisitDirectory(T dir, IOException
Invoked for a directory after entries in the directory, and all of their descendants, have been visited.
|
FileVisitResult |
SimpleFileVisitor.postVisitDirectory(T dir, IOException
Invoked for a directory after entries in the directory, and all of their descendants, have been visited.
|
FileVisitResult |
FileVisitor.visitFileFailed(T file, IOException
Invoked for a file that could not be visited.
|
FileVisitResult |
SimpleFileVisitor.visitFileFailed(T file, IOException
Invoked for a file that could not be visited.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DirectoryStream.Filter.accept(T entry)
Decides if the given directory entry should be accepted or filtered.
|
void |
WatchService.close()
Closes this watch service.
|
abstract void |
FileSystem.close()
Closes this file system.
|
static long |
Files.copy(InputStream
Copies all bytes from an input stream to a file.
|
static long |
Files.copy(Path
Copies all bytes from a file to an output stream.
|
static Path |
Files.copy(Path
Copy a file to a target file.
|
static Path |
Files.createDirectories(Path
Creates a directory by creating all nonexistent parent directories first.
|
static Path |
Files.createDirectory(Path
Creates a new directory.
|
static Path |
Files.createFile(Path
Creates a new and empty file, failing if the file already exists.
|
static Path |
Files.createLink(Path
Creates a new link (directory entry) for an existing file
(optional operation).
|
static Path |
Files.createSymbolicLink(Path
Creates a symbolic link to a target
(optional operation).
|
static Path |
Files.createTempDirectory(Path
Creates a new directory in the specified directory, using the given prefix to generate its name.
|
static Path |
Files.createTempDirectory(String
Creates a new directory in the default temporary-file directory, using the given prefix to generate its name.
|
static Path |
Files.createTempFile(Path
Creates a new empty file in the specified directory, using the given prefix and suffix strings to generate its name.
|
static Path |
Files.createTempFile(String
Creates an empty file in the default temporary-file directory, using the given prefix and suffix to generate its name.
|
static void |
Files.delete(Path
Deletes a file.
|
void |
SecureDirectoryStream.deleteDirectory(T path)
Deletes a directory.
|
void |
SecureDirectoryStream.deleteFile(T path)
Deletes a file.
|
static boolean |
Files.deleteIfExists(Path
Deletes a file if it exists.
|
static Stream |
Files.find(Path
Return a
Stream that is lazily populated with
Path by searching for files in a file tree rooted at a given starting file.
|
static Object |
Files.getAttribute(Path
Reads the value of a file attribute.
|
abstract Object |
FileStore.getAttribute(String
Reads the value of a file store attribute.
|
static FileStore |
Files.getFileStore(Path
Returns the
FileStore representing the file store where a file is located.
|
static FileTime |
Files.getLastModifiedTime(Path
Returns a file's last modified time.
|
static UserPrincipal |
Files.getOwner(Path
Returns the owner of a file.
|
static Set |
Files.getPosixFilePermissions(Path
Returns a file's POSIX file permissions.
|
abstract long |
FileStore.getTotalSpace()
Returns the size, in bytes, of the file store.
|
abstract long |
FileStore.getUnallocatedSpace()
Returns the number of unallocated bytes in the file store.
|
abstract long |
FileStore.getUsableSpace()
Returns the number of bytes available to this Java virtual machine on the file store.
|
static boolean |
Files.isHidden(Path
Tells whether or not a file is considered
hidden.
|
static boolean |
Files.isSameFile(Path
Tests if two paths locate the same file.
|
static Stream |
Files.lines(Path
Read all lines from a file as a
Stream.
|
static Stream |
Files.lines(Path
Read all lines from a file as a
Stream.
|
static Stream |
Files.list(Path
Return a lazily populated
Stream, the elements of which are the entries in the directory.
|
static Path |
Files.move(Path
Move or rename a file to a target file.
|
void |
SecureDirectoryStream.move(T srcpath, SecureDirectoryStream
Move a file from this directory to another directory.
|
static BufferedReader |
Files.newBufferedReader(Path
Opens a file for reading, returning a
BufferedReader to read text from the file in an efficient manner.
|
static BufferedReader |
Files.newBufferedReader(Path
Opens a file for reading, returning a
BufferedReader that may be used to read text from the file in an efficient manner.
|
static BufferedWriter |
Files.newBufferedWriter(Path
Opens or creates a file for writing, returning a
BufferedWriter that may be used to write text to the file in an efficient manner.
|
static BufferedWriter |
Files.newBufferedWriter(Path
Opens or creates a file for writing, returning a
BufferedWriter to write text to the file in an efficient manner.
|
static SeekableByteChannel |
Files.newByteChannel(Path
Opens or creates a file, returning a seekable byte channel to access the file.
|
static SeekableByteChannel |
Files.newByteChannel(Path
Opens or creates a file, returning a seekable byte channel to access the file.
|
SeekableByteChannel |
SecureDirectoryStream.newByteChannel(T path, Set
Opens or creates a file in this directory, returning a seekable byte channel to access the file.
|
static DirectoryStream |
Files.newDirectoryStream(Path
Opens a directory, returning a
DirectoryStream to iterate over all entries in the directory.
|
static DirectoryStream |
Files.newDirectoryStream(Path
Opens a directory, returning a
DirectoryStream to iterate over the entries in the directory.
|
static DirectoryStream |
Files.newDirectoryStream(Path
Opens a directory, returning a
DirectoryStream to iterate over the entries in the directory.
|
SecureDirectoryStream |
SecureDirectoryStream.newDirectoryStream(T path, LinkOption
Opens the directory identified by the given path, returning a
SecureDirectoryStream to iterate over the entries in the directory.
|
static FileSystem |
FileSystems.newFileSystem(Path
Constructs a new
FileSystem to access the contents of a file as a file system.
|
static FileSystem |
FileSystems.newFileSystem(URI
Constructs a new file system that is identified by a
URI
|
static FileSystem |
FileSystems.newFileSystem(URI
Constructs a new file system that is identified by a
URI
|
static InputStream |
Files.newInputStream(Path
Opens a file, returning an input stream to read from the file.
|
static OutputStream |
Files.newOutputStream(Path
Opens or creates a file, returning an output stream that may be used to write bytes to the file.
|
abstract WatchService |
FileSystem.newWatchService()
Constructs a new
WatchService
(optional operation).
|
FileVisitResult |
FileVisitor.postVisitDirectory(T dir, IOException
Invoked for a directory after entries in the directory, and all of their descendants, have been visited.
|
FileVisitResult |
SimpleFileVisitor.postVisitDirectory(T dir, IOException
Invoked for a directory after entries in the directory, and all of their descendants, have been visited.
|
FileVisitResult |
FileVisitor.preVisitDirectory(T dir, BasicFileAttributes
Invoked for a directory before entries in the directory are visited.
|
FileVisitResult |
SimpleFileVisitor.preVisitDirectory(T dir, BasicFileAttributes
Invoked for a directory before entries in the directory are visited.
|
static String |
Files.probeContentType(Path
Probes the content type of a file.
|
static byte[] |
Files.readAllBytes(Path
Reads all the bytes from a file.
|
static List |
Files.readAllLines(Path
Read all lines from a file.
|
static List |
Files.readAllLines(Path
Read all lines from a file.
|
static <A extends BasicFileAttributes |
Files.readAttributes(Path
Reads a file's attributes as a bulk operation.
|
static Map |
Files.readAttributes(Path
Reads a set of file attributes as a bulk operation.
|
static Path |
Files.readSymbolicLink(Path
Reads the target of a symbolic link
(optional operation).
|
WatchKey |
Path.register(WatchService
Registers the file located by this path with a watch service.
|
WatchKey |
Watchable.register(WatchService
Registers an object with a watch service.
|
WatchKey |
Path.register(WatchService
Registers the file located by this path with a watch service.
|
WatchKey |
Watchable.register(WatchService
Registers an object with a watch service.
|
static Path |
Files.setAttribute(Path
Sets the value of a file attribute.
|
static Path |
Files.setLastModifiedTime(Path
Updates a file's last modified time attribute.
|
static Path |
Files.setOwner(Path
Updates the file owner.
|
static Path |
Files.setPosixFilePermissions(Path
Sets a file's POSIX permissions.
|
static long |
Files.size(Path
Returns the size of a file (in bytes).
|
Path |
Path.toRealPath(LinkOption
Returns the
real path of an existing file.
|
FileVisitResult |
FileVisitor.visitFile(T file, BasicFileAttributes
Invoked for a file in a directory.
|
FileVisitResult |
SimpleFileVisitor.visitFile(T file, BasicFileAttributes
Invoked for a file in a directory.
|
FileVisitResult |
FileVisitor.visitFileFailed(T file, IOException
Invoked for a file that could not be visited.
|
FileVisitResult |
SimpleFileVisitor.visitFileFailed(T file, IOException
Invoked for a file that could not be visited.
|
static Stream |
Files.walk(Path
Return a
Stream that is lazily populated with
Path by walking the file tree rooted at a given starting file.
|
static Stream |
Files.walk(Path
Return a
Stream that is lazily populated with
Path by walking the file tree rooted at a given starting file.
|
static Path |
Files.walkFileTree(Path
Walks a file tree.
|
static Path |
Files.walkFileTree(Path
Walks a file tree.
|
static Path |
Files.write(Path
Writes bytes to a file.
|
static Path |
Files.write(Path
Write lines of text to a file.
|
static Path |
Files.write(Path
Write lines of text to a file.
|
| Constructor and Description | |
|---|---|
DirectoryIteratorException(IOException
Constructs an instance of this class.
|
| Modifier and Type | Class and Description |
|---|---|
class |
UserPrincipalNotFoundException
Checked exception thrown when a lookup of
UserPrincipal fails because the principal does not exist.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UserDefinedFileAttributeView.delete(String
Deletes a user-defined attribute.
|
List |
AclFileAttributeView.getAcl()
Reads the access control list.
|
UserPrincipal |
FileOwnerAttributeView.getOwner()
Read the file owner.
|
List |
UserDefinedFileAttributeView.list()
Returns a list containing the names of the user-defined attributes.
|
abstract GroupPrincipal |
UserPrincipalLookupService.lookupPrincipalByGroupName(String
Lookup a group principal by group name.
|
abstract UserPrincipal |
UserPrincipalLookupService.lookupPrincipalByName(String
Lookup a user principal by name.
|
int |
UserDefinedFileAttributeView.read(String
Read the value of a user-defined attribute into a buffer.
|
DosFileAttributes |
DosFileAttributeView.readAttributes()
|
PosixFileAttributes |
PosixFileAttributeView.readAttributes()
|
BasicFileAttributes |
BasicFileAttributeView.readAttributes()
Reads the basic file attributes as a bulk operation.
|
void |
AclFileAttributeView.setAcl(List
Updates (replace) the access control list.
|
void |
DosFileAttributeView.setArchive(boolean value)
Updates the value of the archive attribute.
|
void |
PosixFileAttributeView.setGroup(GroupPrincipal
Updates the file group-owner.
|
void |
DosFileAttributeView.setHidden(boolean value)
Updates the value of the hidden attribute.
|
void |
FileOwnerAttributeView.setOwner(UserPrincipal
Updates the file owner.
|
void |
PosixFileAttributeView.setPermissions(Set
Updates the file permissions.
|
void |
DosFileAttributeView.setReadOnly(boolean value)
Updates the value of the read-only attribute.
|
void |
DosFileAttributeView.setSystem(boolean value)
Updates the value of the system attribute.
|
void |
BasicFileAttributeView.setTimes(FileTime
Updates any or all of the file's last modified time, last access time, and create time attributes.
|
int |
UserDefinedFileAttributeView.size(String
Returns the size of the value of a user-defined attribute.
|
int |
UserDefinedFileAttributeView.write(String
Writes the value of a user-defined attribute from a buffer.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
FileSystemProvider.checkAccess(Path
Checks the existence, and optionally the accessibility, of a file.
|
abstract void |
FileSystemProvider.copy(Path
Copy a file to a target file.
|
abstract void |
FileSystemProvider.createDirectory(Path
Creates a new directory.
|
void |
FileSystemProvider.createLink(Path
Creates a new link (directory entry) for an existing file.
|
void |
FileSystemProvider.createSymbolicLink(Path
Creates a symbolic link to a target.
|
abstract void |
FileSystemProvider.delete(Path
Deletes a file.
|
boolean |
FileSystemProvider.deleteIfExists(Path
Deletes a file if it exists.
|
abstract FileStore |
FileSystemProvider.getFileStore(Path
Returns the
FileStore representing the file store where a file is located.
|
abstract boolean |
FileSystemProvider.isHidden(Path
Tells whether or not a file is considered
hidden.
|
abstract boolean |
FileSystemProvider.isSameFile(Path
Tests if two paths locate the same file.
|
abstract void |
FileSystemProvider.move(Path
Move or rename a file to a target file.
|
AsynchronousFileChannel |
FileSystemProvider.newAsynchronousFileChannel(Path
Opens or creates a file for reading and/or writing, returning an asynchronous file channel to access the file.
|
abstract SeekableByteChannel |
FileSystemProvider.newByteChannel(Path
Opens or creates a file, returning a seekable byte channel to access the file.
|
abstract DirectoryStream |
FileSystemProvider.newDirectoryStream(Path
Opens a directory, returning a
DirectoryStream to iterate over the entries in the directory.
|
FileChannel |
FileSystemProvider.newFileChannel(Path
Opens or creates a file for reading and/or writing, returning a file channel to access the file.
|
FileSystem |
FileSystemProvider.newFileSystem(Path
Constructs a new
FileSystem to access the contents of a file as a file system.
|
abstract FileSystem |
FileSystemProvider.newFileSystem(URI
Constructs a new
FileSystem object identified by a URI.
|
InputStream |
FileSystemProvider.newInputStream(Path
Opens a file, returning an input stream to read from the file.
|
OutputStream |
FileSystemProvider.newOutputStream(Path
Opens or creates a file, returning an output stream that may be used to write bytes to the file.
|
abstract String |
FileTypeDetector.probeContentType(Path
Probes the given file to guess its content type.
|
abstract <A extends BasicFileAttributes |
FileSystemProvider.readAttributes(Path
Reads a file's attributes as a bulk operation.
|
abstract Map |
FileSystemProvider.readAttributes(Path
Reads a set of file attributes as a bulk operation.
|
Path |
FileSystemProvider.readSymbolicLink(Path
Reads the target of a symbolic link.
|
abstract void |
FileSystemProvider.setAttribute(Path
Sets the value of a file attribute.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AccessException
An
AccessException is thrown by certain methods of the
java.rmi.Naming class (specifically
bind,
rebind, and
unbind) and methods of the
java.rmi.activation.ActivationSystem interface to indicate that the caller does not have permission to perform the action requested by the method call.
|
class |
ConnectException
A
ConnectException is thrown if a connection is refused to the remote host for a remote method call.
|
class |
ConnectIOException
A
ConnectIOException is thrown if an
IOException occurs while making a connection to the remote host for a remote method call.
|
class |
MarshalException
A
MarshalException is thrown if a
java.io.IOException occurs while marshalling the remote call header, arguments or return value for a remote method call.
|
class |
NoSuchObjectException
A
NoSuchObjectException is thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine.
|
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 |
ServerError
A
ServerError is thrown as a result of a remote method invocation when an
Error is thrown while processing the invocation on the server, either while unmarshalling the arguments, executing the remote method itself, or marshalling the return value.
|
class |
ServerException
A
ServerException is thrown as a result of a remote method invocation when a
RemoteException is thrown while processing the invocation on the server, either while unmarshalling the arguments or executing the remote method itself.
|
class |
ServerRuntimeException
Deprecated.
no replacement
|
class |
StubNotFoundException
A
StubNotFoundException is thrown if a valid stub class could not be found for a remote object when it is exported.
|
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.
|
class |
UnmarshalException
An
UnmarshalException can be thrown while unmarshalling the parameters or results of a remote method call if any of the following conditions occur: if an exception occurs while unmarshalling the call header if the protocol for the return value is invalid if a
java.io.IOException occurs unmarshalling parameters (on the server side) or the return value (on the client side).
|
| Modifier and Type | Method and Description |
|---|---|
T |
MarshalledObject.get()
Returns a new copy of the contained marshalledobject.
|
| Constructor and Description | |
|---|---|
MarshalledObject(T obj)
Creates a new
MarshalledObject that contains the serialized representation of the current state of the supplied object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ActivateFailedException
This exception is thrown by the RMI runtime when activation fails during a remote call to an activatable object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExportException
An
ExportException is a
RemoteException thrown if an attempt to export a remote object fails.
|
class |
SkeletonMismatchException
Deprecated.
no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater.
|
class |
SkeletonNotFoundException
Deprecated.
no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater.
|
class |
SocketSecurityException
Deprecated.
This class is obsolete. Use
ExportException instead.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ServerSocket |
RMISocketFactory.createServerSocket(int port)
Create a server socket on the specified port (port 0 indicates an anonymous port).
|
ServerSocket |
RMIServerSocketFactory.createServerSocket(int port)
Create a server socket on the specified port (port 0 indicates an anonymous port).
|
Socket |
RMIClientSocketFactory.createSocket(String
Create a client socket connected to the specified host and port.
|
abstract Socket |
RMISocketFactory.createSocket(String
Creates a client socket connected to the specified host and port.
|
void |
RemoteCall.done()
Deprecated.
no replacement
|
ObjectInput |
RemoteCall.getInputStream()
Deprecated.
no replacement
|
ObjectOutput |
RemoteCall.getOutputStream()
Deprecated.
no replacement
|
ObjectOutput |
RemoteCall.getResultStream(boolean success)
Deprecated.
no replacement
|
static UID |
UID.read(DataInput
Constructs and returns a new
UID instance by unmarshalling a binary representation from an
DataInput instance.
|
static ObjID |
ObjID.read(ObjectInput
Constructs and returns a new
ObjID instance by unmarshalling a binary representation from an
ObjectInput instance.
|
void |
RemoteCall.releaseInputStream()
Deprecated.
no replacement
|
void |
RemoteCall.releaseOutputStream()
Deprecated.
no replacement
|
static void |
RMISocketFactory.setSocketFactory(RMISocketFactory
Set the global socket factory from which RMI gets sockets (if the remote object is not associated with a specific client and/or server socket factory).
|
void |
UID.write(DataOutput
Marshals a binary representation of this
UID to a
DataOutput instance.
|
void |
ObjID.write(ObjectOutput
Marshals a binary representation of this
ObjID to an
ObjectOutput instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Certificate.decode(InputStream
Deprecated.
Decodes a certificate from an input stream.
|
void |
Certificate.encode(OutputStream
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
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
Imports the parameters from
params and decodes them according to the specified decoding format.
|
abstract void |
KeyStoreSpi.engineLoad(InputStream
Loads the keystore from the given input stream.
|
void |
KeyStoreSpi.engineLoad(KeyStore
Loads the keystore using the given
KeyStore.LoadStoreParameter.
|
void |
KeyStoreSpi.engineStore(KeyStore
Stores this keystore using the given
KeyStore.LoadStoreParmeter.
|
abstract void |
KeyStoreSpi.engineStore(OutputStream
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
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
Imports the parameters from
params and decodes them according to the specified decoding scheme.
|
void |
Provider.load(InputStream
Reads a property list (key and element pairs) from the input stream.
|
void |
KeyStore.load(InputStream
Loads this KeyStore from the given input stream.
|
void |
KeyStore.load(KeyStore
Loads this keystore using the given
LoadStoreParameter.
|
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(KeyStore
Stores this keystore using the given
LoadStoreParameter.
|
void |
KeyStore.store(OutputStream
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
Constructs a SignedObject from any Serializable object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
X509CRLSelector.addIssuerName(byte[] name)
Adds a name to the issuerNames criterion.
|
void |
X509CRLSelector.addIssuerName(String
Denigrated, use
X509CRLSelector |
void |
X509CertSelector.addPathToName(int type, byte[] name)
Adds a name to the pathToNames criterion.
|
void |
X509CertSelector.addPathToName(int type, String
Adds a name to the pathToNames criterion.
|
void |
X509CertSelector.addSubjectAlternativeName(int type, byte[] name)
Adds a name to the subjectAlternativeNames criterion.
|
void |
X509CertSelector.addSubjectAlternativeName(int type, String
Adds a name to the subjectAlternativeNames criterion.
|
void |
Extension.encode(OutputStream
Generates the extension's DER encoding and writes it to the output stream.
|
byte[] |
X509CertSelector.getIssuerAsBytes()
Returns the issuer criterion as a byte array.
|
byte[] |
X509CertSelector.getSubjectAsBytes()
Returns the subject criterion as a byte array.
|
void |
X509CertSelector.setExtendedKeyUsage(Set
Sets the extendedKeyUsage criterion.
|
void |
X509CertSelector.setIssuer(byte[] issuerDN)
Sets the issuer criterion.
|
void |
X509CertSelector.setIssuer(String
Denigrated, use
X509CertSelector |
void |
X509CRLSelector.setIssuerNames(Collection
Note: use
X509CRLSelector |
void |
X509CertSelector.setNameConstraints(byte[] bytes)
Sets the name constraints criterion.
|
void |
X509CertSelector.setPathToNames(Collection
Sets the pathToNames criterion.
|
void |
X509CertSelector.setPolicy(Set
Sets the policy constraint.
|
void |
X509CertSelector.setSubject(byte[] subjectDN)
Sets the subject criterion.
|
void |
X509CertSelector.setSubject(String
Denigrated, use
X509CertSelector |
void |
X509CertSelector.setSubjectAlternativeNames(Collection
Sets the subjectAlternativeNames criterion.
|
void |
X509CertSelector.setSubjectPublicKey(byte[] key)
Sets the subjectPublicKey criterion.
|
void |
X509CertSelector.setSubjectPublicKeyAlgID(String
Sets the subjectPublicKeyAlgID criterion.
|
| Constructor and Description | |
|---|---|
PolicyQualifierInfo(byte[] encoded)
Creates an instance of
PolicyQualifierInfo from the encoded bytes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
InvalidPropertiesFormatException
Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of properties, as per the
Properties specification.
|
| Modifier and Type | Method and Description |
|---|---|
IOException |
Scanner.ioException()
Returns the
IOException last thrown by this
Scanner's underlying
Readable.
|
IOException |
Formatter.ioException()
Returns the
IOException last thrown by this formatter's
Appendable.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Properties.load(InputStream
Reads a property list (key and element pairs) from the input byte stream.
|
void |
Properties.load(Reader
Reads a property list (key and element pairs) from the input character stream in a simple line-oriented format.
|
void |
Properties.loadFromXML(InputStream
Loads all of the properties represented by the XML document on the specified input stream into this properties table.
|
ResourceBundle |
ResourceBundle.Control.newBundle(String
Instantiates a resource bundle for the given bundle name of the given format and locale, using the given class loader if necessary.
|
void |
Properties.store(OutputStream
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(InputStream) method.
|
void |
Properties.store(Writer
Writes this property list (key and element pairs) in this
Properties table to the output character stream in a format suitable for using the
load(Reader) method.
|
void |
Properties.storeToXML(OutputStream
Emits an XML document representing all of the properties contained in this table.
|
void |
Properties.storeToXML(OutputStream
Emits an XML document representing all of the properties contained in this table, using the specified encoding.
|
| Constructor and Description | |
|---|---|
PropertyResourceBundle(InputStream
Creates a property resource bundle from an
InputStream.
|
|
PropertyResourceBundle(Reader
Creates a property resource bundle from a
Reader.
|
|
Scanner(Path
Constructs a new
Scanner that produces values scanned from the specified file.
|
|
Scanner(Path
Constructs a new
Scanner that produces values scanned from the specified file.
|
| 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
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 the 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 |
Pack200.Packer.pack(JarFile
Takes a JarFile and converts it into a Pack200 archive.
|
void |
Pack200.Packer.pack(JarInputStream
Takes a JarInputStream and converts it into a Pack200 archive.
|
void |
JarOutputStream.putNextEntry(ZipEntry
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
Reads the Manifest from the specified InputStream.
|
void |
Pack200.Unpacker.unpack(File
Read a Pack200 archive, and write the encoded JAR to a JarOutputStream.
|
void |
Pack200.Unpacker.unpack(InputStream
Read a Pack200 archive, and write the encoded JAR to a JarOutputStream.
|
void |
Manifest.write(OutputStream
Writes the Manifest to the specified OutputStream.
|
| Constructor and Description | |
|---|---|
JarFile(File
Creates a new
JarFile to read from the specified
File object.
|
|
JarFile(File
Creates a new
JarFile to read from the specified
File object.
|
|
JarFile(File
Creates a new
JarFile to read from the specified
File object in the specified mode.
|
|
JarFile(String
Creates a new
JarFile to read from the specified file
name.
|
|
JarFile(String
Creates a new
JarFile to read from the specified file
name.
|
|
JarInputStream(InputStream
Creates a new
JarInputStream and reads the optional manifest.
|
|
JarInputStream(InputStream
Creates a new
JarInputStream and reads the optional manifest.
|
|
JarOutputStream(OutputStream
Creates a new
JarOutputStream with no manifest.
|
|
JarOutputStream(OutputStream
Creates a new
JarOutputStream with the specified
Manifest.
|
|
Manifest(InputStream
Constructs a new Manifest from the specified input stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LogManager.readConfiguration()
Reinitialize the logging properties and reread the logging configuration.
|
void |
LogManager.readConfiguration(InputStream
Reinitialize the logging properties and reread the logging configuration from the given stream, which should be in java.util.Properties format.
|
| Constructor and Description | |
|---|---|
FileHandler()
Construct a default
FileHandler.
|
|
FileHandler(String
Initialize a
FileHandler to write to the given filename.
|
|
FileHandler(String
Initialize a
FileHandler to write to the given filename, with optional append.
|
|
FileHandler(String
Initialize a
FileHandler to write to a set of files.
|
|
FileHandler(String
Initialize a
FileHandler to write to a set of files with optional append.
|
|
SocketHandler()
Create a
SocketHandler, using only
LogManager properties (or their defaults).
|
|
SocketHandler(String
Construct a
SocketHandler using a specified host and port.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractPreferences.exportNode(OutputStream
Implements the
exportNode method as per the specification in
Preferences.
|
abstract void |
Preferences.exportNode(OutputStream
Emits on the specified output stream an XML document representing all of the preferences contained in this node (but not its descendants).
|
void |
AbstractPreferences.exportSubtree(OutputStream
Implements the
exportSubtree method as per the specification in
Preferences.
|
abstract void |
Preferences.exportSubtree(OutputStream
Emits an XML document representing all of the preferences contained in this node and all of its descendants.
|
static void |
Preferences.importPreferences(InputStream
Imports all of the preferences represented by the XML document on 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 |
DeflaterInputStream.available()
Returns 0 after EOF has been reached, otherwise always return 1.
|
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 been reached, otherwise always return 1.
|
void |
DeflaterOutputStream.close()
Writes remaining compressed data to the output stream and closes the underlying stream.
|
void |
ZipOutputStream.close()
Closes the ZIP output stream as well as the stream being filtered.
|
void |
DeflaterInputStream.close()
Closes this input stream and its underlying input stream, discarding any pending uncompressed data.
|
void |
ZipInputStream.close()
Closes this input stream and releases any system resources associated with the stream.
|
void |
InflaterInputStream.close()
Closes this input stream and releases any system resources associated with the stream.
|
void |
GZIPInputStream.close()
Closes this input stream and releases any system resources associated with the stream.
|
void |
ZipFile.close()
Closes the ZIP file.
|
void |
InflaterOutputStream.close()
Writes any remaining uncompressed data to the output stream and closes the underlying output 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 system resources held by this ZipFile object are released when there are no more references to it.
|
void |
DeflaterOutputStream.finish()
Finishes writing compressed data to the output stream without closing the underlying stream.
|
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 |
InflaterOutputStream.finish()
Finishes writing uncompressed data to the output stream without closing the underlying stream.
|
void |
DeflaterOutputStream.flush()
Flushes the compressed output stream.
|
void |
InflaterOutputStream.flush()
Flushes this output stream, forcing any pending buffered output bytes to be written.
|
InputStream |
ZipFile.getInputStream(ZipEntry
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 the stream at the beginning of the entry data.
|
void |
ZipOutputStream.putNextEntry(ZipEntry
Begins writing a new ZIP file entry and positions the stream to the start of the entry data.
|
int |
DeflaterInputStream.read()
Reads a single byte of compressed data from the input stream.
|
int |
InflaterInputStream.read()
Reads a byte of uncompressed data.
|
int |
CheckedInputStream.read()
Reads a byte.
|
int |
DeflaterInputStream.read(byte[] b, int off, int len)
Reads compressed data into a byte array.
|
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.
|
void |
DeflaterInputStream.reset()
This operation is not supported.
|
void |
InflaterInputStream.reset()
Repositions this stream to the position at the time the
mark method was last called on this input stream.
|
long |
DeflaterInputStream.skip(long n)
Skips over and discards data from the input stream.
|
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 |
DeflaterOutputStream.write(byte[] b, int off, int len)
Writes an array of bytes to the compressed output stream.
|
void |
ZipOutputStream.write(byte[] b, int off, int len)
Writes an array of bytes to the current ZIP entry data.
|
void |
CheckedOutputStream.write(byte[] b, int off, int len)
Writes an array of bytes.
|
void |
GZIPOutputStream.write(byte[] buf, int off, int len)
Writes array of bytes to the compressed output stream.
|
void |
InflaterOutputStream.write(byte[] b, int off, int len)
Writes an array of bytes to the uncompressed output stream.
|
void |
DeflaterOutputStream.write(int b)
Writes a byte to the compressed output stream.
|
void |
CheckedOutputStream.write(int b)
Writes a byte.
|
void |
InflaterOutputStream.write(int b)
Writes a byte to the uncompressed output stream.
|
| Constructor and Description | |
|---|---|
GZIPInputStream(InputStream
Creates a new input stream with a default buffer size.
|
|
GZIPInputStream(InputStream
Creates a new input stream with the specified buffer size.
|
|
GZIPOutputStream(OutputStream
Creates a new output stream with a default buffer size.
|
|
GZIPOutputStream(OutputStream
Creates a new output stream with a default buffer size and the specified flush mode.
|
|
GZIPOutputStream(OutputStream
Creates a new output stream with the specified buffer size.
|
|
GZIPOutputStream(OutputStream
Creates a new output stream with the specified buffer size and flush mode.
|
|
ZipFile(File
Opens a ZIP file for reading given the specified File object.
|
|
ZipFile(File
Opens a ZIP file for reading given the specified File object.
|
|
ZipFile(File
Opens a new
ZipFile to read from the specified
File object in the specified mode.
|
|
ZipFile(File
Opens a new
ZipFile to read from the specified
File object in the specified mode.
|
|
ZipFile(String
Opens a zip file for reading.
|
|
ZipFile(String
Opens a zip file for reading.
|
| Modifier and Type | Class and Description |
|---|---|
class |
UnsupportedDataTypeException
Signals that the requested operation does not support the requested data type.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
CommandInfo.getCommandObject(DataHandler
Return the instantiated JavaBean component.
|
Object |
DataHandler.getContent()
Return the data in its preferred Object form.
|
Object |
DataContentHandler.getContent(DataSource
Return an object representing the data in its most preferred form.
|
InputStream |
DataSource.getInputStream()
This method returns an
InputStream representing the data and throws the appropriate exception if it can not do so.
|
InputStream |
FileDataSource.getInputStream()
This method will return an InputStream representing the the data and will throw an IOException if it can not do so.
|
InputStream |
URLDataSource.getInputStream()
The getInputStream method from the URL.
|
InputStream |
DataHandler.getInputStream()
Get the InputStream for this object.
|
OutputStream |
DataSource.getOutputStream()
This method returns an
OutputStream where the data can be written and throws the appropriate exception if it can not do so.
|
OutputStream |
FileDataSource.getOutputStream()
This method will return an OutputStream representing the the data and will throw an IOException if it can not do so.
|
OutputStream |
URLDataSource.getOutputStream()
The getOutputStream method from the URL.
|
OutputStream |
DataHandler.getOutputStream()
Get an OutputStream for this DataHandler to allow overwriting the underlying data.
|
Object |
DataHandler.getTransferData(DataFlavor
Returns an object that represents the data to be transferred.
|
Object |
DataContentHandler.getTransferData(DataFlavor
Returns an object which represents the data to be transferred.
|
void |
MimeType.readExternal(ObjectInput
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.
|
void |
CommandObject.setCommandContext(String
Initialize the Command with the verb it is requested to handle and the DataHandler that describes the data it will operate on.
|
void |
MimeType.writeExternal(ObjectOutput
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 |
DataContentHandler.writeTo(Object
Convert the object to a byte stream of the specified MIME type and write it to the output stream.
|
void |
DataHandler.writeTo(OutputStream
Write the data to an
OutputStream.
|
| Constructor and Description | |
|---|---|
MailcapCommandMap(String
Constructor that allows the caller to specify the path of a
mailcap file.
|
|
MimetypesFileTypeMap(String
Construct a MimetypesFileTypeMap with programmatic entries added from the named file.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ActivityCompletedException
This exception may be thrown on any method for which Activity context is accessed and indicates that ongoing work within the Activity is not possible.
|
class |
ActivityRequiredException
This exception is thrown by a container if Activity context is not received on a method for which Activity context is mandatory.
|
class |
InvalidActivityException
This exception may be thrown on any method for which Activity context is accessed and indicates that the attempted invocation or the Activity context associated with the attempted invocation is incompatible with the Activity's current state.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FilerException
Indicates a
Filer detected an attempt to open a file that would violate the guarantees provided by the
Filer.
|
| Modifier and Type | Method and Description |
|---|---|
JavaFileObject |
Filer.createClassFile(CharSequence
Creates a new class file, and returns an object to allow writing to it.
|
FileObject |
Filer.createResource(JavaFileManager
Creates a new auxiliary resource file for writing and returns a file object for it.
|
JavaFileObject |
Filer.createSourceFile(CharSequence
Creates a new source file and returns an object to allow writing to it.
|
FileObject |
Filer.getResource(JavaFileManager
Returns an object for reading an existing resource.
|
| Modifier and Type | Method and Description |
|---|---|
int |
CipherInputStream.available()
Returns the number of bytes that can be read from this input stream without blocking.
|
void |
CipherInputStream.close()
Closes this input stream and releases any system resources associated with the stream.
|
void |
CipherOutputStream.close()
Closes this output stream and releases any system resources associated with this stream.
|
void |
CipherOutputStream.flush()
Flushes this output stream by forcing any buffered output bytes that have already been processed by the encapsulated cipher object to be written out.
|
byte[] |
EncryptedPrivateKeyInfo.getEncoded()
Returns the ASN.1 encoding of this object.
|
Object |
SealedObject.getObject(Cipher
Retrieves the original (encapsulated) object.
|
Object |
SealedObject.getObject(Key
Retrieves the original (encapsulated) object.
|
Object |
SealedObject.getObject(Key
Retrieves the original (encapsulated) object.
|
int |
CipherInputStream.read()
Reads the next byte of data from this input stream.
|
int |
CipherInputStream.read(byte[] b)
Reads up to
b.length bytes of data from this input stream into an array of bytes.
|
int |
CipherInputStream.read(byte[] b, int off, int len)
Reads up to
len bytes of data from this input stream into an array of bytes.
|
long |
CipherInputStream.skip(long n)
Skips
n bytes of input from the bytes that can be read from this input stream without blocking.
|
void |
CipherOutputStream.write(byte[] b)
Writes
b.length bytes from the specified byte array to this output stream.
|
void |
CipherOutputStream.write(byte[] b, int off, int len)
Writes
len bytes from the specified byte array starting at offset
off to this output stream.
|
void |
CipherOutputStream.write(int b)
Writes the specified byte to this output stream.
|
| Constructor and Description | |
|---|---|
EncryptedPrivateKeyInfo(byte[] encoded)
Constructs (i.e., parses) an
EncryptedPrivateKeyInfo from its ASN.1 encoding.
|
|
SealedObject(Serializable
Constructs a SealedObject from any Serializable object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IIOException
An exception class used for signaling run-time failure of reading and writing operations.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ImageWriter.canInsertEmpty(int imageIndex)
Returns
true if the writer supports the insertion of a new, empty image at the given index.
|
boolean |
ImageWriter.canInsertImage(int imageIndex)
Returns
true if the writer supports the insertion of a new image at the given index.
|
boolean |
ImageWriter.canRemoveImage(int imageIndex)
Returns
true if the writer supports the removal of an existing image at the given index.
|
boolean |
ImageWriter.canReplaceImageMetadata(int imageIndex)
Returns
true if it is possible to replace the image metadata associated with an existing image with index
imageIndex.
|
boolean |
ImageWriter.canReplacePixels(int imageIndex)
Returns
true if the writer allows pixels of the given image to be replaced using the
replacePixels methods.
|
boolean |
ImageWriter.canReplaceStreamMetadata()
Returns
true if it is possible to replace the stream metadata already present in the output.
|
boolean |
ImageWriter.canWriteEmpty()
Returns
true if the writer supports the writing of a complete image stream consisting of a single image with undefined pixel values and associated metadata and thumbnails to the output.
|
static ImageInputStream |
ImageIO.createImageInputStream(Object
Returns an
ImageInputStream that will take its input from the given
Object.
|
static ImageOutputStream |
ImageIO.createImageOutputStream(Object
Returns an
ImageOutputStream that will send its output to the given
Object.
|
void |
ImageWriter.endInsertEmpty()
Completes the insertion of a new image that was begun with a prior call to
prepareInsertEmpty.
|
void |
ImageWriter.endReplacePixels()
Terminates a sequence of calls to
replacePixels.
|
void |
ImageWriter.endWriteEmpty()
Completes the writing of a new image that was begun with a prior call to
prepareWriteEmpty.
|
void |
ImageWriter.endWriteSequence()
Completes the writing of a sequence of images begun with
prepareWriteSequence.
|
float |
ImageReader.getAspectRatio(int imageIndex)
Returns the aspect ratio of the given image (that is, its width divided by its height) as a
float.
|
String |
ImageReader.getFormatName()
Returns a
String identifying the format of the input source.
|
abstract int |
ImageReader.getHeight(int imageIndex)
Returns the height in pixels of the given image within the input source.
|
abstract IIOMetadata |
ImageReader.getImageMetadata(int imageIndex)
Returns an
IIOMetadata object containing metadata associated with the given image, or
null if the reader does not support reading metadata, is set to ignore metadata, or if no metadata is available.
|
IIOMetadata |
ImageReader.getImageMetadata(int imageIndex, String
Returns an
IIOMetadata object representing the metadata associated with the given image, or
null if the reader does not support reading metadata or none is available.
|
abstract Iterator |
ImageReader.getImageTypes(int imageIndex)
Returns an
Iterator containing possible image types to which the given image may be decoded, in the form of
ImageTypeSpecifierss.
|
abstract int |
ImageReader.getNumImages(boolean allowSearch)
Returns the number of images, not including thumbnails, available from the current input source.
|
int |
ImageReader.getNumThumbnails(int imageIndex)
Returns the number of thumbnail preview images associated with the given image.
|
ImageTypeSpecifier |
ImageReader.getRawImageType(int imageIndex)
Returns an
ImageTypeSpecifier indicating the
SampleModel and
ColorModel which most closely represents the "raw" internal format of the image.
|
abstract IIOMetadata |
ImageReader.getStreamMetadata()
Returns an
IIOMetadata object representing the metadata associated with the input source as a whole (i.e., not associated with any particular image), or
null if the reader does not support reading metadata, is set to ignore metadata, or if no metadata is available.
|
IIOMetadata |
ImageReader.getStreamMetadata(String
Returns an
IIOMetadata object representing the metadata associated with the input source as a whole (i.e., not associated with any particular image).
|
int |
ImageReader.getThumbnailHeight(int imageIndex, int thumbnailIndex)
Returns the height of the thumbnail preview image indexed by
thumbnailIndex, associated with the image indexed by
ImageIndex.
|
int |
ImageReader.getThumbnailWidth(int imageIndex, int thumbnailIndex)
Returns the width of the thumbnail preview image indexed by
thumbnailIndex, associated with the image indexed by
ImageIndex.
|
int |
ImageReader.getTileGridXOffset(int imageIndex)
Returns the X coordinate of the upper-left corner of tile (0, 0) in the given image.
|
int |
ImageReader.getTileGridYOffset(int imageIndex)
Returns the Y coordinate of the upper-left corner of tile (0, 0) in the given image.
|
int |
ImageReader.getTileHeight(int imageIndex)
Returns the height of a tile in the given image.
|
int |
ImageReader.getTileWidth(int imageIndex)
Returns the width of a tile in the given image.
|
abstract int |
ImageReader.getWidth(int imageIndex)
Returns the width in pixels of the given image within the input source.
|
boolean |
ImageReader.hasThumbnails(int imageIndex)
Returns
true if the given image has thumbnail preview images associated with it.
|
boolean |
ImageReader.isImageTiled(int imageIndex)
Returns
true if the image is organized into
tiles, that is, equal-sized non-overlapping rectangles.
|
boolean |
ImageReader.isRandomAccessEasy(int imageIndex)
Returns
true if the storage format of the given image places no inherent impediment on random access to pixels.
|
void |
ImageWriter.prepareInsertEmpty(int imageIndex, ImageTypeSpecifier
Begins the insertion of a new image with undefined pixel values into an existing image stream.
|
void |
ImageWriter.prepareReplacePixels(int imageIndex, Rectangle
Prepares the writer to handle a series of calls to the
replacePixels methods.
|
void |
ImageWriter.prepareWriteEmpty(IIOMetadata
Begins the writing of a complete image stream, consisting of a single image with undefined pixel values and associated metadata and thumbnails, to the output.
|
void |
ImageWriter.prepareWriteSequence(IIOMetadata
Prepares a stream to accept a series of subsequent
writeToSequence calls, using the provided stream metadata object.
|
static BufferedImage |
ImageIO.read(File
Returns a
BufferedImage as the result of decoding a supplied
File with an
ImageReader chosen automatically from among those currently registered.
|
static BufferedImage |
ImageIO.read(ImageInputStream
Returns a
BufferedImage as the result of decoding a supplied
ImageInputStream with an
ImageReader chosen automatically from among those currently registered.
|
static BufferedImage |
ImageIO.read(InputStream
Returns a
BufferedImage as the result of decoding a supplied
InputStream with an
ImageReader chosen automatically from among those currently registered.
|
BufferedImage |
ImageReader.read(int imageIndex)
Reads the image indexed by
imageIndex and returns it as a complete
BufferedImage, using a default
ImageReadParam.
|
abstract BufferedImage |
ImageReader.read(int imageIndex, ImageReadParam
Reads the image indexed by
imageIndex and returns it as a complete
BufferedImage, using a supplied
ImageReadParam.
|
static BufferedImage |
ImageIO.read(URL
Returns a
BufferedImage as the result of decoding a supplied
URL with an
ImageReader chosen automatically from among those currently registered.
|
IIOImage |
ImageReader.readAll(int imageIndex, ImageReadParam
Reads the image indexed by
imageIndex and returns an
IIOImage containing the image, thumbnails, and associated image metadata, using a supplied
ImageReadParam.
|
Iterator |
ImageReader.readAll(Iterator
Returns an
Iterator containing all the images, thumbnails, and metadata, starting at the index given by
getMinIndex, from the input source in the form of
IIOImage objects.
|
RenderedImage |
ImageReader.readAsRenderedImage(int imageIndex, ImageReadParam
Returns a
RenderedImage object that contains the contents of the image indexed by
imageIndex.
|
Raster |
ImageReader.readRaster(int imageIndex, ImageReadParam
Returns a new
Raster object containing the raw pixel data from the image stream, without any color conversion applied.
|
BufferedImage |
ImageReader.readThumbnail(int imageIndex, int thumbnailIndex)
Returns the thumbnail preview image indexed by
thumbnailIndex, associated with the image indexed by
ImageIndex as a
BufferedImage.
|
BufferedImage |
ImageReader.readTile(int imageIndex, int tileX, int tileY)
Reads the tile indicated by the
tileX and
tileY arguments, returning it as a
BufferedImage.
|
Raster |
ImageReader.readTileRaster(int imageIndex, int tileX, int tileY)
Returns a new
Raster object containing the raw pixel data from the tile, without any color conversion applied.
|
void |
ImageWriter.removeImage(int imageIndex)
Removes an image from the stream.
|
void |
ImageWriter.replaceImageMetadata(int imageIndex, IIOMetadata
Replaces the image metadata associated with an existing image.
|
void |
ImageWriter.replacePixels(Raster
Replaces a portion of an image already present in the output with a portion of the given
Raster.
|
void |
ImageWriter.replacePixels(RenderedImage
Replaces a portion of an image already present in the output with a portion of the given image.
|
void |
ImageWriter.replaceStreamMetadata(IIOMetadata
Replaces the stream metadata in the output with new information.
|
void |
ImageWriter.write(IIOImage
Appends a complete image stream containing a single image with default metadata and thumbnails to the output.
|
abstract void |
ImageWriter.write(IIOMetadata
Appends a complete image stream containing a single image and associated stream and image metadata and thumbnails to the output.
|
void |
ImageWriter.write(RenderedImage
Appends a complete image stream consisting of a single image with default metadata and thumbnails to the output.
|
static boolean |
ImageIO.write(RenderedImage
Writes an image using an arbitrary
ImageWriter that supports the given format to a
File.
|
static boolean |
ImageIO.write(RenderedImage
Writes an image using the an arbitrary
ImageWriter that supports the given format to an
ImageOutputStream.
|
static boolean |
ImageIO.write(RenderedImage
Writes an image using an arbitrary
ImageWriter that supports the given format to an
OutputStream.
|
void |
ImageWriter.writeInsert(int imageIndex, IIOImage
Inserts a new image into an existing image stream.
|
void |
ImageWriter.writeToSequence(IIOImage
Appends a single image and possibly associated metadata and thumbnails, to the output.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IIOInvalidTreeException
An
IIOInvalidTreeException is thrown when an attempt by an
IIOMetadata object to parse a tree of
IIOMetadataNodes fails.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
ImageReaderSpi.canDecodeInput(Object
Returns
true if the supplied source object appears to be of the format supported by this reader.
|
ImageInputStream |
ImageInputStreamSpi.createInputStreamInstance(Object
Returns an instance of the
ImageInputStream implementation associated with this service provider.
|
abstract ImageInputStream |
ImageInputStreamSpi.createInputStreamInstance(Object
Returns an instance of the
ImageInputStream implementation associated with this service provider.
|
ImageOutputStream |
ImageOutputStreamSpi.createOutputStreamInstance(Object
Returns an instance of the
ImageOutputStream implementation associated with this service provider.
|
abstract ImageOutputStream |
ImageOutputStreamSpi.createOutputStreamInstance(Object
Returns an instance of the
ImageOutputStream implementation associated with this service provider.
|
ImageReader |
ImageReaderSpi.createReaderInstance()
Returns an instance of the
ImageReader implementation associated with this service provider.
|
abstract ImageReader |
ImageReaderSpi.createReaderInstance(Object
Returns an instance of the
ImageReader implementation associated with this service provider.
|
ImageWriter |
ImageWriterSpi.createWriterInstance()
Returns an instance of the
ImageWriter implementation associated with this service provider.
|
abstract ImageWriter |
ImageWriterSpi.createWriterInstance(Object
Returns an instance of the
ImageWriter implementation associated with this service provider.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ImageInputStreamImpl.checkClosed()
Throws an
IOException if the stream has been closed.
|
void |
FileImageOutputStream.close()
|
void |
FileCacheImageInputStream.close()
Closes this
FileCacheImageInputStream, closing and removing the cache file.
|
void |
MemoryCacheImageOutputStream.close()
Closes this
MemoryCacheImageOutputStream.
|
void |
MemoryCacheImageInputStream.close()
Closes this
MemoryCacheImageInputStream, freeing the cache.
|
void |
FileCacheImageOutputStream.close()
Closes this
FileCacheImageOutputStream.
|
void |
ImageInputStream.close()
Closes the stream.
|
void |
ImageInputStreamImpl.close()
|
void |
FileImageInputStream.close()
|
void |
ImageInputStream.flush()
Discards the initial position of the stream prior to the current stream position.
|
void |
ImageInputStreamImpl.flush()
|
void |
ImageOutputStream.flushBefore(long pos)
Flushes all data prior to the given position to the underlying destination, such as an
OutputStream or
File.
|
void |
MemoryCacheImageOutputStream.flushBefore(long pos)
|
void |
MemoryCacheImageInputStream.flushBefore(long pos)
|
void |
FileCacheImageOutputStream.flushBefore(long pos)
|
void |
ImageInputStream.flushBefore(long pos)
Discards the initial portion of the stream prior to the indicated position.
|
void |
ImageInputStreamImpl.flushBefore(long pos)
|
protected void |
ImageOutputStreamImpl.flushBits()
If the bit offset is non-zero, forces the remaining bits in the current byte to 0 and advances the stream position by one.
|
int |
ImageInputStream.getBitOffset()
Returns the current bit offset, as an integer between 0 and 7, inclusive.
|
int |
ImageInputStreamImpl.getBitOffset()
|
long |
ImageInputStream.getStreamPosition()
Returns the current byte position of the stream.
|
long |
ImageInputStreamImpl.getStreamPosition()
|
long |
ImageInputStream.length()
Returns the total length of the stream, if known.
|
int |
FileImageOutputStream.read()
|
int |
FileCacheImageInputStream.read()
|
int |
MemoryCacheImageOutputStream.read()
|
int |
MemoryCacheImageInputStream.read()
|
int |
FileCacheImageOutputStream.read()
|
int |
ImageInputStream.read()
Reads a single byte from the stream and returns it as an integer between 0 and 255.
|
abstract int |
ImageInputStreamImpl.read()
Reads a single byte from the stream and returns it as an
int between 0 and 255.
|
int |
FileImageInputStream.read()
|
int |
ImageInputStream.read(byte[] b)
Reads up to
b.length bytes from the stream, and stores them into
b starting at index 0.
|
int |
ImageInputStreamImpl.read(byte[] b)
A convenience method that calls
read(b, 0, b.length).
|
int |
FileImageOutputStream.read(byte[] b, int off, int len)
|
int |
FileCacheImageInputStream.read(byte[] b, int off, int len)
|
int |
MemoryCacheImageOutputStream.read(byte[] b, int off, int len)
|
int |
MemoryCacheImageInputStream.read(byte[] b, int off, int len)
|
int |
FileCacheImageOutputStream.read(byte[] b, int off, int len)
|
int |
ImageInputStream.read(byte[] b, int off, int len)
Reads up to
len bytes from the stream, and stores them into
b starting at index
off.
|
abstract int |
ImageInputStreamImpl.read(byte[] b, int off, int len)
Reads up to
len bytes from the stream, and stores them into
b starting at index
off.
|
int |
FileImageInputStream.read(byte[] b, int off, int len)
|
int |
ImageInputStream.readBit()
Reads a single bit from the stream and returns it as an
int with the value
0 or
1.
|
int |
ImageInputStreamImpl.readBit()
|
long |
ImageInputStream.readBits(int numBits)
Reads a bitstring from the stream and returns it as a
long, with the first bit read becoming the most significant bit of the output.
|
long |
ImageInputStreamImpl.readBits(int numBits)
|
boolean |
ImageInputStream.readBoolean()
Reads a byte from the stream and returns a
boolean value of
true if it is nonzero,
false if it is zero.
|
boolean |
ImageInputStreamImpl.readBoolean()
|
byte |
ImageInputStream.readByte()
Reads a byte from the stream and returns it as a
byte value.
|
byte |
ImageInputStreamImpl.readByte()
|
void |
ImageInputStream.readBytes(IIOByteBuffer
Reads up to
len bytes from the stream, and modifies the supplied
IIOByteBuffer to indicate the byte array, offset, and length where the data may be found.
|
void |
ImageInputStreamImpl.readBytes(IIOByteBuffer
|
char |
ImageInputStream.readChar()
Equivalent to
readUnsignedShort, except that the result is returned using the
char datatype.
|
char |
ImageInputStreamImpl.readChar()
|
double |
ImageInputStream.readDouble()
Reads 8 bytes from the stream, and (conceptually) concatenates them according to the current byte order and returns the result as a
double.
|
double |
ImageInputStreamImpl.readDouble()
|
float |
ImageInputStream.readFloat()
Reads 4 bytes from the stream, and (conceptually) concatenates them according to the current byte order and returns the result as a
float.
|
float |
ImageInputStreamImpl.readFloat()
|
void |
ImageInputStream.readFully(byte[] b)
Reads
b.length bytes from the stream, and stores them into
b starting at index
0.
|
void |
ImageInputStreamImpl.readFully(byte[] b)
|
void |
ImageInputStream.readFully(byte[] b, int off, int len)
Reads
len bytes from the stream, and stores them into
b starting at index
off.
|
void |
ImageInputStreamImpl.readFully(byte[] b, int off, int len)
|
void |
ImageInputStream.readFully(char[] c, int off, int len)
Reads
len chars (unsigned 16-bit integers) from the stream according to the current byte order, and stores them into
c starting at index
off.
|
void |
ImageInputStreamImpl.readFully(char[] c, int off, int len)
|
void |
ImageInputStream.readFully(double[] d, int off, int len)
Reads
len doubles (64-bit IEEE double-precision floats) from the stream according to the current byte order, and stores them into
d starting at index
off.
|
void |
ImageInputStreamImpl.readFully(double[] d, int off, int len)
|
void |
ImageInputStream.readFully(float[] f, int off, int len)
Reads
len floats (32-bit IEEE single-precision floats) from the stream according to the current byte order, and stores them into
f starting at index
off.
|
void |
ImageInputStreamImpl.readFully(float[] f, int off, int len)
|
void |
ImageInputStream.readFully(int[] i, int off, int len)
Reads
len ints (signed 32-bit integers) from the stream according to the current byte order, and stores them into
i starting at index
off.
|
void |
ImageInputStreamImpl.readFully(int[] i, int off, int len)
|
void |
ImageInputStream.readFully(long[] l, int off, int len)
Reads
len longs (signed 64-bit integers) from the stream according to the current byte order, and stores them into
l starting at index
off.
|
void |
ImageInputStreamImpl.readFully(long[] l, int off, int len)
|
void |
ImageInputStream.readFully(short[] s, int off, int len)
Reads
len shorts (signed 16-bit integers) from the stream according to the current byte order, and stores them into
s starting at index
off.
|
void |
ImageInputStreamImpl.readFully(short[] s, int off, int len)
|
int |
ImageInputStream.readInt()
Reads 4 bytes from the stream, and (conceptually) concatenates them according to the current byte order and returns the result as an
int.
|
int |
ImageInputStreamImpl.readInt()
|
String |
ImageInputStream.readLine()
Reads the next line of text from the input stream.
|
String |
ImageInputStreamImpl.readLine()
|
long |
ImageInputStream.readLong()
Reads 8 bytes from the stream, and (conceptually) concatenates them according to the current byte order and returns the result as a
long.
|
long |
ImageInputStreamImpl.readLong()
|
short |
ImageInputStream.readShort()
Reads two bytes from the stream, and (conceptually) concatenates them according to the current byte order, and returns the result as a
short value.
|
short |
ImageInputStreamImpl.readShort()
|
int |
ImageInputStream.readUnsignedByte()
Reads a byte from the stream, and (conceptually) converts it to an int, masks it with
0xff in order to strip off any sign-extension bits, and returns it as a
byte value.
|
int |
ImageInputStreamImpl.readUnsignedByte()
|
long |
ImageInputStream.readUnsignedInt()
Reads 4 bytes from the stream, and (conceptually) concatenates them according to the current byte order, converts the result to a long, masks it with
0xffffffffL in order to strip off any sign-extension bits, and returns the result as an unsigned
long value.
|
long |
ImageInputStreamImpl.readUnsignedInt()
|
int |
ImageInputStream.readUnsignedShort()
Reads two bytes from the stream, and (conceptually) concatenates them according to the current byte order, converts the resulting value to an
int, masks it with
0xffff in order to strip off any sign-extension buts, and returns the result as an unsigned
int value.
|
int |
ImageInputStreamImpl.readUnsignedShort()
|
String |
ImageInputStream.readUTF()
Reads in a string that has been encoded using a
modified UTF-8 format.
|
String |
ImageInputStreamImpl.readUTF()
|
void |
ImageInputStream.reset()
Returns the stream pointer to its previous position, including the bit offset, at the time of the most recent unmatched call to
mark.
|
void |
ImageInputStreamImpl.reset()
Resets the current stream byte and bit positions from the stack of marked positions.
|
void |
FileImageOutputStream.seek(long pos)
Sets the current stream position and resets the bit offset to 0.
|
void |
FileCacheImageOutputStream.seek(long pos)
Sets the current stream position and resets the bit offset to 0.
|
void |
ImageInputStream.seek(long pos)
Sets the current stream position to the desired location.
|
void |
ImageInputStreamImpl.seek(long pos)
|
void |
FileImageInputStream.seek(long pos)
|
void |
ImageInputStream.setBitOffset(int bitOffset)
Sets the bit offset to an integer between 0 and 7, inclusive.
|
void |
ImageInputStreamImpl.setBitOffset(int bitOffset)
|
int |
ImageInputStream.skipBytes(int n)
Moves the stream position forward by a given number of bytes.
|
int |
ImageInputStreamImpl.skipBytes(int n)
Advances the current stream position by calling
seek(getStreamPosition() + n).
|
long |
ImageInputStream.skipBytes(long n)
Moves the stream position forward by a given number of bytes.
|
long |
ImageInputStreamImpl.skipBytes(long n)
Advances the current stream position by calling
seek(getStreamPosition() + n).
|
void |
ImageOutputStream.write(byte[] b)
Writes a sequence of bytes to the stream at the current position.
|
void |
ImageOutputStreamImpl.write(byte[] b)
|
void |
ImageOutputStream.write(byte[] b, int off, int len)
Writes a sequence of bytes to the stream at the current position.
|
void |
FileImageOutputStream.write(byte[] b, int off, int len)
|
void |
MemoryCacheImageOutputStream.write(byte[] b, int off, int len)
|
void |
FileCacheImageOutputStream.write(byte[] b, int off, int len)
|
abstract void |
ImageOutputStreamImpl.write(byte[] b, int off, int len)
|
void |
ImageOutputStream.write(int b)
Writes a single byte to the stream at the current position.
|
void |
FileImageOutputStream.write(int b)
|
void |
MemoryCacheImageOutputStream.write(int b)
|
void |
FileCacheImageOutputStream.write(int b)
|
abstract void |
ImageOutputStreamImpl.write(int b)
|
void |
ImageOutputStream.writeBit(int bit)
Writes a single bit, given by the least significant bit of the argument, to the stream at the current bit offset within the current byte position.
|
void |
ImageOutputStreamImpl.writeBit(int bit)
|
void |
ImageOutputStream.writeBits(long bits, int numBits)
Writes a sequence of bits, given by the
numBits least significant bits of the
bits argument in left-to-right order, to the stream at the current bit offset within the current byte position.
|
void |
ImageOutputStreamImpl.writeBits(long bits, int numBits)
|
void |
ImageOutputStream.writeBoolean(boolean v)
Writes a
boolean value to the stream.
|
void |
ImageOutputStreamImpl.writeBoolean(boolean v)
|
void |
ImageOutputStream.writeByte(int v)
Writes the 8 low-order bits of
v to the stream.
|
void |
ImageOutputStreamImpl.writeByte(int v)
|
void |
ImageOutputStream.writeBytes(String
Writes a string to the output stream.
|
void |
ImageOutputStreamImpl.writeBytes(String
|
void |
ImageOutputStream.writeChar(int v)
This method is a synonym for
writeShort.
|
void |
ImageOutputStreamImpl.writeChar(int v)
|
void |
ImageOutputStream.writeChars(char[] c, int off, int len)
Writes a sequence of chars to the stream at the current position.
|
void |
ImageOutputStreamImpl.writeChars(char[] c, int off, int len)
|
void |
ImageOutputStream.writeChars(String
Writes a string to the output stream.
|
void |
ImageOutputStreamImpl.writeChars(String
|
void |
ImageOutputStream.writeDouble(double v)
Writes a
double value, which is comprised of four bytes, to the output stream.
|
void |
ImageOutputStreamImpl.writeDouble(double v)
|
void |
ImageOutputStream.writeDoubles(double[] d, int off, int len)
Writes a sequence of doubles to the stream at the current position.
|
void |
ImageOutputStreamImpl.writeDoubles(double[] d, int off, int len)
|
void |
ImageOutputStream.writeFloat(float v)
Writes a
float value, which is comprised of four bytes, to the output stream.
|
void |
ImageOutputStreamImpl.writeFloat(float v)
|
void |
ImageOutputStream.writeFloats(float[] f, int off, int len)
Writes a sequence of floats to the stream at the current position.
|
void |
ImageOutputStreamImpl.writeFloats(float[] f, int off, int len)
|
void |
ImageOutputStream.writeInt(int v)
Writes the 32 bits of
v to the stream.
|
void |
ImageOutputStreamImpl.writeInt(int v)
|
void |
ImageOutputStream.writeInts(int[] i, int off, int len)
Writes a sequence of ints to the stream at the current position.
|
void |
ImageOutputStreamImpl.writeInts(int[] i, int off, int len)
|
void |
ImageOutputStream.writeLong(long v)
Writes the 64 bits of
v to the stream.
|
void |
ImageOutputStreamImpl.writeLong(long v)
|
void |
ImageOutputStream.writeLongs(long[] l, int off, int len)
Writes a sequence of longs to the stream at the current position.
|
void |
ImageOutputStreamImpl.writeLongs(long[] l, int off, int len)
|
void |
ImageOutputStream.writeShort(int v)
Writes the 16 low-order bits of
v to the stream.
|
void |
ImageOutputStreamImpl.writeShort(int v)
|
void |
ImageOutputStream.writeShorts(short[] s, int off, int len)
Writes a sequence of shorts to the stream at the current position.
|
void |
ImageOutputStreamImpl.writeShorts(short[] s, int off, int len)
|
void |
ImageOutputStream.writeUTF(String
Writes two bytes of length information to the output stream in network byte order, followed by the
modified UTF-8 representation of every character in the string
s.
|
void |
ImageOutputStreamImpl.writeUTF(String
|
| Constructor and Description | |
|---|---|
FileCacheImageInputStream(InputStream
Constructs a
FileCacheImageInputStream that will read from a given
InputStream.
|
|
FileCacheImageOutputStream(OutputStream
Constructs a
FileCacheImageOutputStream that will write to a given
outputStream.
|
|
FileImageInputStream(File
Constructs a
FileImageInputStream that will read from a given
File.
|
|
FileImageOutputStream(File
Constructs a
FileImageOutputStream that will write to a given
File.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MBeanServerConnection.addNotificationListener(ObjectName
Adds a listener to a registered MBean.
|
void |
MBeanServerConnection.addNotificationListener(ObjectName
Adds a listener to a registered MBean.
|
ObjectInstance |
MBeanServerConnection.createMBean(String
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServerConnection.createMBean(String
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServerConnection.createMBean(String
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServerConnection.createMBean(String
Instantiates and registers an MBean in the MBean server.
|
Object |
MBeanServerConnection.getAttribute(ObjectName
Gets the value of a specific attribute of a named MBean.
|
AttributeList |
MBeanServerConnection.getAttributes(ObjectName
Retrieves the values of several attributes of a named MBean.
|
String |
MBeanServerConnection.getDefaultDomain()
Returns the default domain used for naming the MBean.
|
String |
MBeanServerConnection.getDomains()
Returns the list of domains in which any MBean is currently registered.
|
Integer |
MBeanServerConnection.getMBeanCount()
Returns the number of MBeans registered in the MBean server.
|
MBeanInfo |
MBeanServerConnection.getMBeanInfo(ObjectName
This method discovers the attributes and operations that an MBean exposes for management.
|
ObjectInstance |
MBeanServerConnection.getObjectInstance(ObjectName
Gets the
ObjectInstance for a given MBean registered with the MBean server.
|
Object |
MBeanServerConnection.invoke(ObjectName
Invokes an operation on an MBean.
|
boolean |
MBeanServerConnection.isInstanceOf(ObjectName
Returns true if the MBean specified is an instance of the specified class, false otherwise.
|
boolean |
MBeanServerConnection.isRegistered(ObjectName
Checks whether an MBean, identified by its object name, is already registered with the MBean server.
|
Set |
MBeanServerConnection.queryMBeans(ObjectName
Gets MBeans controlled by the MBean server.
|
Set |
MBeanServerConnection.queryNames(ObjectName
Gets the names of MBeans controlled by the MBean server.
|
void |
MBeanServerConnection.removeNotificationListener(ObjectName
Removes a listener from a registered MBean.
|
void |
MBeanServerConnection.removeNotificationListener(ObjectName
Removes a listener from a registered MBean.
|
void |
MBeanServerConnection.removeNotificationListener(ObjectName
Removes a listener from a registered MBean.
|
void |
MBeanServerConnection.removeNotificationListener(ObjectName
Removes a listener from a registered MBean.
|
void |
MBeanServerConnection.setAttribute(ObjectName
Sets the value of a specific attribute of a named MBean.
|
AttributeList |
MBeanServerConnection.setAttributes(ObjectName
Sets the values of several attributes of a named MBean.
|
void |
MBeanServerConnection.unregisterMBean(ObjectName
Unregisters an MBean from the MBean server.
|
| Modifier and Type | Method and Description |
|---|---|
Enumeration |
MLetMBean.getResources(String
Finds all the resources with the given name.
|
void |
MLet.readExternal(ObjectInput
Restore this MLet's contents from the given
ObjectInput.
|
void |
MLet.writeExternal(ObjectOutput
Save this MLet's contents to the given
ObjectOutput.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JMXProviderException
Exception thrown by
JMXConnectorFactory and
JMXConnectorServerFactory when a provider exists for the required protocol but cannot be used for some reason.
|
class |
JMXServerErrorException
Exception thrown as the result of a remote
MBeanServer method invocation when an
Error is thrown while processing the invocation in the remote MBean server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JMXConnector.close()
Closes the client connection to its server.
|
void |
JMXConnector.connect()
Establishes the connection to the connector server.
|
static JMXConnector |
JMXConnectorFactory.connect(JMXServiceURL
Creates a connection to the connector server at the given address.
|
static JMXConnector |
JMXConnectorFactory.connect(JMXServiceURL
Creates a connection to the connector server at the given address.
|
void |
JMXConnector.connect(Map
Establishes the connection to the connector server.
|
String |
JMXConnector.getConnectionId()
Gets this connection's ID from the connector server.
|
MBeanServerConnection |
JMXConnector.getMBeanServerConnection()
Returns an
MBeanServerConnection object representing a remote MBean server.
|
MBeanServerConnection |
JMXConnector.getMBeanServerConnection(Subject
Returns an
MBeanServerConnection object representing a remote MBean server on which operations are performed on behalf of the supplied delegation subject.
|
JMXConnector |
JMXConnectorProvider.newJMXConnector(JMXServiceURL
Creates a new connector client that is ready to connect to the connector server at the given address.
|
static JMXConnector |
JMXConnectorFactory.newJMXConnector(JMXServiceURL
Creates a connector client for the connector server at the given address.
|
static JMXConnectorServer |
JMXConnectorServerFactory.newJMXConnectorServer(JMXServiceURL
Creates a connector server at the given address.
|
JMXConnectorServer |
JMXConnectorServerProvider.newJMXConnectorServer(JMXServiceURL
Creates a new connector server at the given address.
|
void |
JMXConnectorServerMBean.start()
Activates the connector server, that is, starts listening for client connections.
|
void |
JMXConnectorServerMBean.stop()
Deactivates the connector server, that is, stops listening for client connections.
|
JMXConnector |
JMXConnectorServer.toJMXConnector(Map
Returns a client stub for this connector server.
|
JMXConnector |
JMXConnectorServerMBean.toJMXConnector(Map
Returns a client stub for this connector server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RMIConnection.addNotificationListener(ObjectName
|
void |
RMIConnectionImpl.addNotificationListener(ObjectName
|
Integer |
RMIConnection.addNotificationListeners(ObjectName
|
Integer |
RMIConnectionImpl.addNotificationListeners(ObjectName
|
protected void |
RMIServerImpl.clientClosed(RMIConnection
Method called when a client connection created by
makeClient is closed.
|
void |
RMIConnector.close()
|
void |
RMIConnection.close()
Closes this connection.
|
void |
RMIConnectionImpl.close()
|
void |
RMIServerImpl.close()
Closes this connection server.
|
protected void |
RMIJRMPServerImpl.closeClient(RMIConnection
|
protected void |
RMIIIOPServerImpl.closeClient(RMIConnection
|
protected abstract void |
RMIServerImpl.closeClient(RMIConnection
Closes a client connection made by
makeClient.
|
protected void |
RMIJRMPServerImpl.closeServer()
Called by
RMIServerImpl to close the connector server by unexporting this object.
|
protected void |
RMIIIOPServerImpl.closeServer()
Called by
RMIServerImpl to close the connector server by unexporting this object.
|
protected abstract void |
RMIServerImpl.closeServer()
Called by
RMIServerImpl to close the connector server.
|
void |
RMIConnector.connect()
|
void |
RMIConnector.connect(Map
|
ObjectInstance |
RMIConnection.createMBean(String
Handles the method
MBeanServerConnection.
|
ObjectInstance |
RMIConnectionImpl.createMBean(String
|
ObjectInstance |
RMIConnection.createMBean(String
|
ObjectInstance |
RMIConnectionImpl.createMBean(String
|
ObjectInstance |
RMIConnection.createMBean(String
Handles the method
MBeanServerConnection.
|
ObjectInstance |
RMIConnectionImpl.createMBean(String
|
ObjectInstance |
RMIConnection.createMBean(String
Handles the method
MBeanServerConnection.
|
ObjectInstance |
RMIConnectionImpl.createMBean(String
|
protected void |
RMIJRMPServerImpl.export()
|
protected void |
RMIIIOPServerImpl.export()
|
protected abstract void |
RMIServerImpl.export()
Exports this RMI object.
|
NotificationResult |
RMIConnection.fetchNotifications(long clientSequenceNumber, int maxNotifications, long timeout)
Retrieves notifications from the connector server.
|
NotificationResult |
RMIConnectionImpl.fetchNotifications(long clientSequenceNumber, int maxNotifications, long timeout)
|
Object |
RMIConnection.getAttribute(ObjectName
Handles the method
MBeanServerConnection.
|
Object |
RMIConnectionImpl.getAttribute(ObjectName
|
AttributeList |
RMIConnection.getAttributes(ObjectName
Handles the method
MBeanServerConnection.
|
AttributeList |
RMIConnectionImpl.getAttributes(ObjectName
|
String |
RMIConnector.getConnectionId()
|
String |
RMIConnection.getConnectionId()
Returns the connection ID.
|
String |
RMIConnectionImpl.getConnectionId()
|
String |
RMIConnection.getDefaultDomain(Subject
Handles the method
MBeanServerConnection.
|
String |
RMIConnectionImpl.getDefaultDomain(Subject
|
String |
RMIConnection.getDomains(Subject
Handles the method
MBeanServerConnection.
|
String |
RMIConnectionImpl.getDomains(Subject
|
Integer |
RMIConnection.getMBeanCount(Subject
Handles the method
MBeanServerConnection.
|
Integer |
RMIConnectionImpl.getMBeanCount(Subject
|
MBeanInfo |
RMIConnection.getMBeanInfo(ObjectName
Handles the method
MBeanServerConnection.
|
MBeanInfo |
RMIConnectionImpl.getMBeanInfo(ObjectName
|
MBeanServerConnection |
RMIConnector.getMBeanServerConnection()
|
MBeanServerConnection |
RMIConnector.getMBeanServerConnection(Subject
|
ObjectInstance |
RMIConnection.getObjectInstance(ObjectName
Handles the method
MBeanServerConnection.
|
ObjectInstance |
RMIConnectionImpl.getObjectInstance(ObjectName
|
Object |
RMIConnection.invoke(ObjectName
Handles the method
MBeanServerConnection.
|
Object |
RMIConnectionImpl.invoke(ObjectName
|
boolean |
RMIConnection.isInstanceOf(ObjectName
Handles the method
MBeanServerConnection.
|
boolean |
RMIConnectionImpl.isInstanceOf(ObjectName
|
boolean |
RMIConnection.isRegistered(ObjectName
Handles the method
MBeanServerConnection.
|
boolean |
RMIConnectionImpl.isRegistered(ObjectName
|
protected RMIConnection |
RMIJRMPServerImpl.makeClient(String
Creates a new client connection as an RMI object exported through JRMP.
|
protected RMIConnection |
RMIIIOPServerImpl.makeClient(String
Creates a new client connection as an RMI object exported through IIOP.
|
protected abstract RMIConnection |
RMIServerImpl.makeClient(String
Creates a new client connection.
|
RMIConnection |
RMIServer.newClient(Object
Makes a new connection through this RMI connector.
|
RMIConnection |
RMIServerImpl.newClient(Object
Creates a new client connection.
|
Set |
RMIConnection.queryMBeans(ObjectName
Handles the method
MBeanServerConnection.
|
Set |
RMIConnectionImpl.queryMBeans(ObjectName
|
Set |
RMIConnection.queryNames(ObjectName
Handles the method
MBeanServerConnection.
|
Set |
RMIConnectionImpl.queryNames(ObjectName
|
void |
RMIConnection.removeNotificationListener(ObjectName
|
void |
RMIConnectionImpl.removeNotificationListener(ObjectName
|
void |
RMIConnection.removeNotificationListener(ObjectName
Handles the method
MBeanServerConnection.
|
void |
RMIConnectionImpl.removeNotificationListener(ObjectName
|
void |
RMIConnection.removeNotificationListeners(ObjectName
|
void |
RMIConnectionImpl.removeNotificationListeners(ObjectName
|
void |
RMIConnection.setAttribute(ObjectName
Handles the method
MBeanServerConnection.
|
void |
RMIConnectionImpl.setAttribute(ObjectName
|
AttributeList |
RMIConnection.setAttributes(ObjectName
Handles the method
MBeanServerConnection.
|
AttributeList |
RMIConnectionImpl.setAttributes(ObjectName
|
void |
RMIConnectorServer.start()
Activates the connector server, that is starts listening for client connections.
|
void |
RMIConnectorServer.stop()
Deactivates the connector server, that is, stops listening for client connections.
|
JMXConnector |
RMIConnectorServer.toJMXConnector(Map
Returns a client stub for this connector server.
|
Remote |
RMIJRMPServerImpl.toStub()
Returns a serializable stub for this
RMIServer object.
|
Remote |
RMIIIOPServerImpl.toStub()
Returns an IIOP stub.
|
abstract Remote |
RMIServerImpl.toStub()
Returns a remotable stub for this server object.
|
void |
RMIConnection.unregisterMBean(ObjectName
Handles the method
MBeanServerConnection.
|
void |
RMIConnectionImpl.unregisterMBean(ObjectName
|
| Constructor and Description | |
|---|---|
RMIConnectorServer(JMXServiceURL
Makes an
RMIConnectorServer.
|
|
RMIConnectorServer(JMXServiceURL
Makes an
RMIConnectorServer for the given MBean server.
|
|
RMIConnectorServer(JMXServiceURL
Makes an
RMIConnectorServer for the given MBean server.
|
|
RMIIIOPServerImpl(Map
Creates a new
RMIServerImpl.
|
|
RMIJRMPServerImpl(int port, RMIClientSocketFactory
Creates a new
RMIServer object that will be exported on the given port using the given socket factories.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
StartTlsResponse.close()
Closes the TLS connection gracefully and reverts back to the underlying connection.
|
abstract SSLSession |
StartTlsResponse.negotiate()
Negotiates a TLS session using the default SSL socket factory.
|
abstract SSLSession |
StartTlsResponse.negotiate(SSLSocketFactory
Negotiates a TLS session using an SSL socket factory.
|
| Constructor and Description | |
|---|---|
PagedResultsControl(int pageSize, boolean criticality)
Constructs a control to set the number of entries to be returned per page of results.
|
|
PagedResultsControl(int pageSize, byte[] cookie, boolean criticality)
Constructs a control to set the number of entries to be returned per page of results.
|
|
PagedResultsResponseControl(String
Constructs a paged-results response control.
|
|
SortControl(SortKey
Constructs a control to sort on a list of sort keys.
|
|
SortControl(String
Constructs a control to sort on a list of attributes in ascending order.
|
|
SortControl(String
Constructs a control to sort on a single attribute in ascending order.
|
|
SortResponseControl(String
Constructs a control to indicate the outcome of a sort request.
|
| 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
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
Creates a socket and connects it to the specified port number at the specified address.
|
abstract Socket |
SocketFactory.createSocket(InetAddress
Creates a socket and connect it to the specified remote address on the specified remote port.
|
abstract Socket |
SocketFactory.createSocket(String
Creates a socket and connects it to the specified remote host at the specified remote port.
|
abstract Socket |
SocketFactory.createSocket(String
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 |
|---|---|
Socket |
SSLSocketFactory.createSocket(Socket
Creates a server mode
Socket layered over an existing connected socket, and is able to read data which has already been consumed/removed from the
Socket's underlying
InputStream.
|
abstract Socket |
SSLSocketFactory.createSocket(Socket
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 | |
|---|---|
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
Used only by subclasses.
|
|
SSLSocket(InetAddress
Used only by subclasses.
|
|
SSLSocket(InetAddress
Used only by subclasses.
|
|
SSLSocket(String
Used only by subclasses.
|
|
SSLSocket(String
Used only by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
Doc |
MultiDoc.getDoc()
Obtain the current doc object.
|
Object |
SimpleDoc.getPrintData()
|
Object |
Doc.getPrintData()
Obtains the print data representation object that contains this doc object's piece of print data in the format corresponding to the supported doc flavor.
|
Reader |
SimpleDoc.getReaderForText()
Obtains a reader for extracting character print data from this doc.
|
Reader |
Doc.getReaderForText()
Obtains a reader for extracting character print data from this doc.
|
InputStream |
SimpleDoc.getStreamForBytes()
Obtains an input stream for extracting byte print data from this doc.
|
InputStream |
Doc.getStreamForBytes()
Obtains an input stream for extracting byte print data from this doc.
|
MultiDoc |
MultiDoc.next()
Go to the multidoc object that contains the next doc object in the sequence of doc objects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StubDelegate.readObject(Stub
Delegation call for
Stub.readObject(java.io.ObjectInputStream).
|
void |
StubDelegate.writeObject(Stub
Delegation call for
Stub.writeObject(java.io.ObjectOutputStream).
|
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
SslRMIServerSocketFactory.createServerSocket(int port)
Creates a server socket that accepts SSL connections configured according to this factory's SSL socket configuration parameters.
|
Socket |
SslRMIClientSocketFactory.createSocket(String
Creates an SSL socket.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CallbackHandler.handle(Callback
Retrieve or display the information requested in the provided Callbacks.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AuthenticationException
This exception is thrown by a SASL mechanism implementation to indicate that the SASL exchange has failed due to reasons related to authentication, such as an invalid identity, passphrase, or key.
|
class |
SaslException
This class represents an error that has occurred when using SASL.
|
| Modifier and Type | Method and Description |
|---|---|
static MidiFileFormat |
MidiSystem.getMidiFileFormat(File
Obtains the MIDI file format of the specified
File.
|
static MidiFileFormat |
MidiSystem.getMidiFileFormat(InputStream
Obtains the MIDI file format of the data in the specified input stream.
|
static MidiFileFormat |
MidiSystem.getMidiFileFormat(URL
Obtains the MIDI file format of the data in the specified URL.
|
static Sequence |
MidiSystem.getSequence(File
Obtains a MIDI sequence from the specified
File.
|
static Sequence |
MidiSystem.getSequence(InputStream
Obtains a MIDI sequence from the specified input stream.
|
static Sequence |
MidiSystem.getSequence(URL
Obtains a MIDI sequence from the specified URL.
|
static Soundbank |
MidiSystem.getSoundbank(File
Constructs a
Soundbank by reading it from the specified
File.
|
static Soundbank |
MidiSystem.getSoundbank(InputStream
Constructs a MIDI sound bank by reading it from the specified stream.
|
static Soundbank |
MidiSystem.getSoundbank(URL
Constructs a
Soundbank by reading it from the specified URL.
|
void |
Sequencer.setSequence(InputStream
Sets the current sequence on which the sequencer operates.
|
static int |
MidiSystem.write(Sequence
Writes a stream of bytes representing a file of the MIDI file type indicated to the external file provided.
|
static int |
MidiSystem.write(Sequence
Writes a stream of bytes representing a file of the MIDI file type indicated to the output stream provided.
|
| Modifier and Type | Method and Description |
|---|---|
abstract MidiFileFormat |
MidiFileReader.getMidiFileFormat(File
Obtains the MIDI file format of the
File provided.
|
abstract MidiFileFormat |
MidiFileReader.getMidiFileFormat(InputStream
Obtains the MIDI file format of the input stream provided.
|
abstract MidiFileFormat |
MidiFileReader.getMidiFileFormat(URL
Obtains the MIDI file format of the URL provided.
|
abstract Sequence |
MidiFileReader.getSequence(File
Obtains a MIDI sequence from the
File provided.
|
abstract Sequence |
MidiFileReader.getSequence(InputStream
Obtains a MIDI sequence from the input stream provided.
|
abstract Sequence |
MidiFileReader.getSequence(URL
Obtains a MIDI sequence from the URL provided.
|
abstract Soundbank |
SoundbankReader.getSoundbank(File
Obtains a soundbank object from the
File provided.
|
abstract Soundbank |
SoundbankReader.getSoundbank(InputStream
Obtains a soundbank object from the
InputStream provided.
|
abstract Soundbank |
SoundbankReader.getSoundbank(URL
Obtains a soundbank object from the URL provided.
|
abstract int |
MidiFileWriter.write(Sequence
Writes a stream of bytes representing a MIDI file of the file type indicated to the external file provided.
|
abstract int |
MidiFileWriter.write(Sequence
Writes a stream of bytes representing a MIDI file of the file type indicated to the output stream provided.
|
| Modifier and Type | Method and Description |
|---|---|
int |
AudioInputStream.available()
Returns the maximum number of bytes that can be read (or skipped over) from this audio input stream without blocking.
|
void |
AudioInputStream.close()
Closes this audio input stream and releases any system resources associated with the stream.
|
static AudioFileFormat |
AudioSystem.getAudioFileFormat(File
Obtains the audio file format of the specified
File.
|
static AudioFileFormat |
AudioSystem.getAudioFileFormat(InputStream
Obtains the audio file format of the provided input stream.
|
static AudioFileFormat |
AudioSystem.getAudioFileFormat(URL
Obtains the audio file format of the specified URL.
|
static AudioInputStream |
AudioSystem.getAudioInputStream(File
Obtains an audio input stream from the provided
File.
|
static AudioInputStream |
AudioSystem.getAudioInputStream(InputStream
Obtains an audio input stream from the provided input stream.
|
static AudioInputStream |
AudioSystem.getAudioInputStream(URL
Obtains an audio input stream from the URL provided.
|
void |
Clip.open(AudioInputStream
Opens the clip with the format and audio data present in the provided audio input stream.
|
int |
AudioInputStream.read()
Reads the next byte of data from the audio input stream.
|
int |
AudioInputStream.read(byte[] b)
Reads some number of bytes from the audio input stream and stores them into the buffer array
b.
|
int |
AudioInputStream.read(byte[] b, int off, int len)
Reads up to a specified maximum number of bytes of data from the audio stream, putting them into the given byte array.
|
void |
AudioInputStream.reset()
Repositions this audio input stream to the position it had at the time its
mark method was last invoked.
|
long |
AudioInputStream.skip(long n)
Skips over and discards a specified number of bytes from this audio input stream.
|
static int |
AudioSystem.write(AudioInputStream
Writes a stream of bytes representing an audio file of the specified file type to the external file provided.
|
static int |
AudioSystem.write(AudioInputStream
Writes a stream of bytes representing an audio file of the specified file type to the output stream provided.
|
| Modifier and Type | Method and Description |
|---|---|
abstract AudioFileFormat |
AudioFileReader.getAudioFileFormat(File
Obtains the audio file format of the
File provided.
|
abstract AudioFileFormat |
AudioFileReader.getAudioFileFormat(InputStream
Obtains the audio file format of the input stream provided.
|
abstract AudioFileFormat |
AudioFileReader.getAudioFileFormat(URL
Obtains the audio file format of the URL provided.
|
abstract AudioInputStream |
AudioFileReader.getAudioInputStream(File
Obtains an audio input stream from the
File provided.
|
abstract AudioInputStream |
AudioFileReader.getAudioInputStream(InputStream
Obtains an audio input stream from the input stream provided.
|
abstract AudioInputStream |
AudioFileReader.getAudioInputStream(URL
Obtains an audio input stream from the URL provided.
|
abstract int |
AudioFileWriter.write(AudioInputStream
Writes a stream of bytes representing an audio file of the file format indicated to the external file provided.
|
abstract int |
AudioFileWriter.write(AudioInputStream
Writes a stream of bytes representing an audio file of the file type indicated to the output stream provided.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WebRowSet.readXml(InputStream
Reads a stream based XML input to populate this
WebRowSet object.
|
void |
WebRowSet.writeXml(OutputStream
Writes the data, properties, and metadata for this
WebRowSet object to the given
OutputStream object in XML format.
|
void |
WebRowSet.writeXml(ResultSet
Populates this
WebRowSet object with the contents of the given
ResultSet object and writes its data, properties, and metadata to the given
OutputStream object in XML format.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProgressMonitorInputStream.close()
Overrides
FilterInputStream.close to close the progress monitor as well as the stream.
|
protected InputStream |
JEditorPane.getStream(URL
Fetches a stream for the given URL, which is about to be loaded by the
setPage method.
|
int |
ProgressMonitorInputStream.read()
Overrides
FilterInputStream.read to update the progress monitor after the read.
|
int |
ProgressMonitorInputStream.read(byte[] b)
Overrides
FilterInputStream.read to update the progress monitor after the read.
|
int |
ProgressMonitorInputStream.read(byte[] b, int off, int len)
Overrides
FilterInputStream.read to update the progress monitor after the read.
|
void |
JEditorPane.read(InputStream
This method initializes from a stream.
|
void |
ProgressMonitorInputStream.reset()
Overrides
FilterInputStream.reset to reset the progress monitor as well as the stream.
|
void |
JEditorPane.setPage(String
Sets the current URL being displayed.
|
void |
JEditorPane.setPage(URL
Sets the current URL being displayed.
|
long |
ProgressMonitorInputStream.skip(long n)
Overrides
FilterInputStream.skip to update the progress monitor after the skip.
|
| Constructor and Description | |
|---|---|
JEditorPane(String
Creates a
JEditorPane based on a string containing a URL specification.
|
|
JEditorPane(URL
Creates a
JEditorPane based on a specified URL for input.
|
| Modifier and Type | Method and Description |
|---|---|
abstract File |
FileSystemView.createNewFolder(File
Creates a new folder with a default folder name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SynthLookAndFeel.load(URL
Loads the set of
SynthStyles that will be used by this
SynthLookAndFeel.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChangedCharSetException
ChangedCharSetException as the name indicates is an exception thrown when the charset is changed.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractWriter.indent()
Does indentation.
|
protected void |
AbstractWriter.output(char[] content, int start, int length)
The last stop in writing out content.
|
abstract void |
EditorKit.read(InputStream
Inserts content from the given stream which is expected to be in a format appropriate for this kind of content handler.
|
void |
DefaultEditorKit.read(InputStream
Inserts content from the given stream which is expected to be in a format appropriate for this kind of content handler.
|
abstract void |
EditorKit.read(Reader
Inserts content from the given stream which is expected to be in a format appropriate for this kind of content handler.
|
void |
DefaultEditorKit.read(Reader
Inserts content from the given stream, which will be treated as plain text.
|
void |
JTextComponent.read(Reader
Initializes from a stream.
|
void |
StyleContext.readAttributes(ObjectInputStream
Context-specific handling of reading in attributes
|
static void |
StyleContext.readAttributeSet(ObjectInputStream
Reads a set of attributes from the given object input stream that have been previously written out with
writeAttributeSet.
|
protected void |
AbstractWriter.text(Element
Writes out text.
|
protected abstract void |
AbstractWriter.write()
This abstract method needs to be implemented by subclasses.
|
protected void |
AbstractWriter.write(char ch)
Writes out a character.
|
protected void |
AbstractWriter.write(char[] chars, int startIndex, int length)
All write methods call into this one.
|
abstract void |
EditorKit.write(OutputStream
Writes content from a document to the given stream in a format appropriate for this kind of content handler.
|
void |
DefaultEditorKit.write(OutputStream
Writes content from a document to the given stream in a format appropriate for this kind of content handler.
|
protected void |
AbstractWriter.write(String
Writes out a string.
|
void |
JTextComponent.write(Writer
Stores the contents of the model into the given stream.
|
abstract void |
EditorKit.write(Writer
Writes content from a document to the given stream in a format appropriate for this kind of content handler.
|
void |
DefaultEditorKit.write(Writer
Writes content from a document to the given stream as plain text.
|
protected void |
AbstractWriter.writeAttributes(AttributeSet
Writes out the set of attributes as " <name>=<value>" pairs.
|
void |
StyleContext.writeAttributes(ObjectOutputStream
Context-specific handling of writing out attributes
|
static void |
StyleContext.writeAttributeSet(ObjectOutputStream
Writes a set of attributes to the given object stream for the purpose of serialization.
|
protected void |
AbstractWriter.writeLineSeparator()
Writes the line separator.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
HTMLWriter.closeOutUnwantedEmbeddedTags(AttributeSet
Searches the attribute set and for each tag that is stored in the tag vector.
|
protected void |
HTMLWriter.comment(Element
Writes out comments.
|
protected void |
HTMLWriter.emptyTag(Element
Writes out all empty elements (all tags that have no corresponding end tag).
|
protected void |
MinimalHTMLWriter.endFontTag()
This is no longer used, instead <span> will be written out.
|
protected void |
HTMLWriter.endTag(Element
Writes out an end tag for the element.
|
void |
HTMLDocument.insertAfterEnd(Element
Inserts the HTML specified as a string after the the end of the given element.
|
void |
HTMLDocument.insertAfterStart(Element
Inserts the HTML specified as a string at the start of the element.
|
void |
HTMLDocument.insertBeforeEnd(Element
Inserts the HTML specified as a string at the end of the element.
|
void |
HTMLDocument.insertBeforeStart(Element
Inserts the HTML specified as a string before the start of the given element.
|
void |
HTMLEditorKit.insertHTML(HTMLDocument
Inserts HTML into an existing document.
|
void |
StyleSheet.loadRules(Reader
Loads a set of rules that have been specified in terms of CSS1 grammar.
|
protected void |
HTMLWriter.output(char[] chars, int start, int length)
This method is overriden to map any character entities, such as < to <.
|
abstract void |
HTMLEditorKit.Parser.parse(Reader
Parse the given stream and drive the given callback with the results of the parse.
|
void |
HTMLEditorKit.read(Reader
Inserts content from the given stream.
|
protected void |
HTMLWriter.selectContent(AttributeSet
Writes out the content of the SELECT form element.
|
void |
HTMLDocument.setInnerHTML(Element
Replaces the children of the given element with the contents specified as an HTML string.
|
void |
HTMLDocument.setOuterHTML(Element
Replaces the given element in the parent with the contents specified as an HTML string.
|
protected void |
MinimalHTMLWriter.startFontTag(String
This is no longer used, instead <span> will be written out.
|
protected void |
HTMLWriter.startTag(Element
Writes out a start tag for the element.
|
protected void |
HTMLWriter.text(Element
Writes out text.
|
protected void |
MinimalHTMLWriter.text(Element
Writes out text.
|
protected void |
HTMLWriter.textAreaContent(AttributeSet
Writes out text that is contained in a TEXTAREA form element.
|
void |
HTMLWriter.write()
Iterates over the Element tree and controls the writing out of all the tags and its attributes.
|
void |
MinimalHTMLWriter.write()
Generates HTML output from a StyledDocument.
|
void |
HTMLEditorKit.write(Writer
Write content from a document to the given stream in a format appropriate for this kind of content handler.
|
protected void |
HTMLWriter.writeAttributes(AttributeSet
Writes out the attribute set.
|
protected void |
MinimalHTMLWriter.writeAttributes(AttributeSet
Writes out all the attributes for the following types: StyleConstants.ParagraphConstants, StyleConstants.CharacterConstants, StyleConstants.FontConstants, StyleConstants.ColorConstants.
|
protected void |
MinimalHTMLWriter.writeBody()
Iterates over the elements in the document and processes elements based on whether they are branch elements or leaf elements.
|
protected void |
MinimalHTMLWriter.writeComponent(Element
Responsible for handling Component Elements; deliberately unimplemented.
|
protected void |
MinimalHTMLWriter.writeContent(Element
Writes out the attribute set in an HTML-compliant manner.
|
protected void |
HTMLWriter.writeEmbeddedTags(AttributeSet
Searches for embedded tags in the AttributeSet and writes them out.
|
protected void |
MinimalHTMLWriter.writeEndParagraph()
Emits an end tag for a <p> tag.
|
protected void |
MinimalHTMLWriter.writeEndTag(String
Writes out an end tag appropriately indented.
|
protected void |
MinimalHTMLWriter.writeHeader()
Writes out the <head> and <style> tags, and then invokes writeStyles() to write out all the named styles as the content of the <style> tag.
|
protected void |
MinimalHTMLWriter.writeHTMLTags(AttributeSet
Generates bold <b>, italic <i>, and <u> tags for the text based on its attribute settings.
|
protected void |
MinimalHTMLWriter.writeImage(Element
Responsible for handling Icon Elements; deliberately unimplemented.
|
protected void |
MinimalHTMLWriter.writeLeaf(Element
Responsible for writing out other non-text leaf elements.
|
protected void |
HTMLWriter.writeLineSeparator()
Writes the line separator.
|
protected void |
MinimalHTMLWriter.writeNonHTMLAttributes(AttributeSet
Writes out the remaining character-level attributes (attributes other than bold, italic, and underline) in an HTML-compliant way.
|
protected void |
HTMLWriter.writeOption(Option
Writes out the content of the Option form element.
|
protected void |
MinimalHTMLWriter.writeStartParagraph(Element
Emits the start tag for a paragraph.
|
protected void |
MinimalHTMLWriter.writeStartTag(String
Writes out a start tag appropriately indented.
|
protected void |
MinimalHTMLWriter.writeStyles()
Writes out all the named styles as the content of the <style> tag.
|
| Modifier and Type | Method and Description |
|---|---|
static DTD |
DTD.getDTD(String
Returns a DTD with the specified
name.
|
void |
Parser.parse(Reader
Parse an HTML stream, given a DTD.
|
void |
ParserDelegator.parse(Reader
|
void |
DocumentParser.parse(Reader
|
String |
Parser.parseDTDMarkup()
Parses th Document Declaration Type markup declaration.
|
protected boolean |
Parser.parseMarkupDeclarations(StringBuffer
Parse markup declarations.
|
void |
DTD.read(DataInputStream
Recreates a DTD from an archived format.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RTFEditorKit.read(InputStream
Insert content from the given stream which is expected to be in a format appropriate for this kind of content handler.
|
void |
RTFEditorKit.read(Reader
Insert content from the given stream, which will be treated as plain text.
|
void |
RTFEditorKit.write(OutputStream
Write content from a document to the given stream in a format appropriate for this kind of content handler.
|
void |
RTFEditorKit.write(Writer
Write content from a document to the given stream as plain text.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JavaFileManager.close()
Releases any resources opened by this file manager directly or indirectly.
|
void |
ForwardingJavaFileManager.close()
|
void |
JavaFileManager.flush()
Flushes any resources opened for output by this file manager directly or indirectly.
|
void |
ForwardingJavaFileManager.flush()
|
CharSequence |
ForwardingFileObject.getCharContent(boolean ignoreEncodingErrors)
|
CharSequence |
SimpleJavaFileObject.getCharContent(boolean ignoreEncodingErrors)
This implementation always throws
UnsupportedOperationException.
|
CharSequence |
FileObject.getCharContent(boolean ignoreEncodingErrors)
Gets the character content of this file object, if available.
|
FileObject |
JavaFileManager.getFileForInput(JavaFileManager
Gets a
file object for input representing the specified
relative name in the specified package in the given location.
|
FileObject |
ForwardingJavaFileManager.getFileForInput(JavaFileManager
|
FileObject |
JavaFileManager.getFileForOutput(JavaFileManager
Gets a
file object for output representing the specified
relative name in the specified package in the given location.
|
FileObject |
ForwardingJavaFileManager.getFileForOutput(JavaFileManager
|
JavaFileObject |
JavaFileManager.getJavaFileForInput(JavaFileManager
Gets a
file object for input representing the specified class of the specified kind in the given location.
|
JavaFileObject |
ForwardingJavaFileManager.getJavaFileForInput(JavaFileManager
|
JavaFileObject |
JavaFileManager.getJavaFileForOutput(JavaFileManager
Gets a
file object for output representing the specified class of the specified kind in the given location.
|
JavaFileObject |
ForwardingJavaFileManager.getJavaFileForOutput(JavaFileManager
|
Iterable |
JavaFileManager.list(JavaFileManager
Lists all file objects matching the given criteria in the given location.
|
Iterable |
ForwardingJavaFileManager.list(JavaFileManager
|
InputStream |
ForwardingFileObject.openInputStream()
|
InputStream |
SimpleJavaFileObject.openInputStream()
This implementation always throws
UnsupportedOperationException.
|
InputStream |
FileObject.openInputStream()
Gets an InputStream for this file object.
|
OutputStream |
ForwardingFileObject.openOutputStream()
|
OutputStream |
SimpleJavaFileObject.openOutputStream()
This implementation always throws
UnsupportedOperationException.
|
OutputStream |
FileObject.openOutputStream()
Gets an OutputStream for this file object.
|
Reader |
ForwardingFileObject.openReader(boolean ignoreEncodingErrors)
|
Reader |
SimpleJavaFileObject.openReader(boolean ignoreEncodingErrors)
Wraps the result of
SimpleJavaFileObject |
Reader |
FileObject.openReader(boolean ignoreEncodingErrors)
Gets a reader for this object.
|
Writer |
ForwardingFileObject.openWriter()
|
Writer |
SimpleJavaFileObject.openWriter()
Wraps the result of openOutputStream in a Writer.
|
Writer |
FileObject.openWriter()
Gets a Writer for this file object.
|
void |
StandardJavaFileManager.setLocation(JavaFileManager
Associates the given path with the given location.
|
| Modifier and Type | Class and Description |
|---|---|
class |
InvalidTransactionException
This exception indicates that the request carried an invalid transaction context.
|
class |
TransactionRequiredException
This exception indicates that a request carried a null transaction context, but the target object requires an activate transaction.
|
class |
TransactionRolledbackException
This exception indicates that the transaction associated with processing of the request has been rolled back, or marked to roll back.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Result |
SchemaOutputResolver.createOutput(String
Decides where the schema file (of the given namespace URI) will be written, and return it as a
Result object.
|
void |
JAXBContext.generateSchema(SchemaOutputResolver
Generates the schema documents for this context.
|
| Modifier and Type | Method and Description |
|---|---|
Document |
DocumentBuilder.parse(File
Parse the content of the given file as an XML document and return a new DOM
Document object.
|
void |
SAXParser.parse(File
Parse the content of the file specified as XML using the specified
DefaultHandler.
|
void |
SAXParser.parse(File
Parse the content of the file specified as XML using the specified
HandlerBase.
|
abstract Document |
DocumentBuilder.parse(InputSource
Parse the content of the given input source as an XML document and return a new DOM
Document object.
|
void |
SAXParser.parse(InputSource
Parse the content given
InputSource as XML using the specified
DefaultHandler.
|
void |
SAXParser.parse(InputSource
Parse the content given
InputSource as XML using the specified
HandlerBase.
|
Document |
DocumentBuilder.parse(InputStream
Parse the content of the given
InputStream as an XML document and return a new DOM
Document object.
|
void |
SAXParser.parse(InputStream
Parse the content of the given
InputStream instance as XML using the specified
DefaultHandler.
|
void |
SAXParser.parse(InputStream
Parse the content of the given
InputStream instance as XML using the specified
DefaultHandler.
|
void |
SAXParser.parse(InputStream
Parse the content of the given
InputStream instance as XML using the specified
HandlerBase.
|
void |
SAXParser.parse(InputStream
Parse the content of the given
InputStream instance as XML using the specified
HandlerBase.
|
Document |
DocumentBuilder.parse(InputStream
Parse the content of the given
InputStream as an XML document and return a new DOM
Document object.
|
Document |
DocumentBuilder.parse(String
Parse the content of the given URI as an XML document and return a new DOM
Document object.
|
void |
SAXParser.parse(String
Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified
DefaultHandler.
|
void |
SAXParser.parse(String
Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified
HandlerBase.
|
| Modifier and Type | Method and Description |
|---|---|
abstract SOAPMessage |
MessageFactory.createMessage(MimeHeaders
Internalizes the contents of the given
InputStream object into a new
SOAPMessage object and returns the
SOAPMessage object.
|
abstract void |
SOAPMessage.writeTo(OutputStream
Writes this
SOAPMessage object to the given output stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Validator.validate(Source
Validates the specified input.
|
abstract void |
Validator.validate(Source
Validates the specified input and send the augmented validation result to the specified output.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
HttpExchange.close()
This must be called to end an exchange.
|
abstract InputStream |
HttpExchange.getRequestBody()
Returns a stream from which the request body can be read.
|
abstract OutputStream |
HttpExchange.getResponseBody()
Returns a stream to which the response body must be written.
|
abstract void |
HttpHandler.handle(HttpExchange
Handles a given request and generates an appropriate response.
|
| Modifier and Type | Method and Description |
|---|---|
int |
InputStream.read()
|
void |
OutputStream.write(int b)
Writes an integer (length of arrays) onto this stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XMLReader.parse(InputSource
Parse an XML document.
|
void |
Parser.parse(InputSource
Deprecated.
Parse an XML document.
|
void |
XMLReader.parse(String
Parse an XML document from a system identifier (URI).
|
void |
Parser.parse(String
Deprecated.
Parse an XML document from a system identifier (URI).
|
InputSource |
EntityResolver.resolveEntity(String
Allow the application to resolve external entities.
|
| Modifier and Type | Method and Description |
|---|---|
InputSource |
EntityResolver2.getExternalSubset(String
Allows applications to provide an external subset for documents that don't explicitly define one.
|
InputSource |
DefaultHandler2.getExternalSubset(String
Tells the parser that if no external subset has been declared in the document text, none should be used.
|
InputSource |
DefaultHandler2.resolveEntity(String
Invokes
EntityResolver2.resolveEntity() with null entity name and base URI.
|
InputSource |
EntityResolver2.resolveEntity(String
Allows applications to map references to external entities into input sources, or tell the parser it should use conventional URI resolution.
|
InputSource |
DefaultHandler2.resolveEntity(String
Tells the parser to resolve the systemId against the baseURI and read the entity text from that resulting absolute URI.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ParserAdapter.parse(InputSource
Parse an XML document.
|
void |
XMLReaderAdapter.parse(InputSource
Parse the document.
|
void |
XMLFilterImpl.parse(InputSource
Parse a document.
|
void |
ParserAdapter.parse(String
Parse an XML document.
|
void |
XMLReaderAdapter.parse(String
Parse the document.
|
void |
XMLFilterImpl.parse(String
Parse a document.
|
InputSource |
DefaultHandler.resolveEntity(String
Resolve an external entity.
|
InputSource |
XMLFilterImpl.resolveEntity(String
Filter an external entity resolution.
|