| Package | Description |
|---|---|
| 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.event |
Provides interfaces and classes for dealing with different
types of events fired by AWT components.
|
| java.awt.font |
Provides classes and interface relating to fonts.
|
| java.awt.image |
Provides classes for creating and modifying images.
|
| java.beans |
Contains classes for run-time Java Beans support.
|
| java.io |
Provides for system input and output through data streams,
serialization and the file system.
|
| java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
| java.lang.reflect |
Provides classes and interfaces for obtaining reflective
information about classes and objects.
|
| java.math |
Provides classes for performing arbitrary-precision integer arithmetic
(BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal).
|
| java.net |
Provides the classes for implementing networking applications.
|
| java.rmi |
Provides the RMI package.
|
| java.rmi.registry |
Provides APIs related to the RMI registry.
|
| java.security |
Provides the classes and interfaces for the security framework.
|
| java.security.acl |
The classes and interfaces in this package have been
superseded by classes in the java.security package.
|
| java.security.cert |
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
|
| java.security.spec |
Provides classes and interfaces for key specifications and algorithm
parameter specifications.
|
| java.text |
Provides classes and interfaces for handling text, dates, numbers, and messages
in a manner independent of natural languages.
|
| java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array).
|
| java.util.jar |
Provides classes for reading and writing the JAR (Java ARchive) file
format, which is based on the standard ZIP file format with an
optional manifest file.
|
| java.util.zip |
Provides classes for reading and writing the standard ZIP and GZIP
file formats.
|
| javax.media |
Provides media players, means of controlling playback and being notified of playback state changes.
|
| javax.media.protocol |
Provides several means of streaming data for playback, as well as controlling that streaming.
|
| javax.microedition.io |
Provides a simplified mechanism for applications to use various types of I/O
protocols in resource-constrained environments.
|
| javax.microedition.pki |
Certificates are used to authenticate information for secure
Connections.
|
| javax.microedition.xlet |
Provides interfaces used by applications and the application manager
to communicate.
|
| javax.microedition.xlet.ixc |
Provides facilities for inter-Xlet communication (IXC).
|
| javax.net |
Provides classes for networking applications.
|
| javax.net.ssl |
Provides classes for the secure socket package.
|
| javax.security.auth.x500 |
This package contains the classes that should be used to store
X500 Principal and X500 Private Crendentials in a
Subject.
|
| javax.security.cert |
Provides classes for public key certificates.
|
| javax.tv.locator |
Provides a means for referencing data and resources accessible via the
Java TV APIs.
|
| javax.tv.media |
Provides controls and events for the management of real-time media
in a television environment.
|
| javax.tv.service |
Provides mechanisms for accessing the service information (SI) database
and APIs representing the SI elements it contains.
|
| javax.tv.service.guide |
Provides APIs to support electronic program guides (EPGs), including program
schedules, program events and program ratings.
|
| javax.tv.service.navigation |
Provides APIs to navigate through services and hierarchical service information.
|
| javax.tv.service.selection |
Provides a mechanism to select a Service for
presentation.
|
| javax.tv.service.transport |
Provides additional information about the transport mechanisms that
deliver the content the SI data describes.
|
| javax.tv.util |
Provides APIs for creating and managing timer events.
|
| javax.tv.xlet |
Provides interfaces used by applications and the application manager
to communicate.
|
| javax.xml | |
| javax.xml.parsers |
The javax.xml.parsers package contains the Java API for XML Processing (JAXP)
subset defined by JSR 280.
|
| javax.xml.stream |
This package provides the Streaming API for XML (StAX, or JSR 173) subset
defined by JSR 280.
|
| org.apache.log4j | |
| org.apache.log4j.config | |
| org.apache.log4j.or | |
| org.apache.log4j.spi | |
| org.apache.log4j.xml | |
| org.davic.media |
Provides various extensions to the Java Media Framework for
the control of TV oriented audio / video content.
|
| org.davic.mpeg |
Provides utility classes for common MPEG concepts.
|
| org.davic.mpeg.sections |
Provides access to MPEG-2 section filtering.
|
| org.davic.net |
Provides general content referencing.
|
| org.davic.net.tuning |
Provides access to tuning - MPEG multiplex selection.
|
| org.dvb.application |
Provides access to lists of applications which are available
in this context and the ability to launch those applications.
|
| org.dvb.dsmcc |
Provides extended access to files carried in the broadcast
stream.
|
| org.dvb.event |
Provides access to user input events before they
are processed through the event mechanism of the java.awt package.
|
| org.dvb.io.ixc |
Provides support for inter-application communication.
|
| org.dvb.lang |
Provides those core platform related features not found
in the java.lang package.
|
| org.dvb.media |
Provides DVB specific extensions to the Java Media Framework.
|
| org.dvb.net.rc |
Provides session management for bi-directional IP connections
which are session based from the point of view of an application.
|
| org.dvb.net.tuning |
Provides extensions to the tuning API from DAVIC.
|
| org.dvb.spi |
This package defines a central registry for all DVB Service Provider Interface
(SPI) providers.
|
| org.dvb.spi.selection |
This package defines an SPI for selection of services and service
components.
|
| org.dvb.spi.util |
Utility classes used by other providers.
|
| org.dvb.test |
Broadcast model
|
| org.dvb.ui |
Provides extended graphics functionality.
|
| org.dvb.user |
Provides access to settings and preferences configured by the end-user.
|
| org.havi.ui |
Provides user interfaces to HAVI components.
|
| org.havi.ui.event |
Provides ability to receive HAVI UI events.
|
| org.ocap.application |
|
| org.ocap.diagnostics |
The org.ocap.diagnostics package provides diagnostic MIBs.
|
| org.ocap.dvr |
OCAP Specific extensions to the shared DVR API.
|
| org.ocap.dvr.event |
Provides ability to receive DVR events.
|
| org.ocap.dvr.storage |
Extensions to the OCAP Storage API to support Media Storage and Time-shift buffer.
|
| org.ocap.environment |
Represents an environment that provides the context in which applications run.
|
| org.ocap.hardware |
The org.ocap.hardware package provides representations of several aspects of the hardware.
|
| org.ocap.hardware.device |
Provides extension classes and interfaces related to accessing and controlling
certain device parameters that are normally controlled by a
device manufacturer specific application.
|
| org.ocap.hardware.frontpanel |
Represents various aspects of front panel displays .
|
| org.ocap.hardware.pod |
This package provides a way to set and get OpenCable CableCARD Resource related parameters. |
| org.ocap.hn |
Provides representation of the main components of HN, such as servers, actions, action responses, and change listeners.
|
| org.ocap.hn.content |
Provides representation of the content and content containers, and means of identifying content type.
|
| org.ocap.hn.content.navigation |
Provides ways to search for content and filter results.
|
| org.ocap.hn.profiles.upnp |
Constants that are specific to UPnP.
|
| org.ocap.hn.recording |
Provides control and listing of recorded content.
|
| org.ocap.hn.resource | |
| org.ocap.hn.security |
Provides access to home network security capabilities.
|
| org.ocap.hn.service |
A service which is hosted or provided by another device on the home network.
|
| org.ocap.hn.upnp.client |
Provides UPnP client functionality, permitting access to devices and
services on a home network.
|
| org.ocap.hn.upnp.common |
Provides UPnP APIs common to client- and server-side use.
|
| org.ocap.hn.upnp.server |
Provides UPnP server functionality, permitting management of devices and services in the local Host device.
|
| org.ocap.logging | |
| org.ocap.net |
The org.ocap.net package provides locators for accessing various types of items in the transport stream.
|
| org.ocap.resource |
|
| org.ocap.service |
The org.ocap.service package represents various aspects of a service.
|
| org.ocap.shared.dvr |
The shared DVR API for scheduling and managing recording requests.
|
| org.ocap.si |
The org.ocap.si package represents MPEG-2 PSI data.
|
| org.ocap.storage |
The org.ocap.storage package represents storage devices.
|
| org.ocap.system |
This API is used to access
system modules. |
| org.ocap.system.event |
The org.ocap.system.event package defines various system events. |
| org.w3c.dom |
The org.w3c.dom package provides the Java ME DOM API defined by
JSR 280.
|
| org.w3c.dom.events |
The org.w3c.dom.events package provides the Java ME DOM Events API subset
defined by JSR 280.
|
| org.xml.sax | |
| org.xml.sax.ext | |
| org.xml.sax.helpers |
| Modifier and Type | Field and Description |
|---|---|
static String |
BorderLayout.CENTER
The center layout constraint (middle of container).
|
static String |
BorderLayout.EAST
The east layout constraint (right side of container).
|
protected String |
Font.name
The logical name of this
Font, as passed to the
constructor. |
static String |
BorderLayout.NORTH
The north layout constraint (top of container).
|
static String |
BorderLayout.SOUTH
The south layout constraint (bottom of container).
|
static String |
BorderLayout.WEST
The west layout constraint (left side of container).
|
| Modifier and Type | Method and Description |
|---|---|
abstract String[] |
GraphicsEnvironment.getAvailableFontFamilyNames()
Returns an array containing the names of all font families available
in this
GraphicsEnvironment. |
abstract String[] |
GraphicsEnvironment.getAvailableFontFamilyNames(Locale l)
Returns an array containing the localized names of all font families
available in this
GraphicsEnvironment. |
String |
Font.getFamily()
Returns the family name of this
Font. |
abstract String[] |
Toolkit.getFontList()
Deprecated.
|
abstract String |
GraphicsDevice.getIDstring()
Returns the identification string associated with this
GraphicsDevice. |
String |
Font.getName()
Returns the logical name of this
Font. |
String |
Component.getName()
Gets the name of the component.
|
static String |
Toolkit.getProperty(String key,
String defaultValue)
Gets a property with the specified key and default.
|
String |
Frame.getTitle()
Gets the title of the frame.
|
String |
Window.getWarningString()
Gets the warning string that is displayed with this window.
|
protected String |
Frame.paramString()
Returns a string representing the state of this
Frame. |
protected String |
Container.paramString()
Returns a string representing the state of this
Container. |
protected String |
Component.paramString()
Returns a string representing the state of this component.
|
String |
AWTEvent.paramString()
Returns a string representing the state of this
Event. |
String |
SystemColor.toString()
Returns a string representation of this
Color's values. |
String |
Rectangle.toString()
Returns a
String representing this
Rectangle and its values. |
String |
Point.toString()
Returns a string representation of this point and its location
in the (x, y) coordinate space.
|
String |
Insets.toString()
Returns a string representation of this
Insets object. |
String |
GridLayout.toString()
Returns the string representation of this grid layout's values.
|
String |
GridBagLayout.toString()
Returns a string representation of this grid bag layout's values.
|
String |
Graphics.toString()
Returns a
String object representing this
Graphics object's value. |
String |
FontMetrics.toString()
Returns a representation of this
FontMetrics
object's values as a String. |
String |
Font.toString()
Converts this
Font object to a String
representation. |
String |
FlowLayout.toString()
Returns a string representation of this
FlowLayout
object and its values. |
String |
Dimension.toString()
Returns a string representation of the values of this
Dimension object's height and
width fields. |
String |
Component.toString()
Returns a string representation of this component and its values.
|
String |
Color.toString()
Returns a string representation of this
Color. |
String |
CardLayout.toString()
Returns a string representation of the state of this card layout.
|
String |
BorderLayout.toString()
Returns a string representation of the state of this border layout.
|
String |
AWTKeyStroke.toString()
Returns a string that displays and identifies this object's properties.
|
String |
AWTEvent.toString()
Returns a String representation of this object.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
Container.add(String name,
Component comp)
Adds the specified component to this container.
|
void |
LayoutManager.addLayoutComponent(String name,
Component comp)
If the layout manager uses a per-component string,
adds the component
comp to the layout,
associating it
with the string specified by name. |
void |
GridLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component with the specified name to the layout.
|
void |
GridBagLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component with the specified name to the layout.
|
void |
FlowLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component to the layout.
|
void |
CardLayout.addLayoutComponent(String name,
Component comp)
Deprecated.
replaced by
addLayoutComponent(Component, Object). |
void |
BorderLayout.addLayoutComponent(String name,
Component comp)
Deprecated.
replaced by
addLayoutComponent(Component, Object). |
abstract Image |
Toolkit.createImage(String filename)
Returns an image which gets pixel data from the specified file.
|
static Font |
Font.decode(String str)
Returns the
Font that the str
argument describes. |
static Color |
Color.decode(String nm)
Converts a
String to an integer and returns the
specified opaque Color. |
abstract void |
Graphics2D.drawString(String str,
int x,
int y)
Draws the text given by the specified string, using this
graphics context's current font and color.
|
abstract void |
Graphics.drawString(String str,
int x,
int y)
Draws the text given by the specified string, using this
graphics context's current font and color.
|
protected void |
Component.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes for Object properties.
|
static AWTKeyStroke |
AWTKeyStroke.getAWTKeyStroke(String s)
Parses a string and returns an
AWTKeyStroke. |
static Color |
Color.getColor(String nm)
Finds a color in the system properties.
|
static Color |
Color.getColor(String nm,
Color v)
Finds a color in the system properties.
|
static Color |
Color.getColor(String nm,
int v)
Finds a color in the system properties.
|
static Font |
Font.getFont(String nm)
Returns a
Font object from the system properties list. |
static Font |
Font.getFont(String nm,
Font font)
Gets the specified
Font from the system properties
list. |
abstract Image |
Toolkit.getImage(String filename)
Returns an image which gets pixel data from the specified file,
whose format can be either GIF, JPEG or PNG.
|
abstract Object |
Image.getProperty(String name,
ImageObserver observer)
Gets a property of this image by name.
|
static String |
Toolkit.getProperty(String key,
String defaultValue)
Gets a property with the specified key and default.
|
protected static void |
AWTEventMulticaster.save(ObjectOutputStream s,
String k,
EventListener l) |
protected void |
AWTEventMulticaster.saveInternal(ObjectOutputStream s,
String k) |
void |
Component.setName(String name)
Sets the name of the component to the specified string.
|
void |
Frame.setTitle(String title)
Sets the title for this frame to the specified string.
|
void |
CardLayout.show(Container parent,
String name)
Flips to the component that was added to this layout with the
specified
name, using addLayoutComponent. |
int |
FontMetrics.stringWidth(String str)
Returns the total advance width for showing the specified
String in this Font. |
| Constructor and Description |
|---|
AWTError(String msg)
Constructs an instance of
AWTError with the specified
detail message. |
AWTException(String msg)
Constructs an instance of
AWTException with the
specified detail message. |
AWTPermission(String name)
Creates a new
AWTPermission with the specified name. |
AWTPermission(String name,
String actions)
Creates a new
AWTPermission object with the specified name. |
Font(String name,
int style,
int size)
Creates a new
Font from the specified name, style and
point size. |
Frame(String title)
Constructs a new, initially invisible
Frame object
with the specified title. |
Frame(String title,
GraphicsConfiguration gc)
Constructs a new, initially invisible
Frame object
with the specified title and a
GraphicsConfiguration. |
HeadlessException(String msg) |
IllegalComponentStateException(String s)
Constructs an IllegalComponentStateException with the specified detail
message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ColorSpace.getName(int idx)
Returns the name of the component given the component index.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ActionEvent.getActionCommand()
Returns the command string associated with this action.
|
static String |
KeyEvent.getKeyModifiersText(int modifiers)
Returns a String describing the modifier key(s), such as "Shift",
or "Ctrl+Shift".
|
static String |
KeyEvent.getKeyText(int keyCode)
Returns a String describing the keyCode, such as "HOME", "F1" or "A".
|
static String |
InputEvent.getModifiersExText(int modifiers)
Returns a String describing the extended modifier keys and
mouse buttons, such as "Shift", "Button1", or "Ctrl+Shift".
|
static String |
MouseEvent.getMouseModifiersText(int modifiers)
Returns a String describing the modifier keys and mouse buttons
that were down during the event, such as "Shift", or "Ctrl+Shift".
|
String |
WindowEvent.paramString()
Returns a parameter string identifying this event.
|
String |
TextEvent.paramString()
Returns a parameter string identifying this text event.
|
String |
PaintEvent.paramString() |
String |
MouseWheelEvent.paramString()
Returns a parameter string identifying this event.
|
String |
MouseEvent.paramString()
Returns a parameter string identifying this event.
|
String |
KeyEvent.paramString()
Returns a parameter string identifying this event.
|
String |
ItemEvent.paramString()
Returns a parameter string identifying this item event.
|
String |
InvocationEvent.paramString()
Returns a parameter string identifying this event.
|
String |
InputMethodEvent.paramString()
Returns a parameter string identifying this event.
|
String |
FocusEvent.paramString()
Returns a parameter string identifying this event.
|
String |
ContainerEvent.paramString()
Returns a parameter string identifying this event.
|
String |
ComponentEvent.paramString()
Returns a parameter string identifying this event.
|
String |
AdjustmentEvent.paramString() |
String |
ActionEvent.paramString()
Returns a parameter string identifying this action event.
|
| Constructor and Description |
|---|
ActionEvent(Object source,
int id,
String command)
Constructs an
ActionEvent object. |
ActionEvent(Object source,
int id,
String command,
int modifiers)
Constructs an
ActionEvent object with modifier keys. |
ActionEvent(Object source,
int id,
String command,
long when,
int modifiers)
Constructs an
ActionEvent object with the specified
modifier keys and timestamp. |
| Modifier and Type | Method and Description |
|---|---|
String |
TextHitInfo.toString()
Returns a
String representing the hit for debugging
use only. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
BufferedImage.getPropertyNames()
Returns an array of names recognized by
getProperty(String)
or null, if no property names are recognized. |
String |
IndexColorModel.toString()
Returns the
String representation of the contents of
this ColorModelobject. |
String |
DirectColorModel.toString()
Returns a
String that represents this
DirectColorModel. |
String |
ColorModel.toString()
Returns the
String representation of the contents of
this ColorModelobject. |
String |
BufferedImage.toString()
Returns a
String representation of this
BufferedImage object and its values. |
| Modifier and Type | Method and Description |
|---|---|
Object |
BufferedImage.getProperty(String name)
Returns a property of the image by name.
|
Object |
BufferedImage.getProperty(String name,
ImageObserver observer)
Returns a property of the image by name.
|
| Constructor and Description |
|---|
RasterFormatException(String s)
Constructs a new
RasterFormatException with the
specified message. |
| Modifier and Type | Method and Description |
|---|---|
String |
PropertyChangeEvent.getPropertyName()
Gets the programmatic name of the property that was changed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PropertyChangeSupport.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Report a bound property update to any registered listeners.
|
void |
VetoableChangeSupport.fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
Report a vetoable property update to any registered listeners.
|
static Object |
Beans.instantiate(ClassLoader cls,
String beanName)
Instantiate a JavaBean.
|
| Constructor and Description |
|---|
PropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue)
Constructs a new
PropertyChangeEvent. |
PropertyVetoException(String mess,
PropertyChangeEvent evt)
Constructs a
PropertyVetoException with a
detailed message. |
| Modifier and Type | Field and Description |
|---|---|
String |
InvalidClassException.classname
Name of the invalid class.
|
static String |
File.pathSeparator
The system-dependent path-separator character, represented as a string
for convenience.
|
static String |
File.separator
The system-dependent default name-separator character, represented as a
string for convenience.
|
String |
StreamTokenizer.sval
If the current token is a word token, this field contains a
string giving the characters of the word token.
|
| Modifier and Type | Method and Description |
|---|---|
String |
File.getAbsolutePath()
Returns the absolute pathname string of this abstract pathname.
|
String |
FilePermission.getActions()
Returns the "canonical string representation" of the actions.
|
String |
File.getCanonicalPath()
Returns the canonical pathname string of this abstract pathname.
|
String |
OutputStreamWriter.getEncoding()
Returns the canonical name of the character encoding being used by this
stream.
|
String |
InputStreamReader.getEncoding()
Returns the canonical name of the character encoding being used by this
stream.
|
String |
WriteAbortedException.getMessage()
Produce the message and include the message from the nested
exception, if there is one.
|
String |
InvalidClassException.getMessage()
Produce the message and include the classname, if present.
|
String |
ObjectStreamField.getName()
Get the name of this field.
|
String |
ObjectStreamClass.getName()
The name of the class described by this descriptor.
|
String |
File.getName()
Returns the name of the file or directory denoted by this abstract
pathname.
|
String |
File.getParent()
Returns the pathname string of this abstract pathname's parent, or
null if this pathname does not name a parent directory. |
String |
File.getPath()
Converts this abstract pathname into a pathname string.
|
String |
ObjectStreamField.getTypeString()
Return the JVM type signature.
|
String[] |
File.list()
Returns an array of strings naming the files and directories in the
directory denoted by this abstract pathname.
|
String[] |
File.list(FilenameFilter filter)
Returns an array of strings naming the files and directories in the
directory denoted by this abstract pathname that satisfy the specified
filter.
|
String |
RandomAccessFile.readLine()
Reads the next line of text from this file.
|
String |
ObjectInputStream.readLine()
Deprecated.
This method does not properly convert bytes to characters.
see DataInputStream for the details and alternatives.
|
String |
LineNumberReader.readLine()
Read a line of text.
|
String |
DataInputStream.readLine()
Deprecated.
This method does not properly convert bytes to characters.
As of JDK 1.1, the preferred way to read lines of text is via the
BufferedReader.readLine() method. Programs that use the
DataInputStream class to read lines can be converted to use
the BufferedReader class by replacing code of the form:
with:
|
String |
DataInput.readLine()
Reads the next line of text from the input stream.
|
String |
BufferedReader.readLine()
Read a line of text.
|
String |
RandomAccessFile.readUTF()
Reads in a string from this file.
|
String |
ObjectInputStream.readUTF()
Reads a UTF format String.
|
String |
DataInputStream.readUTF()
See the general contract of the
readUTF
method of DataInput. |
String |
DataInput.readUTF()
Reads in a string that has been encoded using a modified UTF-8 format.
|
static String |
DataInputStream.readUTF(DataInput in)
Reads from the
stream
in a representation
of a Unicode character string encoded in
Java modified UTF-8 format; this string
of characters is then returned as a String. |
String |
StringWriter.toString()
Return the buffer's current value as a string.
|
String |
StreamTokenizer.toString()
Returns the string representation of the current stream token and
the line number it occurs on.
|
String |
ObjectStreamField.toString()
Return a string that describes this field.
|
String |
ObjectStreamClass.toString()
Return a string describing this ObjectStreamClass.
|
String |
File.toString()
Returns the pathname string of this abstract pathname.
|
String |
CharArrayWriter.toString()
Converts input data to a string.
|
String |
ByteArrayOutputStream.toString()
Converts the buffer's contents into a string, translating bytes into
characters according to the platform's default character encoding.
|
String |
ByteArrayOutputStream.toString(String enc)
Converts the buffer's contents into a string, translating bytes into
characters according to the specified character encoding.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
FilenameFilter.accept(File dir,
String name)
Tests if a specified file should be included in a file list.
|
static File |
File.createTempFile(String prefix,
String suffix)
Creates an empty file in the default temporary-file directory, using
the given prefix and suffix to generate its name.
|
static File |
File.createTempFile(String prefix,
String suffix,
File directory)
Creates a new empty file in the specified directory, using the
given prefix and suffix strings to generate its name.
|
abstract boolean |
ObjectInputStream.GetField.defaulted(String name)
Return true if the named field is defaulted and has no value in this
stream.
|
abstract boolean |
ObjectInputStream.GetField.get(String name,
boolean val)
Get the value of the named boolean field from the persistent field.
|
abstract byte |
ObjectInputStream.GetField.get(String name,
byte val)
Get the value of the named byte field from the persistent field.
|
abstract char |
ObjectInputStream.GetField.get(String name,
char val)
Get the value of the named char field from the persistent field.
|
abstract double |
ObjectInputStream.GetField.get(String name,
double val)
Get the value of the named double field from the persistent field.
|
abstract float |
ObjectInputStream.GetField.get(String name,
float val)
Get the value of the named float field from the persistent field.
|
abstract int |
ObjectInputStream.GetField.get(String name,
int val)
Get the value of the named int field from the persistent field.
|
abstract long |
ObjectInputStream.GetField.get(String name,
long val)
Get the value of the named long field from the persistent field.
|
abstract Object |
ObjectInputStream.GetField.get(String name,
Object val)
Get the value of the named Object field from the persistent field.
|
abstract short |
ObjectInputStream.GetField.get(String name,
short val)
Get the value of the named short field from the persistent field.
|
ObjectStreamField |
ObjectStreamClass.getField(String name)
Get the field of this class by name.
|
void |
PrintWriter.print(String s)
Print a string.
|
void |
PrintStream.print(String s)
Print a string.
|
void |
PrintWriter.println(String x)
Print a String and then terminate the line.
|
void |
PrintStream.println(String x)
Print a String and then terminate the line.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
boolean val)
Put the value of the named boolean field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
byte val)
Put the value of the named byte field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
char val)
Put the value of the named char field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
double val)
Put the value of the named double field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
float val)
Put the value of the named float field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
int val)
Put the value of the named int field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
long val)
Put the value of the named long field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
Object val)
Put the value of the named Object field into the persistent field.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
short val)
Put the value of the named short field into the persistent field.
|
protected Class |
ObjectInputStream.resolveProxyClass(String[] interfaces)
Returns a proxy class that implements the interfaces named in a
proxy class descriptor; subclasses may implement this method to
read custom data from the stream along with the descriptors for
dynamic proxy classes, allowing them to use an alternate loading
mechanism for the interfaces and the proxy class.
|
String |
ByteArrayOutputStream.toString(String enc)
Converts the buffer's contents into a string, translating bytes into
characters according to the specified character encoding.
|
void |
Writer.write(String str)
Write a string.
|
void |
StringWriter.write(String str)
Write a string.
|
void |
PrintWriter.write(String s)
Write a string.
|
void |
Writer.write(String str,
int off,
int len)
Write a portion of a string.
|
void |
StringWriter.write(String str,
int off,
int len)
Write a portion of a string.
|
void |
PrintWriter.write(String s,
int off,
int len)
Write a portion of a string.
|
void |
OutputStreamWriter.write(String str,
int off,
int len)
Write a portion of a string.
|
void |
FilterWriter.write(String str,
int off,
int len)
Write a portion of a string.
|
void |
CharArrayWriter.write(String str,
int off,
int len)
Write a portion of a string to the buffer.
|
void |
BufferedWriter.write(String s,
int off,
int len)
Write a portion of a String.
|
void |
RandomAccessFile.writeBytes(String s)
Writes the string to the file as a sequence of bytes.
|
void |
ObjectOutputStream.writeBytes(String str)
Writes a String as a sequence of bytes.
|
void |
DataOutputStream.writeBytes(String s)
Writes out the string to the underlying output stream as a
sequence of bytes.
|
void |
DataOutput.writeBytes(String s)
Writes a string to the output stream.
|
void |
RandomAccessFile.writeChars(String s)
Writes a string to the file as a sequence of characters.
|
void |
ObjectOutputStream.writeChars(String str)
Writes a String as a sequence of chars.
|
void |
DataOutputStream.writeChars(String s)
Writes a string to the underlying output stream as a sequence of
characters.
|
void |
DataOutput.writeChars(String s)
Writes every character in the string
s,
to the output stream, in order,
two bytes per character. |
void |
RandomAccessFile.writeUTF(String str)
Writes a string to the file using UTF-8 encoding in a
machine-independent manner.
|
void |
ObjectOutputStream.writeUTF(String str)
Primitive data write of this String in UTF format.
|
void |
DataOutputStream.writeUTF(String str)
Writes a string to the underlying output stream using Java modified
UTF-8 encoding in a machine-independent manner.
|
void |
DataOutput.writeUTF(String str)
Writes two bytes of length information
to the output stream, followed
by the Java modified UTF representation
of every character in the string
s. |
| Constructor and Description |
|---|
CharConversionException(String s)
This provides a detailed message.
|
EOFException(String s)
Constructs an
EOFException with the specified detail
message. |
File(File parent,
String child)
Creates a new
File instance from a parent abstract
pathname and a child pathname string. |
File(String pathname)
Creates a new
File instance by converting the given
pathname string into an abstract pathname. |
File(String parent,
String child)
Creates a new
File instance from a parent pathname string
and a child pathname string. |
FileInputStream(String name)
Creates a
FileInputStream by
opening a connection to an actual file,
the file named by the path name name
in the file system. |
FileNotFoundException(String s)
Constructs a
FileNotFoundException with the
specified detail message. |
FileOutputStream(String name)
Creates an output file stream to write to the file with the
specified name.
|
FileOutputStream(String name,
boolean append)
Creates an output file stream to write to the file with the specified
name. |
FilePermission(String path,
String actions)
Creates a new FilePermission object with the specified actions.
|
FileReader(String fileName)
Creates a new FileReader, given the name of the
file to read from.
|
FileWriter(String fileName)
Constructs a FileWriter object given a file name.
|
FileWriter(String fileName,
boolean append)
Constructs a FileWriter object given a file name with a boolean
indicating whether or not to append the data written.
|
InputStreamReader(InputStream in,
String enc)
Create an InputStreamReader that uses the named character encoding.
|
InterruptedIOException(String s)
Constructs an
InterruptedIOException with the
specified detail message. |
InvalidClassException(String reason)
Report a InvalidClassException for the reason specified.
|
InvalidClassException(String cname,
String reason)
Constructs an InvalidClassException object.
|
InvalidObjectException(String reason)
Constructs an
InvalidObjectException. |
IOException(String s)
Constructs an
IOException with the specified detail
message. |
NotActiveException(String reason)
Constructor to create a new NotActiveException with the reason given.
|
NotSerializableException(String classname)
Constructs a NotSerializableException object with message string.
|
ObjectStreamException(String classname)
Create an ObjectStreamException with the specified argument.
|
ObjectStreamField(String name,
Class type)
Create a Serializable field with the specified type.
|
ObjectStreamField(String name,
Class type,
boolean unshared)
Creates an ObjectStreamField representing a serializable field with the
given name and type.
|
OutputStreamWriter(OutputStream out,
String enc)
Create an OutputStreamWriter that uses the named character encoding.
|
PrintStream(OutputStream out,
boolean autoFlush,
String encoding)
Create a new print stream.
|
RandomAccessFile(File file,
String mode)
Creates a random access file stream to read from, and optionally to
write to, the file specified by the
File argument. |
RandomAccessFile(String name,
String mode)
Creates a random access file stream to read from, and optionally
to write to, a file with the specified name.
|
SerializablePermission(String name)
Creates a new SerializablePermission with the specified name.
|
SerializablePermission(String name,
String actions)
Creates a new SerializablePermission object with the specified name.
|
StreamCorruptedException(String reason)
Create a StreamCorruptedException and list a reason why thrown.
|
StringReader(String s)
Create a new string reader.
|
SyncFailedException(String desc)
Constructs an SyncFailedException with a detail message.
|
UnsupportedEncodingException(String s)
Constructs an UnsupportedEncodingException with a detail message.
|
UTFDataFormatException(String s)
Constructs a
UTFDataFormatException with the
specified detail message. |
WriteAbortedException(String s,
Exception ex)
Constructs a WriteAbortedException with a string describing
the exception and the exception causing the abort.
|
| Modifier and Type | Method and Description |
|---|---|
String |
String.concat(String str)
Concatenates the specified string to the end of this string.
|
static String |
String.copyValueOf(char[] data)
Returns a String that represents the character sequence in the
array specified.
|
static String |
String.copyValueOf(char[] data,
int offset,
int count)
Returns a String that represents the character sequence in the
array specified.
|
protected String |
ClassLoader.findLibrary(String libname)
Returns the absolute path name of a native library.
|
String |
StackTraceElement.getClassName()
Returns the fully qualified name of the class containing the
execution point represented by this stack trace element.
|
String |
StackTraceElement.getFileName()
Returns the name of the source file containing the execution point
represented by this stack trace element.
|
String |
Package.getImplementationTitle()
Return the title of this package.
|
String |
Package.getImplementationVendor()
Returns the name of the organization,
vendor or company that provided this implementation.
|
String |
Package.getImplementationVersion()
Return the version of this implementation.
|
String |
Throwable.getLocalizedMessage()
Creates a localized description of this throwable.
|
String |
Throwable.getMessage()
Returns the detail message string of this throwable.
|
String |
StackTraceElement.getMethodName()
Returns the name of the method containing the execution point
represented by this stack trace element.
|
String |
ThreadGroup.getName()
Returns the name of this thread group.
|
String |
Thread.getName()
Returns this thread's name.
|
String |
Package.getName()
Return the name of this package.
|
String |
Class.getName()
Returns the name of the entity (class, interface, array class,
primitive type, or void) represented by this Class object,
as a String.
|
static String |
System.getProperty(String key)
Gets the system property indicated by the specified key.
|
static String |
System.getProperty(String key,
String def)
Gets the system property indicated by the specified key.
|
String |
Package.getSpecificationTitle()
Return the title of the specification that this package implements.
|
String |
Package.getSpecificationVendor()
Return the name of the organization, vendor,
or company that owns and maintains the specification
of the classes that implement this package.
|
String |
Package.getSpecificationVersion()
Returns the version number of the specification
that this package implements.
|
String |
String.intern()
Returns a canonical representation for the string object.
|
static String |
System.mapLibraryName(String libname)
Maps a library name into a platform-specific string representing
a native library.
|
String |
String.replace(char oldChar,
char newChar)
Returns a new string resulting from replacing all occurrences of
oldChar in this string with newChar. |
static String |
System.setProperty(String key,
String value)
Sets the system property indicated by the specified key.
|
String |
StringBuffer.substring(int start)
Returns a new
String that contains a subsequence of
characters currently contained in this StringBuffer.The
substring begins at the specified index and extends to the end of the
StringBuffer. |
String |
String.substring(int beginIndex)
Returns a new string that is a substring of this string.
|
String |
StringBuffer.substring(int start,
int end)
Returns a new
String that contains a subsequence of
characters currently contained in this StringBuffer. |
String |
String.substring(int beginIndex,
int endIndex)
Returns a new string that is a substring of this string.
|
static String |
Integer.toBinaryString(int i)
Returns a string representation of the integer argument as an
unsigned integer in base 2.
|
static String |
Long.toBinaryString(long i)
Returns a string representation of the
long
argument as an unsigned integer in base 2. |
static String |
Integer.toHexString(int i)
Returns a string representation of the integer argument as an
unsigned integer in base 16.
|
static String |
Long.toHexString(long i)
Returns a string representation of the
long
argument as an unsigned integer in base 16. |
String |
String.toLowerCase()
Converts all of the characters in this
String to lower
case using the rules of the default locale. |
String |
String.toLowerCase(Locale locale)
Converts all of the characters in this
String to lower
case using the rules of the given Locale. |
static String |
Integer.toOctalString(int i)
Returns a string representation of the integer argument as an
unsigned integer in base 8.
|
static String |
Long.toOctalString(long i)
Returns a string representation of the
long
argument as an unsigned integer in base 8. |
String |
Throwable.toString()
Returns a short description of this throwable.
|
String |
ThreadGroup.toString()
Returns a string representation of this Thread group.
|
String |
Thread.toString()
Returns a string representation of this thread, including the
thread's name, priority, and thread group.
|
String |
StringBuffer.toString()
Converts to a string representing the data in this string buffer.
|
String |
String.toString()
This object (which is already a string!) is itself returned.
|
String |
StackTraceElement.toString()
Returns a string representation of this stack trace element.
|
String |
Short.toString()
Returns a
String object representing this
Short's value. |
String |
Package.toString()
Returns the string representation of this Package.
|
String |
Object.toString()
Returns a string representation of the object.
|
String |
Long.toString()
Returns a
String object representing this
Long's value. |
String |
Integer.toString()
Returns a
String object representing this
Integer's value. |
String |
Float.toString()
Returns a string representation of this
Float object. |
String |
Double.toString()
Returns a string representation of this
Double object. |
String |
Class.toString()
Converts the object to a string.
|
String |
Character.toString()
Returns a
String object representing this
Character's value. |
String |
Character.Subset.toString()
Returns the name of this subset.
|
String |
CharSequence.toString()
Returns a string containing the characters in this sequence in the same
order as this sequence.
|
String |
Byte.toString()
Returns a
String object representing this
Byte's value. |
String |
Boolean.toString()
Returns a String object representing this Boolean's
value.
|
static String |
Boolean.toString(boolean b)
Returns a String object representing the specified
boolean.
|
static String |
Byte.toString(byte b)
Returns a new
String object representing the
specified byte. |
static String |
Character.toString(char c)
Returns a
String object representing the
specified char. |
static String |
Double.toString(double d)
Returns a string representation of the
double
argument. |
static String |
Float.toString(float f)
Returns a string representation of the
float
argument. |
static String |
Integer.toString(int i)
Returns a
String object representing the
specified integer. |
static String |
Integer.toString(int i,
int radix)
Returns a string representation of the first argument in the
radix specified by the second argument.
|
static String |
Long.toString(long i)
Returns a
String object representing the specified
long. |
static String |
Long.toString(long i,
int radix)
Returns a string representation of the first argument in the
radix specified by the second argument.
|
static String |
Short.toString(short s)
Returns a new
String object representing the
specified short. |
String |
String.toUpperCase()
Converts all of the characters in this
String to upper
case using the rules of the default locale. |
String |
String.toUpperCase(Locale locale)
Converts all of the characters in this
String to upper
case using the rules of the given Locale. |
String |
String.trim()
Returns a copy of the string, with leading and trailing whitespace
omitted.
|
static String |
String.valueOf(boolean b)
Returns the string representation of the
boolean argument. |
static String |
String.valueOf(char c)
Returns the string representation of the
char
argument. |
static String |
String.valueOf(char[] data)
Returns the string representation of the
char array
argument. |
static String |
String.valueOf(char[] data,
int offset,
int count)
Returns the string representation of a specific subarray of the
char array argument. |
static String |
String.valueOf(double d)
Returns the string representation of the
double argument. |
static String |
String.valueOf(float f)
Returns the string representation of the
float argument. |
static String |
String.valueOf(int i)
Returns the string representation of the
int argument. |
static String |
String.valueOf(long l)
Returns the string representation of the
long argument. |
static String |
String.valueOf(Object obj)
Returns the string representation of the
Object argument. |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
StringBuffer.append(String str)
Appends the string to this string buffer.
|
void |
SecurityManager.checkAccept(String host,
int port)
Throws a
SecurityException if the
calling thread is not permitted to accept a socket connection from
the specified host and port number. |
void |
SecurityManager.checkConnect(String host,
int port)
Throws a
SecurityException if the
calling thread is not allowed to open a socket connection to the
specified host and port number. |
void |
SecurityManager.checkConnect(String host,
int port,
Object context)
Throws a
SecurityException if the
specified security context is not allowed to open a socket
connection to the specified host and port number. |
void |
SecurityManager.checkDelete(String file)
Throws a
SecurityException if the
calling thread is not allowed to delete the specified file. |
void |
SecurityManager.checkExec(String cmd)
Throws a
SecurityException if the
calling thread is not allowed to create a subprocess. |
void |
SecurityManager.checkLink(String lib)
Throws a
SecurityException if the
calling thread is not allowed to dynamic link the library code
specified by the string argument file. |
void |
SecurityManager.checkPackageAccess(String pkg)
Throws a
SecurityException if the
calling thread is not allowed to access the package specified by
the argument. |
void |
SecurityManager.checkPackageDefinition(String pkg)
Throws a
SecurityException if the
calling thread is not allowed to define classes in the package
specified by the argument. |
void |
SecurityManager.checkPropertyAccess(String key)
Throws a
SecurityException if the
calling thread is not allowed to access the system property with
the specified key name. |
void |
SecurityManager.checkRead(String file)
Throws a
SecurityException if the
calling thread is not allowed to read the file specified by the
string argument. |
void |
SecurityManager.checkRead(String file,
Object context)
Throws a
SecurityException if the
specified security context is not allowed to read the file
specified by the string argument. |
void |
SecurityManager.checkSecurityAccess(String target)
Determines whether the permission with the specified permission target
name should be granted or denied.
|
void |
SecurityManager.checkWrite(String file)
Throws a
SecurityException if the
calling thread is not allowed to write to the file specified by
the string argument. |
int |
String.compareTo(String anotherString)
Compares two strings lexicographically.
|
int |
String.compareToIgnoreCase(String str)
Compares two strings lexicographically, ignoring case
differences.
|
static boolean |
Compiler.compileClasses(String string)
Compiles all classes whose name matches the specified string.
|
String |
String.concat(String str)
Concatenates the specified string to the end of this string.
|
static Short |
Short.decode(String nm)
Decodes a
String into a Short. |
static Long |
Long.decode(String nm)
Decodes a
String into a Long. |
static Integer |
Integer.decode(String nm)
Decodes a
String into an Integer. |
static Byte |
Byte.decode(String nm)
Decodes a
String into a Byte. |
protected Class |
ClassLoader.defineClass(String name,
byte[] b,
int off,
int len)
Converts an array of bytes into an instance of class Class.
|
protected Class |
ClassLoader.defineClass(String name,
byte[] b,
int off,
int len,
ProtectionDomain protectionDomain)
Converts an array of bytes into an instance of class Class,
with an optional ProtectionDomain.
|
protected Package |
ClassLoader.definePackage(String name,
String specTitle,
String specVersion,
String specVendor,
String implTitle,
String implVersion,
String implVendor,
URL sealBase)
Defines a package by name in this ClassLoader.
|
boolean |
String.endsWith(String suffix)
Tests if this string ends with the specified suffix.
|
boolean |
String.equalsIgnoreCase(String anotherString)
Compares this
String to another String,
ignoring case considerations. |
Process |
Runtime.exec(String command)
Executes the specified string command in a separate process.
|
Process |
Runtime.exec(String[] cmdarray)
Executes the specified command and arguments in a separate process.
|
Process |
Runtime.exec(String[] cmdarray,
String[] envp)
Executes the specified command and arguments in a separate process
with the specified environment.
|
Process |
Runtime.exec(String[] cmdarray,
String[] envp)
Executes the specified command and arguments in a separate process
with the specified environment.
|
Process |
Runtime.exec(String[] cmdarray,
String[] envp,
File dir)
Executes the specified command and arguments in a separate process with
the specified environment and working directory.
|
Process |
Runtime.exec(String[] cmdarray,
String[] envp,
File dir)
Executes the specified command and arguments in a separate process with
the specified environment and working directory.
|
Process |
Runtime.exec(String cmd,
String[] envp)
Executes the specified string command in a separate process with the
specified environment.
|
Process |
Runtime.exec(String cmd,
String[] envp)
Executes the specified string command in a separate process with the
specified environment.
|
Process |
Runtime.exec(String command,
String[] envp,
File dir)
Executes the specified string command in a separate process with the
specified environment and working directory.
|
Process |
Runtime.exec(String command,
String[] envp,
File dir)
Executes the specified string command in a separate process with the
specified environment and working directory.
|
protected Class |
ClassLoader.findClass(String name)
Finds the specified class.
|
protected String |
ClassLoader.findLibrary(String libname)
Returns the absolute path name of a native library.
|
protected Class |
ClassLoader.findLoadedClass(String name)
Returns the class with the given name if this loader has been recorded
by the Java virtual machine as an initiating loader of a class with
that name.
|
protected URL |
ClassLoader.findResource(String name)
Finds the resource with the given name.
|
protected Enumeration |
ClassLoader.findResources(String name)
Returns an enumeration of
URL objects
representing all the resources with the given name. |
protected Class |
ClassLoader.findSystemClass(String name)
Finds a class with the specified name, loading it if necessary.
|
static Class |
Class.forName(String className)
Returns the
Class object associated with the class or
interface with the given string name. |
static Class |
Class.forName(String name,
boolean initialize,
ClassLoader loader)
Returns the
Class object associated with the class or
interface with the given string name, using the given class loader. |
static boolean |
Boolean.getBoolean(String name)
Returns
true if and only if the system property
named by the argument exists and is equal to the string
"true". |
byte[] |
String.getBytes(String charsetName)
Encodes this String into a sequence of bytes using the
named charset, storing the result into a new byte array.
|
Field |
Class.getDeclaredField(String name)
Returns a
Field object that reflects the specified declared
field of the class or interface represented by this Class
object. |
Method |
Class.getDeclaredMethod(String name,
Class[] parameterTypes)
Returns a
Method object that reflects the specified
declared method of the class or interface represented by this
Class object. |
Field |
Class.getField(String name)
Returns a
Field object that reflects the specified public
member field of the class or interface represented by this
Class object. |
static Integer |
Integer.getInteger(String nm)
Determines the integer value of the system property with the
specified name.
|
static Integer |
Integer.getInteger(String nm,
int val)
Determines the integer value of the system property with the
specified name.
|
static Integer |
Integer.getInteger(String nm,
Integer val)
Returns the integer value of the system property with the
specified name.
|
static Long |
Long.getLong(String nm)
Determines the
long value of the system property
with the specified name. |
static Long |
Long.getLong(String nm,
long val)
Determines the
long value of the system property
with the specified name. |
static Long |
Long.getLong(String nm,
Long val)
Returns the
long value of the system property with
the specified name. |
Method |
Class.getMethod(String name,
Class[] parameterTypes)
Returns a
Method object that reflects the specified public
member method of the class or interface represented by this
Class object. |
static Package |
Package.getPackage(String name)
Find a package by name in the callers
ClassLoader instance. |
protected Package |
ClassLoader.getPackage(String name)
Returns a Package that has been defined by this class loader
or any of its ancestors.
|
static String |
System.getProperty(String key)
Gets the system property indicated by the specified key.
|
static String |
System.getProperty(String key,
String def)
Gets the system property indicated by the specified key.
|
URL |
ClassLoader.getResource(String name)
Finds the resource with the given name.
|
URL |
Class.getResource(String name)
Finds a resource with a given name.
|
InputStream |
ClassLoader.getResourceAsStream(String name)
Returns an input stream for reading the specified resource.
|
InputStream |
Class.getResourceAsStream(String name)
Finds a resource with a given name.
|
Enumeration |
ClassLoader.getResources(String name)
Finds all the resources with the given name.
|
static URL |
ClassLoader.getSystemResource(String name)
Find a resource of the specified name from the search path used to load
classes.
|
static InputStream |
ClassLoader.getSystemResourceAsStream(String name)
Open for reading, a resource of the specified name from the search path
used to load classes.
|
static Enumeration |
ClassLoader.getSystemResources(String name)
Finds all resources of the specified name from the search path used to
load classes.
|
int |
StringBuffer.indexOf(String str)
Returns the index within this string of the first occurrence of the
specified substring.
|
int |
String.indexOf(String str)
Returns the index within this string of the first occurrence of the
specified substring.
|
int |
StringBuffer.indexOf(String str,
int fromIndex)
Returns the index within this string of the first occurrence of the
specified substring, starting at the specified index.
|
int |
String.indexOf(String str,
int fromIndex)
Returns the index within this string of the first occurrence of the
specified substring, starting at the specified index.
|
StringBuffer |
StringBuffer.insert(int offset,
String str)
Inserts the string into this string buffer.
|
boolean |
Package.isCompatibleWith(String desired)
Compare this package's specification version with a
desired version.
|
int |
StringBuffer.lastIndexOf(String str)
Returns the index within this string of the rightmost occurrence
of the specified substring.
|
int |
String.lastIndexOf(String str)
Returns the index within this string of the rightmost occurrence
of the specified substring.
|
int |
StringBuffer.lastIndexOf(String str,
int fromIndex)
Returns the index within this string of the last occurrence of the
specified substring.
|
int |
String.lastIndexOf(String str,
int fromIndex)
Returns the index within this string of the last occurrence of the
specified substring, searching backward starting at the specified index.
|
static void |
System.load(String filename)
Loads a code file with the specified filename from the local file
system as a dynamic library.
|
void |
Runtime.load(String filename)
Loads the specified filename as a dynamic library.
|
Class |
ClassLoader.loadClass(String name)
Loads the class with the specified name.
|
protected Class |
ClassLoader.loadClass(String name,
boolean resolve)
Loads the class with the specified name.
|
static void |
System.loadLibrary(String libname)
Loads the system library specified by the
libname
argument. |
void |
Runtime.loadLibrary(String libname)
Loads the dynamic library with the specified library name.
|
static String |
System.mapLibraryName(String libname)
Maps a library name into a platform-specific string representing
a native library.
|
static byte |
Byte.parseByte(String s)
Parses the string argument as a signed decimal
byte. |
static byte |
Byte.parseByte(String s,
int radix)
Parses the string argument as a signed
byte in the
radix specified by the second argument. |
static double |
Double.parseDouble(String s)
Returns a new
double initialized to the value
represented by the specified String, as performed
by the valueOf method of class
Double. |
static float |
Float.parseFloat(String s)
Returns a new
float initialized to the value
represented by the specified String, as performed
by the valueOf method of class Float. |
static int |
Integer.parseInt(String s)
Parses the string argument as a signed decimal integer.
|
static int |
Integer.parseInt(String s,
int radix)
Parses the string argument as a signed integer in the radix
specified by the second argument.
|
static long |
Long.parseLong(String s)
Parses the string argument as a signed decimal
long. |
static long |
Long.parseLong(String s,
int radix)
Parses the string argument as a signed
long in the
radix specified by the second argument. |
static short |
Short.parseShort(String s)
Parses the string argument as a signed decimal
short. |
static short |
Short.parseShort(String s,
int radix)
Parses the string argument as a signed
short in
the radix specified by the second argument. |
boolean |
String.regionMatches(boolean ignoreCase,
int toffset,
String other,
int ooffset,
int len)
Tests if two string regions are equal.
|
boolean |
String.regionMatches(int toffset,
String other,
int ooffset,
int len)
Tests if two string regions are equal.
|
StringBuffer |
StringBuffer.replace(int start,
int end,
String str)
Replaces the characters in a substring of this
StringBuffer
with characters in the specified String. |
void |
ClassLoader.setClassAssertionStatus(String className,
boolean enabled)
Sets the desired assertion status for the named top-level class in this
class loader and any nested classes contained therein.
|
void |
Thread.setName(String name)
Changes the name of this thread to be equal to the argument
name. |
void |
ClassLoader.setPackageAssertionStatus(String packageName,
boolean enabled)
Sets the package default assertion status for the named package.
|
static String |
System.setProperty(String key,
String value)
Sets the system property indicated by the specified key.
|
boolean |
String.startsWith(String prefix)
Tests if this string starts with the specified prefix.
|
boolean |
String.startsWith(String prefix,
int toffset)
Tests if this string starts with the specified prefix beginning
a specified index.
|
static Short |
Short.valueOf(String s)
Returns a
Short object holding the
value given by the specified String. |
static Long |
Long.valueOf(String s)
Returns a
Long object holding the value
of the specified String. |
static Integer |
Integer.valueOf(String s)
Returns an
Integer object holding the
value of the specified String. |
static Float |
Float.valueOf(String s)
Returns a
Float object holding the
float value represented by the argument string
s. |
static Double |
Double.valueOf(String s)
Returns a
Double object holding the
double value represented by the argument string
s. |
static Byte |
Byte.valueOf(String s)
Returns a
Byte object holding the value
given by the specified String. |
static Boolean |
Boolean.valueOf(String s)
Returns a
Boolean with a value represented by the
specified String. |
static Short |
Short.valueOf(String s,
int radix)
Returns a
Short object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
static Long |
Long.valueOf(String s,
int radix)
Returns a
Long object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
static Integer |
Integer.valueOf(String s,
int radix)
Returns an
Integer object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
static Byte |
Byte.valueOf(String s,
int radix)
Returns a
Byte object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
| Constructor and Description |
|---|
AbstractMethodError(String s)
Constructs an
AbstractMethodError with the specified
detail message. |
ArithmeticException(String s)
Constructs an
ArithmeticException with the specified
detail message. |
ArrayIndexOutOfBoundsException(String s)
Constructs an
ArrayIndexOutOfBoundsException class
with the specified detail message. |
ArrayStoreException(String s)
Constructs an
ArrayStoreException with the specified
detail message. |
Boolean(String s)
Allocates a
Boolean object representing the value
true if the string argument is not null
and is equal, ignoring case, to the string "true". |
Byte(String s)
Constructs a newly allocated
Byte object that
represents the byte value indicated by the
String parameter. |
Character.Subset(String name)
Constructs a new
Subset instance. |
ClassCastException(String s)
Constructs a
ClassCastException with the specified
detail message. |
ClassCircularityError(String s)
Constructs a
ClassCircularityError with the
specified detail message. |
ClassFormatError(String s)
Constructs a
ClassFormatError with the specified
detail message. |
ClassNotFoundException(String s)
Constructs a
ClassNotFoundException with the
specified detail message. |
ClassNotFoundException(String s,
Throwable ex)
Constructs a
ClassNotFoundException with the
specified detail message and optional exception that was
raised while loading the class. |
CloneNotSupportedException(String s)
Constructs a
CloneNotSupportedException with the
specified detail message. |
Double(String s)
Constructs a newly allocated
Double object that
represents the floating-point value of type double
represented by the string. |
Error(String message)
Constructs a new error with the specified detail message.
|
Error(String message,
Throwable cause)
Constructs a new error with the specified detail message and
cause.
|
Exception(String message)
Constructs a new exception with the specified detail message.
|
Exception(String message,
Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
ExceptionInInitializerError(String s)
Constructs an ExceptionInInitializerError with the specified detail
message string.
|
Float(String s)
Constructs a newly allocated
Float object that
represents the floating-point value of type float
represented by the string. |
IllegalAccessError(String s)
Constructs an
IllegalAccessError with the specified
detail message. |
IllegalAccessException(String s)
Constructs an
IllegalAccessException with a detail message. |
IllegalArgumentException(String s)
Constructs an
IllegalArgumentException with the
specified detail message. |
IllegalMonitorStateException(String s)
Constructs an
IllegalMonitorStateException with the
specified detail message. |
IllegalStateException(String s)
Constructs an IllegalStateException with the specified detail
message.
|
IllegalThreadStateException(String s)
Constructs an
IllegalThreadStateException with the
specified detail message. |
IncompatibleClassChangeError(String s)
Constructs an
IncompatibleClassChangeError with the
specified detail message. |
IndexOutOfBoundsException(String s)
Constructs an
IndexOutOfBoundsException with the
specified detail message. |
InstantiationError(String s)
Constructs an
InstantiationError with the specified
detail message. |
InstantiationException(String s)
Constructs an
InstantiationException with the
specified detail message. |
Integer(String s)
Constructs a newly allocated
Integer object that
represents the int value indicated by the
String parameter. |
InternalError(String s)
Constructs an
InternalError with the specified
detail message. |
InterruptedException(String s)
Constructs an
InterruptedException with the
specified detail message. |
LinkageError(String s)
Constructs a
LinkageError with the specified detail
message. |
Long(String s)
Constructs a newly allocated
Long object that
represents the long value indicated by the
String parameter. |
NegativeArraySizeException(String s)
Constructs a
NegativeArraySizeException with the
specified detail message. |
NoClassDefFoundError(String s)
Constructs a
NoClassDefFoundError with the specified
detail message. |
NoSuchFieldError(String s)
Constructs a
NoSuchFieldException with the specified
detail message. |
NoSuchFieldException(String s)
Constructor with a detail message.
|
NoSuchMethodError(String s)
Constructs a
NoSuchMethodError with the
specified detail message. |
NoSuchMethodException(String s)
Constructs a
NoSuchMethodException with a detail message. |
NullPointerException(String s)
Constructs a
NullPointerException with the specified
detail message. |
NumberFormatException(String s)
Constructs a
NumberFormatException with the
specified detail message. |
OutOfMemoryError(String s)
Constructs an
OutOfMemoryError with the specified
detail message. |
RuntimeException(String message)
Constructs a new runtime exception with the specified detail message.
|
RuntimeException(String message,
Throwable cause)
Constructs a new runtime exception with the specified detail message and
cause.
|
RuntimePermission(String name)
Creates a new RuntimePermission with the specified name.
|
RuntimePermission(String name,
String actions)
Creates a new RuntimePermission object with the specified name.
|
SecurityException(String s)
Constructs a
SecurityException with the specified
detail message. |
Short(String s)
Constructs a newly allocated
Short object that
represents the short value indicated by the
String parameter. |
StackOverflowError(String s)
Constructs a
StackOverflowError with the specified
detail message. |
String(byte[] bytes,
int offset,
int length,
String charsetName)
Constructs a new String by decoding the specified subarray of
bytes using the specified charset.
|
String(byte[] bytes,
String charsetName)
Constructs a new String by decoding the specified array of
bytes using the specified charset.
|
String(String original)
Initializes a newly created
String object so that it
represents the same sequence of characters as the argument; in other
words, the newly created string is a copy of the argument string. |
StringBuffer(String str)
Constructs a string buffer so that it represents the same
sequence of characters as the string argument; in other
words, the initial contents of the string buffer is a copy of the
argument string.
|
StringIndexOutOfBoundsException(String s)
Constructs a
StringIndexOutOfBoundsException with
the specified detail message. |
Thread(Runnable target,
String name)
Allocates a new
Thread object. |
Thread(String name)
Allocates a new
Thread object. |
Thread(ThreadGroup group,
Runnable target,
String name)
Allocates a new
Thread object so that it has
target as its run object, has the specified
name as its name, and belongs to the thread group
referred to by group. |
Thread(ThreadGroup group,
Runnable target,
String name,
long stackSize)
Allocates a new
Thread object so that it has
target as its run object, has the specified
name as its name, belongs to the thread group referred to
by group, and has the specified stack size. |
Thread(ThreadGroup group,
String name)
Allocates a new
Thread object. |
ThreadGroup(String name)
Constructs a new thread group.
|
ThreadGroup(ThreadGroup parent,
String name)
Creates a new thread group.
|
Throwable(String message)
Constructs a new throwable with the specified detail message.
|
Throwable(String message,
Throwable cause)
Constructs a new throwable with the specified detail message and
cause.
|
UnknownError(String s)
Constructs an
UnknownError with the specified detail
message. |
UnsatisfiedLinkError(String s)
Constructs an
UnsatisfiedLinkError with the
specified detail message. |
UnsupportedClassVersionError(String s)
Constructs a
UnsupportedClassVersionError with
the specified detail message. |
UnsupportedOperationException(String message)
Constructs an UnsupportedOperationException with the specified
detail message.
|
VerifyError(String s)
Constructs an
VerifyError with the specified detail message. |
VirtualMachineError(String s)
Constructs a
VirtualMachineError with the specified
detail message. |
| Modifier and Type | Method and Description |
|---|---|
String |
Method.getName()
Returns the name of the method represented by this
Method
object, as a String. |
String |
Member.getName()
Returns the simple name of the underlying member or constructor
represented by this Member.
|
String |
Field.getName()
Returns the name of the field represented by this
Field object. |
String |
Constructor.getName()
Returns the name of this constructor, as a string.
|
String |
Method.toString()
Returns a string describing this
Method. |
String |
Field.toString()
Returns a string describing this
Field. |
String |
Constructor.toString()
Returns a string describing this
Constructor. |
static String |
Modifier.toString(int mod)
Return a string describing the access modifier flags in
the specified modifier.
|
| Constructor and Description |
|---|
InvocationTargetException(Throwable target,
String s)
Constructs a InvocationTargetException with a target exception
and a detail message.
|
ReflectPermission(String name)
Constructs a ReflectPermission with the specified name.
|
ReflectPermission(String name,
String actions)
Constructs a ReflectPermission with the specified name and actions.
|
UndeclaredThrowableException(Throwable undeclaredThrowable,
String s)
Constructs an
UndeclaredThrowableException with the
specified Throwable and a detail message. |
| Modifier and Type | Method and Description |
|---|---|
String |
BigInteger.toString()
Returns the decimal String representation of this BigInteger.
|
String |
BigDecimal.toString()
Returns the string representation of this BigDecimal.
|
String |
BigInteger.toString(int radix)
Returns the String representation of this BigInteger in the
given radix.
|
| Constructor and Description |
|---|
BigDecimal(String val)
Translates the String representation of a BigDecimal into a
BigDecimal.
|
BigInteger(String val)
Translates the decimal String representation of a BigInteger into a
BigInteger.
|
BigInteger(String val,
int radix)
Translates the String representation of a BigInteger in the specified
radix into a BigInteger.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
HttpURLConnection.method
The HTTP method (GET,POST,PUT,etc.).
|
protected String |
HttpURLConnection.responseMessage
The HTTP response message.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
URLDecoder.decode(String s)
Deprecated.
The resulting string may vary depending on the platform's
default encoding. Instead, use the decode(String,String) method
to specify the encoding.
|
static String |
URLDecoder.decode(String s,
String enc)
Decodes a
application/x-www-form-urlencoded string using a specific
encoding scheme. |
static String |
URLEncoder.encode(String s)
Deprecated.
The resulting string may vary depending on the platform's
default encoding. Instead, use the encode(String,String)
method to specify the encoding.
|
static String |
URLEncoder.encode(String s,
String enc)
Translates a string into
application/x-www-form-urlencoded
format using a specific encoding scheme. |
String |
SocketPermission.getActions()
Returns the canonical string representation of the actions.
|
String |
URL.getAuthority()
Gets the authority part of this
URL. |
String |
URI.getAuthority()
Returns the decoded authority component of this URI.
|
String |
InetAddress.getCanonicalHostName()
Gets the fully qualified domain name for this IP address.
|
String |
URLConnection.getContentEncoding()
Returns the value of the
content-encoding header field. |
String |
URLConnection.getContentType()
Returns the value of the
content-type header field. |
String |
FileNameMap.getContentTypeFor(String fileName)
Gets the MIME type for the specified file name.
|
String |
NetworkInterface.getDisplayName()
Get the display name of this network interface.
|
String |
JarURLConnection.getEntryName()
Return the entry name for this connection.
|
String |
URL.getFile()
Gets the file name of this
URL. |
String |
URI.getFragment()
Returns the decoded fragment component of this URI.
|
String |
URLConnection.getHeaderField(int n)
Returns the value for the
nth header field. |
String |
HttpURLConnection.getHeaderField(int n)
Returns the value for the
nth header field. |
String |
URLConnection.getHeaderField(String name)
Returns the value of the named header field.
|
String |
URLConnection.getHeaderFieldKey(int n)
Returns the key for the
nth header field. |
String |
HttpURLConnection.getHeaderFieldKey(int n)
Returns the key for the
nth header field. |
String |
URL.getHost()
Gets the host name of this
URL, if applicable. |
String |
URI.getHost()
Returns the host component of this URI.
|
String |
InetAddress.getHostAddress()
Returns the IP address string in textual presentation.
|
String |
Inet6Address.getHostAddress()
Returns the IP address string in textual presentation.
|
String |
Inet4Address.getHostAddress()
Returns the IP address string in textual presentation form.
|
String |
InetSocketAddress.getHostName()
Gets the
hostname. |
String |
InetAddress.getHostName()
Gets the host name for this IP address.
|
String |
URISyntaxException.getInput()
Returns the input string.
|
String |
URISyntaxException.getMessage()
Returns a string describing the parse error.
|
String |
NetworkInterface.getName()
Get the name of this network interface.
|
String |
URL.getPath()
Gets the path part of this
URL. |
String |
URI.getPath()
Returns the decoded path component of this URI.
|
String |
URL.getProtocol()
Gets the protocol name of this
URL. |
String |
URL.getQuery()
Gets the query part of this
URL. |
String |
URI.getQuery()
Returns the decoded query component of this URI.
|
String |
URI.getRawAuthority()
Returns the raw authority component of this URI.
|
String |
URI.getRawFragment()
Returns the raw fragment component of this URI.
|
String |
URI.getRawPath()
Returns the raw path component of this URI.
|
String |
URI.getRawQuery()
Returns the raw query component of this URI.
|
String |
URI.getRawSchemeSpecificPart()
Returns the raw scheme-specific part of this URI.
|
String |
URI.getRawUserInfo()
Returns the raw user-information component of this URI.
|
String |
URISyntaxException.getReason()
Returns a string explaining why the input string could not be parsed.
|
String |
URL.getRef()
Gets the anchor (also known as the "reference") of this
URL. |
protected String |
Authenticator.getRequestingHost()
Gets the
hostname of the
site or proxy requesting authentication, or null
if not available. |
protected String |
Authenticator.getRequestingPrompt()
Gets the prompt string given by the requestor.
|
protected String |
Authenticator.getRequestingProtocol()
Give the protocol that's requesting the connection.
|
protected String |
Authenticator.getRequestingScheme()
Gets the scheme of the requestor (the HTTP scheme
for an HTTP firewall, for example).
|
String |
HttpURLConnection.getRequestMethod()
Get the request method.
|
String |
URLConnection.getRequestProperty(String key)
Returns the value of the named general request property for this
connection.
|
String |
HttpURLConnection.getResponseMessage()
Gets the HTTP response message, if any, returned along with the
response code from a server.
|
String |
URI.getScheme()
Returns the scheme component of this URI.
|
String |
URI.getSchemeSpecificPart()
Returns the decoded scheme-specific part of this URI.
|
String |
URL.getUserInfo()
Gets the userInfo part of this
URL. |
String |
URI.getUserInfo()
Returns the decoded user-information component of this URI.
|
String |
PasswordAuthentication.getUserName()
Returns the user name.
|
static String |
URLConnection.guessContentTypeFromName(String fname)
Tries to determine the content type of an object, based
on the specified "file" component of a URL.
|
static String |
URLConnection.guessContentTypeFromStream(InputStream is)
Tries to determine the type of an input stream based on the
characters at the beginning of the input stream.
|
String |
URI.toASCIIString()
Returns the content of this URI as a US-ASCII string.
|
String |
URL.toExternalForm()
Constructs a string representation of this
URL. |
protected String |
URLStreamHandler.toExternalForm(URL u)
Converts a
URL of a specific protocol to a
String. |
String |
URLConnection.toString()
Returns a
String representation of this URL connection. |
String |
URL.toString()
Constructs a string representation of this
URL. |
String |
URI.toString()
Returns the content of this URI as a string.
|
String |
SocketImpl.toString()
Returns the address and port of this socket as a
String. |
String |
Socket.toString()
Converts this socket to a
String. |
String |
ServerSocket.toString()
Returns the implementation address and implementation port of
this socket as a
String. |
String |
NetworkInterface.toString() |
String |
InetSocketAddress.toString()
Constructs a string representation of this InetSocketAddress.
|
String |
InetAddress.toString()
Converts this IP address to a
String. |
| Modifier and Type | Method and Description |
|---|---|
void |
URLConnection.addRequestProperty(String key,
String value)
Adds a general request property specified by a
key-value pair.
|
protected abstract void |
SocketImpl.connect(String host,
int port)
Connects this socket to the specified port on the named host.
|
static URI |
URI.create(String str)
Creates a URI by parsing the given string.
|
ContentHandler |
ContentHandlerFactory.createContentHandler(String mimetype)
Creates a new
ContentHandler to read an object from
a URLStreamHandler. |
URLStreamHandler |
URLStreamHandlerFactory.createURLStreamHandler(String protocol)
Creates a new
URLStreamHandler instance with the specified
protocol. |
static String |
URLDecoder.decode(String s)
Deprecated.
The resulting string may vary depending on the platform's
default encoding. Instead, use the decode(String,String) method
to specify the encoding.
|
static String |
URLDecoder.decode(String s,
String enc)
Decodes a
application/x-www-form-urlencoded string using a specific
encoding scheme. |
protected Package |
URLClassLoader.definePackage(String name,
Manifest man,
URL url)
Defines a new package by name in this ClassLoader.
|
static String |
URLEncoder.encode(String s)
Deprecated.
The resulting string may vary depending on the platform's
default encoding. Instead, use the encode(String,String)
method to specify the encoding.
|
static String |
URLEncoder.encode(String s,
String enc)
Translates a string into
application/x-www-form-urlencoded
format using a specific encoding scheme. |
protected Class |
URLClassLoader.findClass(String name)
Finds and loads the class with the specified name from the URL search
path.
|
URL |
URLClassLoader.findResource(String name)
Finds the resource with the specified name on the URL search path.
|
Enumeration |
URLClassLoader.findResources(String name)
Returns an Enumeration of URLs representing all of the resources
on the URL search path having the specified name.
|
static InetAddress[] |
InetAddress.getAllByName(String host)
Given the name of a host, returns an array of its IP addresses,
based on the configured name service on the system.
|
static InetAddress |
InetAddress.getByAddress(String host,
byte[] addr)
Create an InetAddress based on the provided host name and IP address
No name service is checked for the validity of the address.
|
static NetworkInterface |
NetworkInterface.getByName(String name)
Searches for the network interface with the specified name.
|
static InetAddress |
InetAddress.getByName(String host)
Determines the IP address of a host, given the host's name.
|
String |
FileNameMap.getContentTypeFor(String fileName)
Gets the MIME type for the specified file name.
|
String |
URLConnection.getHeaderField(String name)
Returns the value of the named header field.
|
long |
URLConnection.getHeaderFieldDate(String name,
long Default)
Returns the value of the named field parsed as date.
|
long |
HttpURLConnection.getHeaderFieldDate(String name,
long Default) |
int |
URLConnection.getHeaderFieldInt(String name,
int Default)
Returns the value of the named field parsed as a number.
|
String |
URLConnection.getRequestProperty(String key)
Returns the value of the named general request property for this
connection.
|
static String |
URLConnection.guessContentTypeFromName(String fname)
Tries to determine the content type of an object, based
on the specified "file" component of a URL.
|
protected void |
URLStreamHandler.parseURL(URL u,
String spec,
int start,
int limit)
Parses the string representation of a
URL into a
URL object. |
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(InetAddress addr,
int port,
String protocol,
String prompt,
String scheme)
Ask the authenticator that has been registered with the system
for a password.
|
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(String host,
InetAddress addr,
int port,
String protocol,
String prompt,
String scheme)
Ask the authenticator that has been registered with the system
for a password.
|
URI |
URI.resolve(String str)
Constructs a new URI by parsing the given string and then resolving it
against this URI.
|
protected void |
URL.set(String protocol,
String host,
int port,
String file,
String ref)
Sets the fields of the URL.
|
protected void |
URL.set(String protocol,
String host,
int port,
String authority,
String userInfo,
String path,
String query,
String ref)
Sets the specified 8 fields of the URL.
|
void |
HttpURLConnection.setRequestMethod(String method)
Set the method for the URL request, one of:
GET
POST
HEAD
OPTIONS
PUT
DELETE
TRACE
are legal, subject to protocol restrictions.
|
void |
URLConnection.setRequestProperty(String key,
String value)
Sets the general request property.
|
protected void |
URLStreamHandler.setURL(URL u,
String protocol,
String host,
int port,
String authority,
String userInfo,
String path,
String query,
String ref)
Sets the fields of the
URL argument to the indicated values. |
| Constructor and Description |
|---|
BindException(String msg)
Constructs a new BindException with the specified detail
message as to why the bind error occurred.
|
ConnectException(String msg)
Constructs a new ConnectException with the specified detail
message as to why the connect error occurred.
|
InetSocketAddress(String hostname,
int port)
Creates a socket address from a hostname and a port number.
|
MalformedURLException(String msg)
Constructs a
MalformedURLException with the
specified detail message. |
NetPermission(String name)
Creates a new NetPermission with the specified name.
|
NetPermission(String name,
String actions)
Creates a new NetPermission object with the specified name.
|
NoRouteToHostException(String msg)
Constructs a new NoRouteToHostException with the specified detail
message as to why the remote host cannot be reached.
|
PasswordAuthentication(String userName,
char[] password)
Creates a new
PasswordAuthentication object from the given
user name and password. |
PortUnreachableException(String msg)
Constructs a new
PortUnreachableException with a
detail message. |
ProtocolException(String host)
Constructs a new
ProtocolException with the
specified detail message. |
Socket(String host,
int port)
Creates a stream socket and connects it to the specified port
number on the named host.
|
Socket(String host,
int port,
InetAddress localAddr,
int localPort)
Creates a socket and connects it to the specified remote host on
the specified remote port.
|
SocketException(String msg)
Constructs a new
SocketException with the
specified detail message. |
SocketPermission(String host,
String action)
Creates a new SocketPermission object with the specified actions.
|
SocketTimeoutException(String msg)
Constructs a new SocketTimeoutException with a detail
message.
|
UnknownHostException(String host)
Constructs a new
UnknownHostException with the
specified detail message. |
UnknownServiceException(String msg)
Constructs a new
UnknownServiceException with the
specified detail message. |
URI(String str)
Constructs a URI by parsing the given string.
|
URI(String scheme,
String ssp,
String fragment)
Constructs a URI from the given components.
|
URI(String scheme,
String userInfo,
String host,
int port,
String path,
String query,
String fragment)
Constructs a hierarchical URI from the given components.
|
URI(String scheme,
String host,
String path,
String fragment)
Constructs a hierarchical URI from the given components.
|
URI(String scheme,
String authority,
String path,
String query,
String fragment)
Constructs a hierarchical URI from the given components.
|
URISyntaxException(String input,
String reason)
Constructs an instance from the given input string and reason.
|
URISyntaxException(String input,
String reason,
int index)
Constructs an instance from the given input string, reason, and error
index.
|
URL(String spec)
Creates a
URL object from the String
representation. |
URL(String protocol,
String host,
int port,
String file)
Creates a
URL object from the specified
protocol, host, port
number, and file. |
URL(String protocol,
String host,
int port,
String file,
URLStreamHandler handler)
Creates a
URL object from the specified
protocol, host, port
number, file, and handler. |
URL(String protocol,
String host,
String file)
Creates a URL from the specified
protocol
name, host name, and file name. |
URL(URL context,
String spec)
Creates a URL by parsing the given spec within a specified context.
|
URL(URL context,
String spec,
URLStreamHandler handler)
Creates a URL by parsing the given spec with the specified handler
within a specified context.
|
| Modifier and Type | Method and Description |
|---|---|
String |
RemoteException.getMessage()
Returns the detail message, including the message from the nested
exception if there is one.
|
| Constructor and Description |
|---|
AccessException(String s)
Constructs an
AccessException with the specified
detail message. |
AccessException(String s,
Exception ex)
Constructs an
AccessException with the specified
detail message and nested exception. |
AlreadyBoundException(String s)
Constructs an
AlreadyBoundException with the specified
detail message. |
NotBoundException(String s)
Constructs a
NotBoundException with the specified
detail message. |
RemoteException(String s)
Constructs a
RemoteException with the specified
detail message. |
RemoteException(String s,
Throwable ex)
Constructs a
RemoteException with the specified
detail message and nested exception. |
UnexpectedException(String s)
Constructs an
UnexpectedException with the specified
detail message. |
UnexpectedException(String s,
Exception ex)
Constructs a
UnexpectedException with the specified
detail message and nested exception. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
Registry.list()
Returns an array of the names bound in this registry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Registry.bind(String name,
Remote obj)
Binds a remote reference to the specified
name in
this registry. |
Remote |
Registry.lookup(String name)
Returns the remote reference bound to the specified
name in this registry. |
void |
Registry.rebind(String name,
Remote obj)
Replaces the binding for the specified
name in
this registry with the supplied remote reference. |
void |
Registry.unbind(String name)
Removes the binding for the specified
name in
this registry. |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
KeyStoreSpi.engineGetCertificateAlias(Certificate cert)
Returns the (alias) name of the first keystore entry whose certificate
matches the given certificate.
|
protected abstract String |
AlgorithmParametersSpi.engineToString()
Returns a formatted string describing the parameters.
|
String |
UnresolvedPermission.getActions()
Returns the canonical string representation of the actions,
which currently is the empty string "", since there are no actions for
an UnresolvedPermission.
|
abstract String |
Permission.getActions()
Returns the actions as a String.
|
String |
BasicPermission.getActions()
Returns the canonical string representation of the actions,
which currently is the empty string "", since there are no actions for
a BasicPermission.
|
String |
AllPermission.getActions()
Returns the canonical string representation of the actions.
|
String |
SignedObject.getAlgorithm()
Retrieves the name of the signature algorithm.
|
String |
Signature.getAlgorithm()
Returns the name of the algorithm for this signature object.
|
String |
MessageDigest.getAlgorithm()
Returns a string that identifies the algorithm, independent of
implementation details.
|
String |
KeyPairGenerator.getAlgorithm()
Returns the standard name of the algorithm for this key pair generator.
|
String |
KeyFactory.getAlgorithm()
Gets the name of the algorithm
associated with this KeyFactory.
|
String |
Key.getAlgorithm()
Returns the standard algorithm name for this key.
|
String |
AlgorithmParameters.getAlgorithm()
Returns the name of the algorithm associated with this parameter object.
|
String |
AlgorithmParameterGenerator.getAlgorithm()
Returns the standard name of the algorithm this parameter
generator is associated with.
|
String |
KeyStore.getCertificateAlias(Certificate cert)
Returns the (alias) name of the first keystore entry whose certificate
matches the given certificate.
|
static String |
KeyStore.getDefaultType()
Returns the default keystore type as specified in the Java security
properties file, or the string "jks" (acronym for "Java keystore")
if no such property exists.
|
String |
Key.getFormat()
Returns the name of the primary encoding format of this key,
or null if this key does not support encoding.
|
String |
Certificate.getFormat()
Deprecated.
Returns the name of the coding format.
|
String |
Provider.getInfo()
Returns a human-readable description of the provider and its
services.
|
String |
Identity.getInfo()
Deprecated.
Returns general information previously specified for this identity.
|
String |
Provider.getName()
Returns the name of this provider.
|
String |
Principal.getName()
Returns the name of this principal.
|
String |
Permission.getName()
Returns the name of this Permission.
|
String |
Identity.getName()
Deprecated.
Returns this identity's name.
|
static String |
Security.getProperty(String key)
Gets a security property value.
|
String |
KeyStore.getType()
Returns the type of this keystore.
|
String |
UnresolvedPermission.toString()
Returns a string describing this UnresolvedPermission.
|
String |
Signer.toString()
Deprecated.
Returns a string of information about the signer.
|
String |
Signature.toString()
Returns a string representation of this signature object,
providing information that includes the state of the object
and the name of the algorithm used.
|
String |
Provider.toString()
Returns a string with the name and the version number
of this provider.
|
String |
ProtectionDomain.toString()
Convert a ProtectionDomain to a String.
|
String |
PrivilegedActionException.toString() |
String |
Principal.toString()
Returns a string representation of this principal.
|
String |
PermissionCollection.toString()
Returns a string describing this PermissionCollection object,
providing information about all the permissions it contains.
|
String |
Permission.toString()
Returns a string describing this Permission.
|
String |
MessageDigest.toString()
Returns a string representation of this message digest object.
|
String |
IdentityScope.toString()
Deprecated.
Returns a string representation of this identity scope, including
its name, its scope name, and the number of identities in this
identity scope.
|
String |
Identity.toString()
Deprecated.
Returns a short string describing this identity, telling its
name and its scope (if any).
|
String |
DigestOutputStream.toString()
Prints a string representation of this digest output stream and
its associated message digest object.
|
String |
DigestInputStream.toString()
Prints a string representation of this digest input stream and
its associated message digest object.
|
String |
CodeSource.toString()
Returns a string describing this CodeSource, telling its
URL and certificates.
|
String |
AlgorithmParameters.toString()
Returns a formatted string describing the parameters.
|
String |
Identity.toString(boolean detailed)
Deprecated.
Returns a string representation of this identity, with
optionally more details than that provided by the
toString method without any arguments. |
String |
Certificate.toString(boolean detailed)
Deprecated.
Returns a string that represents the contents of the certificate.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
KeyStore.containsAlias(String alias)
Checks if the given alias exists in this keystore.
|
protected Class |
SecureClassLoader.defineClass(String name,
byte[] b,
int off,
int len,
CodeSource cs)
Converts an array of bytes into an instance of class Class,
with an optional CodeSource.
|
void |
KeyStore.deleteEntry(String alias)
Deletes the entry identified by the given alias from this keystore.
|
abstract boolean |
KeyStoreSpi.engineContainsAlias(String alias)
Checks if the given alias exists in this keystore.
|
abstract void |
KeyStoreSpi.engineDeleteEntry(String alias)
Deletes the entry identified by the given alias from this keystore.
|
abstract Certificate |
KeyStoreSpi.engineGetCertificate(String alias)
Returns the certificate associated with the given alias.
|
abstract Certificate[] |
KeyStoreSpi.engineGetCertificateChain(String alias)
Returns the certificate chain associated with the given alias.
|
abstract Date |
KeyStoreSpi.engineGetCreationDate(String alias)
Returns the creation date of the entry identified by the given alias.
|
protected abstract byte[] |
AlgorithmParametersSpi.engineGetEncoded(String format)
Returns the parameters encoded in the specified format.
|
abstract Key |
KeyStoreSpi.engineGetKey(String alias,
char[] password)
Returns the key associated with the given alias, using the given
password to recover it.
|
protected abstract void |
AlgorithmParametersSpi.engineInit(byte[] params,
String format)
Imports the parameters from
params and
decodes them according to the specified decoding format. |
abstract boolean |
KeyStoreSpi.engineIsCertificateEntry(String alias)
Returns true if the entry identified by the given alias is a
trusted certificate entry, and false otherwise.
|
abstract boolean |
KeyStoreSpi.engineIsKeyEntry(String alias)
Returns true if the entry identified by the given alias is a
key entry, and false otherwise.
|
abstract void |
KeyStoreSpi.engineSetCertificateEntry(String alias,
Certificate cert)
Assigns the given certificate to the given alias.
|
abstract void |
KeyStoreSpi.engineSetKeyEntry(String alias,
byte[] key,
Certificate[] chain)
Assigns the given key (that has already been protected) to the given
alias.
|
abstract void |
KeyStoreSpi.engineSetKeyEntry(String alias,
Key key,
char[] password,
Certificate[] chain)
Assigns the given key to the given alias, protecting it with the given
password.
|
static Set |
Security.getAlgorithms(String serviceName)
Returns a Set of Strings containing the names of all available
algorithms or types for the specified Java cryptographic service
(e.g., Signature, MessageDigest, Cipher, Mac, KeyStore).
|
Certificate |
KeyStore.getCertificate(String alias)
Returns the certificate associated with the given alias.
|
Certificate[] |
KeyStore.getCertificateChain(String alias)
Returns the certificate chain associated with the given alias.
|
Date |
KeyStore.getCreationDate(String alias)
Returns the creation date of the entry identified by the given alias.
|
byte[] |
AlgorithmParameters.getEncoded(String format)
Returns the parameters encoded in the specified scheme.
|
abstract Identity |
IdentityScope.getIdentity(String name)
Deprecated.
Returns the identity in this scope with the specified name (if any).
|
static Signature |
Signature.getInstance(String algorithm)
Generates a Signature object that implements the specified digest
algorithm.
|
static SecureRandom |
SecureRandom.getInstance(String algorithm)
Generates a SecureRandom object that implements the specified
Pseudo Random Number Generator (PRNG) algorithm.
|
static MessageDigest |
MessageDigest.getInstance(String algorithm)
Generates a MessageDigest object that implements the specified digest
algorithm.
|
static KeyStore |
KeyStore.getInstance(String type)
Generates a keystore object of the given type.
|
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm)
Generates a KeyPairGenerator object that implements the specified digest
algorithm.
|
static KeyFactory |
KeyFactory.getInstance(String algorithm)
Generates a KeyFactory object that implements the specified
algorithm.
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm)
Generates a parameter object for the specified algorithm.
|
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm)
Generates an AlgorithmParameterGenerator object that implements the
specified digest algorithm.
|
static Signature |
Signature.getInstance(String algorithm,
Provider provider)
Generates a Signature object implementing the specified
algorithm, as supplied from the specified provider, if such an
algorithm is available from the provider.
|
static SecureRandom |
SecureRandom.getInstance(String algorithm,
Provider provider)
Generates a SecureRandom object for the specified PRNG
algorithm, as supplied from the specified provider, if such a
PRNG implementation is available from the provider.
|
static MessageDigest |
MessageDigest.getInstance(String algorithm,
Provider provider)
Generates a MessageDigest object implementing the specified
algorithm, as supplied from the specified provider, if such an
algorithm is available from the provider.
|
static KeyStore |
KeyStore.getInstance(String type,
Provider provider)
Generates a keystore object for the specified keystore
type from the specified provider.
|
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm,
Provider provider)
Generates a KeyPairGenerator object implementing the specified
algorithm, as supplied from the specified provider,
if such an algorithm is available from the provider.
|
static KeyFactory |
KeyFactory.getInstance(String algorithm,
Provider provider)
Generates a KeyFactory object for the specified algorithm from the
specified provider.
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm,
Provider provider)
Generates a parameter object for the specified algorithm, as supplied
by the specified provider, if such an algorithm is available from the
provider.
|
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm,
Provider provider)
Generates an AlgorithmParameterGenerator object for the requested
algorithm, as supplied from the specified provider,
if such a parameter generator is available from the provider.
|
static Signature |
Signature.getInstance(String algorithm,
String provider)
Generates a Signature object implementing the specified
algorithm, as supplied from the specified provider, if such an
algorithm is available from the provider.
|
static SecureRandom |
SecureRandom.getInstance(String algorithm,
String provider)
Generates a SecureRandom object for the specified PRNG
algorithm, as supplied from the specified provider, if such a
PRNG implementation is available from the provider.
|
static MessageDigest |
MessageDigest.getInstance(String algorithm,
String provider)
Generates a MessageDigest object implementing the specified
algorithm, as supplied from the specified provider, if such an
algorithm is available from the provider.
|
static KeyStore |
KeyStore.getInstance(String type,
String provider)
Generates a keystore object for the specified keystore
type from the specified provider.
|
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm,
String provider)
Generates a KeyPairGenerator object implementing the specified
algorithm, as supplied from the specified provider,
if such an algorithm is available from the provider.
|
static KeyFactory |
KeyFactory.getInstance(String algorithm,
String provider)
Generates a KeyFactory object for the specified algorithm from the
specified provider.
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm,
String provider)
Generates a parameter object for the specified algorithm, as supplied
by the specified provider, if such an algorithm is available from the
provider.
|
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm,
String provider)
Generates an AlgorithmParameterGenerator object for the requested
algorithm, as supplied from the specified provider,
if such a parameter generator is available from the provider.
|
Key |
KeyStore.getKey(String alias,
char[] password)
Returns the key associated with the given alias, using the given
password to recover it.
|
static String |
Security.getProperty(String key)
Gets a security property value.
|
static Provider |
Security.getProvider(String name)
Returns the provider installed with the specified name, if
any.
|
static Provider[] |
Security.getProviders(String filter)
Returns an array containing all installed providers that satisfy the
specified selection criterion, or null if no such providers have been
installed.
|
void |
AlgorithmParameters.init(byte[] params,
String format)
Imports the parameters from
params and decodes them
according to the specified decoding scheme. |
boolean |
KeyStore.isCertificateEntry(String alias)
Returns true if the entry identified by the given alias is a
trusted certificate entry, and false otherwise.
|
boolean |
KeyStore.isKeyEntry(String alias)
Returns true if the entry identified by the given alias is a
key entry, and false otherwise.
|
static void |
Security.removeProvider(String name)
Removes the provider with the specified name.
|
void |
KeyStore.setCertificateEntry(String alias,
Certificate cert)
Assigns the given certificate to the given alias.
|
void |
Identity.setInfo(String info)
Deprecated.
Specifies a general information string for this identity.
|
void |
KeyStore.setKeyEntry(String alias,
byte[] key,
Certificate[] chain)
Assigns the given key (that has already been protected) to the given
alias.
|
void |
KeyStore.setKeyEntry(String alias,
Key key,
char[] password,
Certificate[] chain)
Assigns the given key to the given alias, protecting it with the given
password.
|
static void |
Security.setProperty(String key,
String datum)
Sets a security property value.
|
| Constructor and Description |
|---|
AccessControlException(String s)
Constructs an
AccessControlException with the
specified, detailed message. |
AccessControlException(String s,
Permission p)
Constructs an
AccessControlException with the
specified, detailed message, and the requested permission that caused
the exception. |
AlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi paramGenSpi,
Provider provider,
String algorithm)
Creates an AlgorithmParameterGenerator object.
|
AlgorithmParameters(AlgorithmParametersSpi paramSpi,
Provider provider,
String algorithm)
Creates an AlgorithmParameters object.
|
AllPermission(String name,
String actions)
Creates a new AllPermission object.
|
BasicPermission(String name)
Creates a new BasicPermission with the specified name.
|
BasicPermission(String name,
String actions)
Creates a new BasicPermission object with the specified name.
|
DigestException(String msg)
Constructs a DigestException with the specified detail
message.
|
GeneralSecurityException(String msg)
Constructs a GeneralSecurityException with the specified detail
message.
|
Identity(String name)
Deprecated.
Constructs an identity with the specified name and no scope.
|
Identity(String name,
IdentityScope scope)
Deprecated.
Constructs an identity with the specified name and scope.
|
IdentityScope(String name)
Deprecated.
Constructs a new identity scope with the specified name.
|
IdentityScope(String name,
IdentityScope scope)
Deprecated.
Constructs a new identity scope with the specified name and scope.
|
InvalidAlgorithmParameterException(String msg)
Constructs an InvalidAlgorithmParameterException with the specified
detail message.
|
InvalidKeyException(String msg)
Constructs an InvalidKeyException with the specified detail
message.
|
InvalidParameterException(String msg)
Constructs an InvalidParameterException with the specified
detail message.
|
KeyException(String msg)
Constructs a KeyException with the specified detail message.
|
KeyFactory(KeyFactorySpi keyFacSpi,
Provider provider,
String algorithm)
Creates a KeyFactory object.
|
KeyManagementException(String msg)
Constructs a KeyManagementException with the specified detail
message.
|
KeyPairGenerator(String algorithm)
Creates a KeyPairGenerator object for the specified algorithm.
|
KeyStore(KeyStoreSpi keyStoreSpi,
Provider provider,
String type)
Creates a KeyStore object of the given type, and encapsulates the given
provider implementation (SPI object) in it.
|
KeyStoreException(String msg)
Constructs a KeyStoreException with the specified detail
message.
|
MessageDigest(String algorithm)
Creates a message digest with the specified algorithm name.
|
NoSuchAlgorithmException(String msg)
Constructs a NoSuchAlgorithmException with the specified
detail message.
|
NoSuchProviderException(String msg)
Constructs a NoSuchProviderException with the specified detail
message.
|
Permission(String name)
Constructs a permission with the specified name.
|
Provider(String name,
double version,
String info)
Constructs a provider with the specified name, version number,
and information.
|
ProviderException(String s)
Constructs a ProviderException with the specified detail
message.
|
SecurityPermission(String name)
Creates a new SecurityPermission with the specified name.
|
SecurityPermission(String name,
String actions)
Creates a new SecurityPermission object with the specified name.
|
Signature(String algorithm)
Creates a Signature object for the specified algorithm.
|
SignatureException(String msg)
Constructs a SignatureException with the specified detail
message.
|
Signer(String name)
Deprecated.
Creates a signer with the specified identity name.
|
Signer(String name,
IdentityScope scope)
Deprecated.
Creates a signer with the specified identity name and scope.
|
UnrecoverableKeyException(String msg)
Constructs an UnrecoverableKeyException with the specified detail
message, which provides more information about why this exception
has been thrown.
|
UnresolvedPermission(String type,
String name,
String actions,
Certificate[] certs)
Creates a new UnresolvedPermission containing the permission
information needed later to actually create a Permission of the
specified class, when the permission is resolved.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Acl.getName()
Returns the name of this ACL.
|
String |
Permission.toString()
Prints a string representation of this permission.
|
String |
AclEntry.toString()
Returns a string representation of the contents of this ACL entry.
|
String |
Acl.toString()
Returns a string representation of the
ACL contents.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Acl.setName(Principal caller,
String name)
Sets the name of this ACL.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
X509Certificate.getSigAlgName()
Gets the signature algorithm name for the certificate
signature algorithm.
|
abstract String |
X509CRL.getSigAlgName()
Gets the signature algorithm name for the CRL
signature algorithm.
|
abstract String |
X509Certificate.getSigAlgOID()
Gets the signature algorithm OID string from the certificate.
|
abstract String |
X509CRL.getSigAlgOID()
Gets the signature algorithm OID string from the CRL.
|
String |
CertificateFactory.getType()
Returns the name of the certificate type associated with this
certificate factory.
|
String |
Certificate.getType()
Returns the type of this certificate.
|
String |
CertPath.getType()
Returns the type of
Certificates in this certification
path. |
String |
CRL.getType()
Returns the type of this CRL.
|
abstract String |
X509CRLEntry.toString()
Returns a string representation of this CRL entry.
|
abstract String |
Certificate.toString()
Returns a string representation of this certificate.
|
String |
CertPath.toString()
Returns a string representation of this certification path.
|
abstract String |
CRL.toString()
Returns a string representation of this CRL.
|
| Modifier and Type | Method and Description |
|---|---|
CertPath |
CertificateFactorySpi.engineGenerateCertPath(InputStream inStream,
String encoding)
Generates a
CertPath object and initializes it with
the data read from the InputStream inStream. |
CertPath |
CertificateFactory.generateCertPath(InputStream inStream,
String encoding)
Generates a
CertPath object and initializes it with
the data read from the InputStream inStream. |
abstract byte[] |
CertPath.getEncoded(String encoding)
Returns the encoded form of this certification path, using the
specified encoding.
|
byte[] |
X509Extension.getExtensionValue(String oid)
Gets the DER-encoded OCTET string for the extension value
(extnValue) identified by the passed-in
oid
String. |
static CertificateFactory |
CertificateFactory.getInstance(String type)
Generates a certificate factory object that implements the
specified certificate type.
|
static CertificateFactory |
CertificateFactory.getInstance(String type,
Provider provider)
Generates a certificate factory object for the specified
certificate type from the specified provider.
|
static CertificateFactory |
CertificateFactory.getInstance(String type,
String provider)
Generates a certificate factory object for the specified
certificate type from the specified provider.
|
abstract void |
X509CRL.verify(PublicKey key,
String sigProvider)
Verifies that this CRL was signed using the
private key that corresponds to the given public key.
|
abstract void |
Certificate.verify(PublicKey key,
String sigProvider)
Verifies that this certificate was signed using the
private key that corresponds to the specified public key.
|
| Constructor and Description |
|---|
Certificate.CertificateRep(String type,
byte[] data)
Construct the alternate Certificate class with the Certificate
type and Certificate encoding bytes.
|
Certificate(String type)
Creates a certificate of the specified type.
|
CertificateEncodingException(String message)
Constructs a CertificateEncodingException with the specified detail
message.
|
CertificateException(String msg)
Constructs a certificate exception with the given detail
message.
|
CertificateExpiredException(String message)
Constructs a CertificateExpiredException with the specified detail
message.
|
CertificateFactory(CertificateFactorySpi certFacSpi,
Provider provider,
String type)
Creates a CertificateFactory object of the given type, and encapsulates
the given provider implementation (SPI object) in it.
|
CertificateNotYetValidException(String message)
Constructs a CertificateNotYetValidException with the specified detail
message.
|
CertificateParsingException(String message)
Constructs a CertificateParsingException with the specified detail
message.
|
CertPath.CertPathRep(String type,
byte[] data)
Creates a
CertPathRep with the specified
type and encoded form of a certification path. |
CertPath(String type)
Creates a
CertPath of the specified type. |
CRL(String type)
Creates a CRL of the specified type.
|
CRLException(String message)
Constructs a CRLException with the specified detail
message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
X509EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this
key specification.
|
String |
PKCS8EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this
key specification.
|
abstract String |
EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this
key specification.
|
| Constructor and Description |
|---|
InvalidKeySpecException(String msg)
Constructs an InvalidKeySpecException with the specified detail
message.
|
InvalidParameterSpecException(String msg)
Constructs an InvalidParameterSpecException with the specified detail
message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
DateFormat.format(Date date)
Formats a Date into a date/time string.
|
String |
NumberFormat.format(double number)
Specialization of format.
|
String |
NumberFormat.format(long number)
Specialization of format.
|
String |
Format.format(Object obj)
Formats an object to produce a string.
|
static String |
MessageFormat.format(String pattern,
Object[] arguments)
Creates a MessageFormat with the given pattern and uses it
to format the given arguments.
|
String[] |
DateFormatSymbols.getAmPmStrings()
Gets ampm strings.
|
String |
DecimalFormatSymbols.getCurrencySymbol()
Returns the currency symbol for the currency of these
DecimalFormatSymbols in their locale.
|
String[] |
DateFormatSymbols.getEras()
Gets era strings.
|
String |
DecimalFormatSymbols.getInfinity()
Gets the string used to represent infinity.
|
String |
DecimalFormatSymbols.getInternationalCurrencySymbol()
Returns the ISO 4217 currency code of the currency of these
DecimalFormatSymbols.
|
String |
DateFormatSymbols.getLocalPatternChars()
Gets localized date-time pattern characters.
|
String[] |
DateFormatSymbols.getMonths()
Gets month strings.
|
protected String |
AttributedCharacterIterator.Attribute.getName()
Returns the name of the attribute.
|
String |
DecimalFormatSymbols.getNaN()
Gets the string used to represent "not a number".
|
String |
DecimalFormat.getNegativePrefix()
Get the negative prefix.
|
String |
DecimalFormat.getNegativeSuffix()
Get the negative suffix.
|
String |
DecimalFormat.getPositivePrefix()
Get the positive prefix.
|
String |
DecimalFormat.getPositiveSuffix()
Get the positive suffix.
|
String |
RuleBasedCollator.getRules()
Gets the table-based rules for the collation object.
|
String[] |
DateFormatSymbols.getShortMonths()
Gets short month strings.
|
String[] |
DateFormatSymbols.getShortWeekdays()
Gets short weekday strings.
|
String |
CollationKey.getSourceString()
Returns the String that this CollationKey represents.
|
String[] |
DateFormatSymbols.getWeekdays()
Gets weekday strings.
|
String[][] |
DateFormatSymbols.getZoneStrings()
Gets timezone strings.
|
String |
SimpleDateFormat.toLocalizedPattern()
Returns a localized pattern string describing this date format.
|
String |
DecimalFormat.toLocalizedPattern()
Synthesizes a localized pattern string that represents the current
state of this Format object.
|
String |
SimpleDateFormat.toPattern()
Returns a pattern string describing this date format.
|
String |
MessageFormat.toPattern()
Returns a pattern representing the current state of the message format.
|
String |
DecimalFormat.toPattern()
Synthesizes a pattern string that represents the current state
of this Format object.
|
String |
ChoiceFormat.toPattern()
Gets the pattern.
|
String |
ParsePosition.toString()
Return a string representation of this ParsePosition.
|
String |
FieldPosition.toString()
Return a string representation of this FieldPosition.
|
String |
AttributedCharacterIterator.Attribute.toString()
Returns a string representation of the object.
|
String |
Annotation.toString()
Returns the String representation of this Annotation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleDateFormat.applyLocalizedPattern(String pattern)
Applies the given localized pattern string to this date format.
|
void |
DecimalFormat.applyLocalizedPattern(String pattern)
Apply the given pattern to this Format object.
|
void |
SimpleDateFormat.applyPattern(String pattern)
Applies the given pattern string to this date format.
|
void |
MessageFormat.applyPattern(String pattern)
Sets the pattern used by this message format.
|
void |
DecimalFormat.applyPattern(String pattern)
Apply the given pattern to this Format object.
|
void |
ChoiceFormat.applyPattern(String newPattern)
Sets the pattern.
|
int |
RuleBasedCollator.compare(String source,
String target)
Compares the character data stored in two different strings based on the
collation rules.
|
abstract int |
Collator.compare(String source,
String target)
Compares the source string to the target string according to the
collation rules for this Collator.
|
boolean |
Collator.equals(String source,
String target)
Convenience method for comparing the equality of two strings based on
this Collator's collation rules.
|
static String |
MessageFormat.format(String pattern,
Object[] arguments)
Creates a MessageFormat with the given pattern and uses it
to format the given arguments.
|
CollationElementIterator |
RuleBasedCollator.getCollationElementIterator(String source)
Return a CollationElementIterator for the given String.
|
CollationKey |
RuleBasedCollator.getCollationKey(String source)
Transforms the string into a series of characters that can be compared
with CollationKey.compareTo.
|
abstract CollationKey |
Collator.getCollationKey(String source)
Transforms the String into a series of bits that can be compared bitwise
to other CollationKeys.
|
Number |
NumberFormat.parse(String source)
Parses text from the beginning of the given string to produce a number.
|
Object[] |
MessageFormat.parse(String source)
Parses text from the beginning of the given string to produce an object
array.
|
Date |
DateFormat.parse(String source)
Parses text from the beginning of the given string to produce a date.
|
Date |
SimpleDateFormat.parse(String text,
ParsePosition pos)
Parses text from a string to produce a
Date. |
abstract Number |
NumberFormat.parse(String source,
ParsePosition parsePosition)
Returns a Long if possible (e.g., within the range [Long.MIN_VALUE,
Long.MAX_VALUE] and with no decimals), otherwise a Double.
|
Object[] |
MessageFormat.parse(String source,
ParsePosition pos)
Parses the string.
|
Number |
DecimalFormat.parse(String text,
ParsePosition pos)
Parses text from a string to produce a
Number. |
abstract Date |
DateFormat.parse(String source,
ParsePosition pos)
Parse a date/time string according to the given parse position.
|
Number |
ChoiceFormat.parse(String text,
ParsePosition status)
Parses a Number from the input text.
|
Object |
Format.parseObject(String source)
Parses text from the beginning of the given string to produce an object.
|
Object |
NumberFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a
Number. |
Object |
MessageFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object array.
|
abstract Object |
Format.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object.
|
Object |
DateFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a
Date. |
void |
DateFormatSymbols.setAmPmStrings(String[] newAmpms)
Sets ampm strings.
|
void |
ChoiceFormat.setChoices(double[] limits,
String[] formats)
Set the choices to be used in formatting.
|
void |
DecimalFormatSymbols.setCurrencySymbol(String currency)
Sets the currency symbol for the currency of these
DecimalFormatSymbols in their locale.
|
void |
DateFormatSymbols.setEras(String[] newEras)
Sets era strings.
|
void |
DecimalFormatSymbols.setInfinity(String infinity)
Sets the string used to represent infinity.
|
void |
DecimalFormatSymbols.setInternationalCurrencySymbol(String currencyCode)
Sets the ISO 4217 currency code of the currency of these
DecimalFormatSymbols.
|
void |
DateFormatSymbols.setLocalPatternChars(String newLocalPatternChars)
Sets localized date-time pattern characters.
|
void |
DateFormatSymbols.setMonths(String[] newMonths)
Sets month strings.
|
void |
DecimalFormatSymbols.setNaN(String NaN)
Sets the string used to represent "not a number".
|
void |
DecimalFormat.setNegativePrefix(String newValue)
Set the negative prefix.
|
void |
DecimalFormat.setNegativeSuffix(String newValue)
Set the positive suffix.
|
void |
DecimalFormat.setPositivePrefix(String newValue)
Set the positive prefix.
|
void |
DecimalFormat.setPositiveSuffix(String newValue)
Set the positive suffix.
|
void |
DateFormatSymbols.setShortMonths(String[] newShortMonths)
Sets short month strings.
|
void |
DateFormatSymbols.setShortWeekdays(String[] newShortWeekdays)
Sets short weekday strings.
|
void |
StringCharacterIterator.setText(String text)
Reset this iterator to point to a new string.
|
void |
CollationElementIterator.setText(String source)
Set a new string over which to iterate.
|
void |
BreakIterator.setText(String newText)
Set a new text string to be scanned.
|
void |
DateFormatSymbols.setWeekdays(String[] newWeekdays)
Sets weekday strings.
|
void |
DateFormatSymbols.setZoneStrings(String[][] newZoneStrings)
Sets timezone strings.
|
| Constructor and Description |
|---|
AttributedCharacterIterator.Attribute(String name)
Constructs an Attribute with the given name.
|
AttributedString(String text)
Constructs an AttributedString instance with the given text.
|
AttributedString(String text,
Map attributes)
Constructs an AttributedString instance with the given text and attributes.
|
ChoiceFormat(double[] limits,
String[] formats)
Constructs with the limits and the corresponding formats.
|
ChoiceFormat(String newPattern)
Constructs with limits and corresponding formats based on the pattern.
|
DateFormat.Field(String name,
int calendarField)
Creates a Field with the specified name.
|
DecimalFormat(String pattern)
Creates a DecimalFormat using the given pattern and the symbols
for the default locale.
|
DecimalFormat(String pattern,
DecimalFormatSymbols symbols)
Creates a DecimalFormat using the given pattern and symbols.
|
Format.Field(String name)
Creates a Field with the specified name.
|
MessageFormat.Field(String name)
Creates a Field with the specified name.
|
MessageFormat(String pattern)
Constructs a MessageFormat for the default locale and the
specified pattern.
|
MessageFormat(String pattern,
Locale locale)
Constructs a MessageFormat for the specified locale and
pattern.
|
NumberFormat.Field(String name)
Creates a Field instance with the specified
name.
|
ParseException(String s,
int errorOffset)
Constructs a ParseException with the specified detail message and
offset.
|
RuleBasedCollator(String rules)
RuleBasedCollator constructor.
|
SimpleDateFormat(String pattern)
Constructs a
SimpleDateFormat using the given pattern and
the default date format symbols for the default locale. |
SimpleDateFormat(String pattern,
DateFormatSymbols formatSymbols)
Constructs a
SimpleDateFormat using the given pattern and
date format symbols. |
SimpleDateFormat(String pattern,
Locale locale)
Constructs a
SimpleDateFormat using the given pattern and
the default date format symbols for the given locale. |
StringCharacterIterator(String text)
Constructs an iterator with an initial index of 0.
|
StringCharacterIterator(String text,
int pos)
Constructs an iterator with the specified initial index.
|
StringCharacterIterator(String text,
int begin,
int end,
int pos)
Constructs an iterator over the given range of the given string, with the
index set at the specified position.
|
| Modifier and Type | Method and Description |
|---|---|
String |
PropertyPermission.getActions()
Returns the "canonical string representation" of the actions.
|
static String[] |
TimeZone.getAvailableIDs()
Gets all the available IDs supported.
|
static String[] |
TimeZone.getAvailableIDs(int rawOffset)
Gets the available IDs according to the given time zone offset.
|
String |
MissingResourceException.getClassName()
Gets parameter passed by constructor.
|
String |
Locale.getCountry()
Returns the country/region code for this locale, which will either be the empty string
or an upercase ISO 3166 2-letter code.
|
String |
Currency.getCurrencyCode()
Gets the ISO 4217 currency code of this currency.
|
String |
Locale.getDisplayCountry()
Returns a name for the locale's country that is appropriate for display to the
user.
|
String |
Locale.getDisplayCountry(Locale inLocale)
Returns a name for the locale's country that is appropriate for display to the
user.
|
String |
Locale.getDisplayLanguage()
Returns a name for the locale's language that is appropriate for display to the
user.
|
String |
Locale.getDisplayLanguage(Locale inLocale)
Returns a name for the locale's language that is appropriate for display to the
user.
|
String |
TimeZone.getDisplayName()
Returns a name of this time zone suitable for presentation to the user
in the default locale.
|
String |
Locale.getDisplayName()
Returns a name for the locale that is appropriate for display to the
user.
|
String |
TimeZone.getDisplayName(boolean daylight,
int style)
Returns a name of this time zone suitable for presentation to the user
in the default locale.
|
String |
TimeZone.getDisplayName(boolean daylight,
int style,
Locale locale)
Returns a name of this time zone suitable for presentation to the user
in the specified locale.
|
String |
TimeZone.getDisplayName(Locale locale)
Returns a name of this time zone suitable for presentation to the user
in the specified locale.
|
String |
Locale.getDisplayName(Locale inLocale)
Returns a name for the locale that is appropriate for display to the
user.
|
String |
Locale.getDisplayVariant()
Returns a name for the locale's variant code that is appropriate for display to the
user.
|
String |
Locale.getDisplayVariant(Locale inLocale)
Returns a name for the locale's variant code that is appropriate for display to the
user.
|
String |
TimeZone.getID()
Gets the ID of this time zone.
|
String |
Locale.getISO3Country()
Returns a three-letter abbreviation for this locale's country.
|
String |
Locale.getISO3Language()
Returns a three-letter abbreviation for this locale's language.
|
static String[] |
Locale.getISOCountries()
Returns a list of all 2-letter country codes defined in ISO 3166.
|
static String[] |
Locale.getISOLanguages()
Returns a list of all 2-letter language codes defined in ISO 639.
|
String |
MissingResourceException.getKey()
Gets parameter passed by constructor.
|
String |
Locale.getLanguage()
Returns the language code for this locale, which will either be the empty string
or a lowercase ISO 639 code.
|
String |
Properties.getProperty(String key)
Searches for the property with the specified key in this property list.
|
String |
Properties.getProperty(String key,
String defaultValue)
Searches for the property with the specified key in this property list.
|
String |
ResourceBundle.getString(String key)
Gets a string for the given key from this resource bundle or one of its parents.
|
String[] |
ResourceBundle.getStringArray(String key)
Gets a string array for the given key from this resource bundle or one of its parents.
|
String |
Currency.getSymbol()
Gets the symbol of this currency for the default locale.
|
String |
Currency.getSymbol(Locale locale)
Gets the symbol of this currency for the specified locale.
|
String |
Locale.getVariant()
Returns the variant code for this locale.
|
String |
StringTokenizer.nextToken()
Returns the next token from this string tokenizer.
|
String |
StringTokenizer.nextToken(String delim)
Returns the next token in this string tokenizer's string.
|
String |
Vector.toString()
Returns a string representation of this Vector, containing
the String representation of each element.
|
String |
SimpleTimeZone.toString()
Returns a string representation of this time zone.
|
String |
Locale.toString()
Getter for the programmatic name of the entire locale,
with the language, country and variant separated by underbars.
|
String |
Hashtable.toString()
Returns a string representation of this Hashtable object
in the form of a set of entries, enclosed in braces and separated
by the ASCII characters ", " (comma and space).
|
String |
EventObject.toString()
Returns a String representation of this EventObject.
|
String |
Date.toString()
Converts this
Date object to a String
of the form:
|
String |
Currency.toString()
Returns the ISO 4217 currency code of this currency.
|
String |
Calendar.toString()
Return a string representation of this calendar.
|
String |
BitSet.toString()
Returns a string representation of this bit set.
|
String |
AbstractMap.toString()
Returns a string representation of this map.
|
String |
AbstractCollection.toString()
Returns a string representation of this collection.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceBundle |
ResourceBundle.getBundle(String baseName)
Gets a resource bundle using the specified base name, the default locale,
and the caller's class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale locale)
Gets a resource bundle using the specified base name and locale,
and the caller's class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale locale,
ClassLoader loader)
Gets a resource bundle using the specified base name, locale, and class loader.
|
static Currency |
Currency.getInstance(String currencyCode)
Returns the
Currency instance for the given currency code. |
Object |
ResourceBundle.getObject(String key)
Gets an object for the given key from this resource bundle or one of its parents.
|
String |
Properties.getProperty(String key)
Searches for the property with the specified key in this property list.
|
String |
Properties.getProperty(String key,
String defaultValue)
Searches for the property with the specified key in this property list.
|
String |
ResourceBundle.getString(String key)
Gets a string for the given key from this resource bundle or one of its parents.
|
String[] |
ResourceBundle.getStringArray(String key)
Gets a string array for the given key from this resource bundle or one of its parents.
|
static TimeZone |
TimeZone.getTimeZone(String ID)
Gets the
TimeZone for the given ID. |
protected abstract Object |
ResourceBundle.handleGetObject(String key)
Gets an object for the given key from this resource bundle.
|
Object |
PropertyResourceBundle.handleGetObject(String key) |
Object |
ListResourceBundle.handleGetObject(String key) |
String |
StringTokenizer.nextToken(String delim)
Returns the next token in this string tokenizer's string.
|
void |
Properties.save(OutputStream out,
String header)
Deprecated.
This method does not throw an IOException if an I/O error
occurs while saving the property list. As of the Java 2 platform v1.2, the preferred
way to save a properties list is via the
store(OutputStream out,
String header) method. |
void |
TimeZone.setID(String ID)
Sets the time zone ID.
|
Object |
Properties.setProperty(String key,
String value)
Calls the Hashtable method
put. |
void |
Properties.store(OutputStream out,
String header)
Writes this property list (key and element pairs) in this
Properties table to the output stream in a format suitable
for loading into a Properties table using the
load method. |
| Constructor and Description |
|---|
ConcurrentModificationException(String message)
Constructs a ConcurrentModificationException with the
specified detail message.
|
Locale(String language)
Construct a locale from a language code.
|
Locale(String language,
String country)
Construct a locale from language, country.
|
Locale(String language,
String country,
String variant)
Construct a locale from language, country, variant.
|
MissingResourceException(String s,
String className,
String key)
Constructs a MissingResourceException with the specified information.
|
NoSuchElementException(String s)
Constructs a
NoSuchElementException, saving a reference
to the error message string s for later retrieval by the
getMessage method. |
PropertyPermission(String name,
String actions)
Creates a new PropertyPermission object with the specified name.
|
SimpleTimeZone(int rawOffset,
String ID)
Constructs a SimpleTimeZone with the given base time zone offset from GMT
and time zone ID with no daylight saving time schedule.
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime)
Constructs a SimpleTimeZone with the given base time zone offset from
GMT, time zone ID, and rules for starting and ending the daylight
time.
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime,
int dstSavings)
Constructs a SimpleTimeZone with the given base time zone offset from
GMT, time zone ID, and rules for starting and ending the daylight
time.
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int startTimeMode,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime,
int endTimeMode,
int dstSavings)
Constructs a SimpleTimeZone with the given base time zone offset from
GMT, time zone ID, and rules for starting and ending the daylight
time.
|
StringTokenizer(String str)
Constructs a string tokenizer for the specified string.
|
StringTokenizer(String str,
String delim)
Constructs a string tokenizer for the specified string.
|
StringTokenizer(String str,
String delim,
boolean returnDelims)
Constructs a string tokenizer for the specified string.
|
TooManyListenersException(String s)
Constructs a TooManyListenersException with the specified detail message.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
JarFile.MANIFEST_NAME
The JAR manifest file name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Attributes.getValue(Attributes.Name name)
Returns the value of the specified Attributes.Name, or null if the
attribute was not found.
|
String |
Attributes.getValue(String name)
Returns the value of the specified attribute name, specified as
a string, or null if the attribute was not found.
|
String |
Attributes.putValue(String name,
String value)
Associates the specified value with the specified attribute name,
specified as a String.
|
String |
Attributes.Name.toString()
Returns the attribute name as a String.
|
| Modifier and Type | Method and Description |
|---|---|
protected ZipEntry |
JarInputStream.createZipEntry(String name)
Creates a new
JarEntry (ZipEntry) for the
specified JAR file entry name. |
Attributes |
Manifest.getAttributes(String name)
Returns the Attributes for the specified entry name.
|
ZipEntry |
JarFile.getEntry(String name)
Returns the
ZipEntry for the given entry name or
null if not found. |
JarEntry |
JarFile.getJarEntry(String name)
Returns the
JarEntry for the given entry name or
null if not found. |
String |
Attributes.getValue(String name)
Returns the value of the specified attribute name, specified as
a string, or null if the attribute was not found.
|
String |
Attributes.putValue(String name,
String value)
Associates the specified value with the specified attribute name,
specified as a String.
|
| Constructor and Description |
|---|
Attributes.Name(String name)
Constructs a new attribute name using the given string name.
|
JarEntry(String name)
Creates a new
JarEntry for the specified JAR file
entry name. |
JarException(String s)
Constructs a JarException with the specified detail message.
|
JarFile(String name)
Creates a new
JarFile to read from the specified
file name. |
JarFile(String name,
boolean verify)
Creates a new
JarFile to read from the specified
file name. |
| Modifier and Type | Method and Description |
|---|---|
String |
ZipEntry.getComment()
Returns the comment string for the entry, or null if none.
|
String |
ZipFile.getName()
Returns the path name of the ZIP file.
|
String |
ZipEntry.getName()
Returns the name of the entry.
|
String |
ZipEntry.toString()
Returns a string representation of the ZIP entry.
|
| Modifier and Type | Method and Description |
|---|---|
protected ZipEntry |
ZipInputStream.createZipEntry(String name)
Creates a new
ZipEntry object for the specified
entry name. |
ZipEntry |
ZipFile.getEntry(String name)
Returns the zip file entry for the specified name, or null
if not found.
|
void |
ZipOutputStream.setComment(String comment)
Sets the ZIP file comment.
|
void |
ZipEntry.setComment(String comment)
Sets the optional comment string for the entry.
|
| Constructor and Description |
|---|
DataFormatException(String s)
Constructs a DataFormatException with the specified detail message.
|
ZipEntry(String name)
Creates a new zip entry with the specified name.
|
ZipException(String s)
Constructs an
ZipException with the specified detail
message. |
ZipFile(String name)
Opens a zip file for reading.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
ControllerClosedEvent.message |
static String |
Manager.UNKNOWN_CONTENT_NAME |
| Modifier and Type | Method and Description |
|---|---|
String |
ControllerClosedEvent.getMessage()
Obtain the message describing why this event
occurred.
|
String |
MediaLocator.getProtocol()
Get the beginning of the locator string
up to but not including the first colon.
|
String |
MediaLocator.getRemainder()
Get the
MediaLocator string with the protocol removed. |
String |
MediaLocator.toExternalForm()
Create a string from the
URL argument that can
be used to construct the MediaLocator. |
String |
MediaLocator.toString()
Used for printing
MediaLocators. |
| Modifier and Type | Method and Description |
|---|---|
Control |
Controller.getControl(String forName)
Get the
Control that supports the
class or interface specified. |
static Vector |
Manager.getDataSourceList(String protocolName)
Build a list of
DataSource class names from the
protocol prefix-list and a protocol name. |
static Vector |
Manager.getHandlerClassList(String contentName)
Build a list of
Handler/CODE> classes from the
content-prefix-list and a content name. |
| Constructor and Description |
|---|
ClockStartedError(String reason)
Construct a
ClockStartedError that contains the specified reason message. |
ClockStoppedException(String reason) |
ConnectionErrorEvent(Controller from,
String why) |
ControllerClosedEvent(Controller from,
String why) |
ControllerErrorEvent(Controller from,
String why) |
IncompatibleSourceException(String reason) |
IncompatibleTimeBaseException(String reason) |
InternalErrorEvent(Controller from,
String message) |
MediaError(String reason) |
MediaException(String reason) |
MediaLocator(String locatorString) |
NoDataSourceException(String reason) |
NoPlayerException(String reason) |
NotPrefetchedError(String reason) |
NotRealizedError(String reason) |
ResourceUnavailableEvent(Controller from,
String message) |
StopTimeSetError(String reason) |
| Modifier and Type | Field and Description |
|---|---|
static String |
ContentDescriptor.CONTENT_UNKNOWN |
protected String |
ContentDescriptor.typeName |
| Modifier and Type | Method and Description |
|---|---|
String |
URLDataSource.getContentType()
Return the content type name.
|
abstract String |
DataSource.getContentType()
Get a string that describes the content-type of the media
that the source is providing.
|
String |
ContentDescriptor.getContentType()
Obtain a string that represents the content-name
for this descriptor.
|
static String |
ContentDescriptor.mimeTypeToPackageName(String mimeType)
Map a MIME content-type to an equivalent string
of class-name components.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
URLDataSource.getControl(String controlName)
Returns null, because this source doesn't provide
any controls.
|
Object |
Controls.getControl(String controlType)
Obtain the object that implements the specified
Class or Interface
The full class or interface name must be used. |
static String |
ContentDescriptor.mimeTypeToPackageName(String mimeType)
Map a MIME content-type to an equivalent string
of class-name components.
|
| Constructor and Description |
|---|
ContentDescriptor(String cdName)
Create a content descriptor with the specified name.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
HttpConnection.GET
HTTP Get method.
|
static String |
HttpConnection.HEAD
HTTP Head method.
|
static String |
HttpConnection.POST
HTTP Post method.
|
| Modifier and Type | Method and Description |
|---|---|
String |
SocketConnection.getAddress()
Gets the remote address to which the socket is bound.
|
String |
Datagram.getAddress()
Get the address of the datagram.
|
String |
SecurityInfo.getCipherSuite()
Returns the name of the cipher suite in use for the connection.
|
String |
ContentConnection.getEncoding()
Returns a string describing the encoding of the content which
the resource connected to is providing.
|
String |
HttpConnection.getFile()
Returns the file portion of the URL of this
HttpConnection. |
String |
HttpConnection.getHeaderField(int n)
Gets a header field value by index.
|
String |
HttpConnection.getHeaderField(String name)
Returns the value of the named header field.
|
String |
HttpConnection.getHeaderFieldKey(int n)
Gets a header field key by index.
|
String |
HttpConnection.getHost()
Returns the host information of the URL of
this
HttpConnection. |
String |
UDPDatagramConnection.getLocalAddress()
Gets the local address to which the
datagram connection is bound.
|
String |
SocketConnection.getLocalAddress()
Gets the local address to which the socket is bound.
|
String |
ServerSocketConnection.getLocalAddress()
Gets the local address to which the socket is bound.
|
String |
HttpConnection.getProtocol()
Returns the protocol name of the URL of this
HttpConnection. |
String |
SecurityInfo.getProtocolName()
Returns the secure protocol name.
|
String |
SecurityInfo.getProtocolVersion()
Returns the protocol version.
|
String |
HttpConnection.getQuery()
Returns the query portion of the URL of this
HttpConnection. |
String |
HttpConnection.getRef()
Returns the ref portion of the URL of this
HttpConnection. |
String |
HttpConnection.getRequestMethod()
Get the current request method.
|
String |
HttpConnection.getRequestProperty(String key)
Returns the value of the named general request property for this
connection.
|
String |
HttpConnection.getResponseMessage()
Gets the HTTP response message, if any, returned along with the
response code from a server.
|
String |
ContentConnection.getType()
Returns the type of content that the resource connected to is
providing.
|
String |
HttpConnection.getURL()
Return a string representation of the URL for this connection.
|
| Modifier and Type | Method and Description |
|---|---|
String |
HttpConnection.getHeaderField(String name)
Returns the value of the named header field.
|
long |
HttpConnection.getHeaderFieldDate(String name,
long def)
Returns the value of the named field parsed as date.
|
int |
HttpConnection.getHeaderFieldInt(String name,
int def)
Returns the value of the named field parsed as a number.
|
String |
HttpConnection.getRequestProperty(String key)
Returns the value of the named general request property for this
connection.
|
Datagram |
DatagramConnection.newDatagram(byte[] buf,
int size,
String addr)
Make a new datagram object.
|
Datagram |
DatagramConnection.newDatagram(int size,
String addr)
Create a new datagram object.
|
static Connection |
Connector.open(String name)
Create and open a Connection.
|
static Connection |
Connector.open(String name,
int mode)
Create and open a Connection.
|
static Connection |
Connector.open(String name,
int mode,
boolean timeouts)
Create and open a Connection.
|
static DataInputStream |
Connector.openDataInputStream(String name)
Create and open a connection input stream.
|
static DataOutputStream |
Connector.openDataOutputStream(String name)
Create and open a connection output stream.
|
static InputStream |
Connector.openInputStream(String name)
Create and open a connection input stream.
|
static OutputStream |
Connector.openOutputStream(String name)
Create and open a connection output stream.
|
void |
Datagram.setAddress(String addr)
Set datagram address.
|
void |
HttpConnection.setRequestMethod(String method)
Set the method for the URL request, one of:
GET
POST
HEAD
are legal, subject to protocol restrictions.
|
void |
HttpConnection.setRequestProperty(String key,
String value)
Sets the general request property.
|
| Constructor and Description |
|---|
ConnectionNotFoundException(String s)
Constructs a ConnectionNotFoundException with the
specified detail message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Certificate.getIssuer()
Gets the name of this certificate's issuer.
|
String |
Certificate.getSerialNumber()
Gets the printable form of the serial number of this
Certificate. |
String |
Certificate.getSigAlgName()
Gets the name of the algorithm used to sign the
Certificate. |
String |
Certificate.getSubject()
Gets the name of this certificate's subject.
|
String |
Certificate.getType()
Get the type of the
Certificate. |
String |
Certificate.getVersion()
Gets the version number of this
Certificate. |
| Constructor and Description |
|---|
CertificateException(String message,
Certificate certificate,
byte status)
Create a new exception with a message,
Certificate,
and specific error reason. |
| Modifier and Type | Field and Description |
|---|---|
static String |
XletContext.ARGS
The property key used to obtain initialization arguments for the
Xlet.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
XletContext.getXletProperty(String key)
Provides an Xlet with a mechanism to retrieve named
properties from the XletContext.
|
| Constructor and Description |
|---|
UnavailableContainerException(String s)
Constructs an exception with the specified detail message.
|
XletStateChangeException(String s)
Constructs an exception with the specified detail message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
IxcPermission.getActions()
Returns the "canonical string representation" of the actions.
|
abstract String[] |
IxcRegistry.list()
Returns an array of the names bound in the registry.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
IxcRegistry.bind(String name,
Remote obj)
Binds the specified
name to a remote object. |
abstract Remote |
IxcRegistry.lookup(String name)
Returns a reference, a stub, for the remote object associated
with the specified
name. |
abstract void |
IxcRegistry.rebind(String name,
Remote obj)
Rebinds the specified name to a new remote object.
|
abstract void |
IxcRegistry.unbind(String name)
Destroys the binding for the specified name that is associated
with a remote object.
|
| Constructor and Description |
|---|
IxcPermission(String name,
String actions)
Creates a new IxcPermission object with the specified name and actions.
|
StubException(String s)
Constructs a
StubException with the specified
detail message. |
StubException(String s,
Throwable ex)
Constructs a
StubException with the specified
detail message and nested exception. |
| Modifier and Type | Method and Description |
|---|---|
abstract Socket |
SocketFactory.createSocket(String host,
int port)
Creates a socket and connects it to the specified remote host
at the specified remote port.
|
abstract Socket |
SocketFactory.createSocket(String host,
int port,
InetAddress localHost,
int localPort)
Creates a socket and connects it to the specified remote host
on the specified remote port.
|
| Modifier and Type | Method and Description |
|---|---|
String |
X509KeyManager.chooseClientAlias(String[] keyType,
Principal[] issuers,
Socket socket)
Choose an alias to authenticate the client side of a secure
socket given the public key type and the list of
certificate issuer authorities recognized by the peer (if any).
|
String |
X509KeyManager.chooseServerAlias(String keyType,
Principal[] issuers,
Socket socket)
Choose an alias to authenticate the server side of a secure
socket given the public key type and the list of
certificate issuer authorities recognized by the peer (if any).
|
String |
TrustManagerFactory.getAlgorithm()
Returns the algorithm name of this
TrustManagerFactory
object. |
String |
KeyManagerFactory.getAlgorithm()
Returns the algorithm name of this
KeyManagerFactory object. |
String |
SSLSession.getCipherSuite()
Returns the name of the SSL cipher suite which is used for all
connections in the session.
|
abstract String |
HttpsURLConnection.getCipherSuite()
Returns the cipher suite in use on this connection.
|
String |
HandshakeCompletedEvent.getCipherSuite()
Returns the cipher suite in use by the session which was produced
by the handshake.
|
String[] |
X509KeyManager.getClientAliases(String keyType,
Principal[] issuers)
Get the matching aliases for authenticating the client side of a secure
socket given the public key type and the list of
certificate issuer authorities recognized by the peer (if any).
|
static String |
TrustManagerFactory.getDefaultAlgorithm()
Obtains the default TrustManagerFactory algorithm name.
|
static String |
KeyManagerFactory.getDefaultAlgorithm()
Obtains the default KeyManagerFactory algorithm name.
|
abstract String[] |
SSLSocketFactory.getDefaultCipherSuites()
Returns the list of cipher suites which are enabled by default.
|
abstract String[] |
SSLServerSocketFactory.getDefaultCipherSuites()
Returns the list of cipher suites which are enabled by default.
|
abstract String[] |
SSLSocket.getEnabledCipherSuites()
Returns the names of the SSL cipher suites which are currently enabled
for use on this connection.
|
abstract String[] |
SSLServerSocket.getEnabledCipherSuites()
Returns the list of cipher suites which are currently enabled
for use by newly accepted connections.
|
abstract String[] |
SSLSocket.getEnabledProtocols()
Returns the names of the protocol versions which are currently
enabled for use on this connection.
|
abstract String[] |
SSLServerSocket.getEnabledProtocols()
Returns the names of the protocols which are currently
enabled for use by the newly accepted connections.
|
String |
SSLSessionBindingEvent.getName()
Returns the name to which the object is being bound, or the name
from which the object is being unbound.
|
String |
SSLSession.getPeerHost()
Returns the host name of the peer in this session.
|
String |
SSLSession.getProtocol()
Returns the standard name of the protocol used for all
connections in the session.
|
String |
SSLContext.getProtocol()
Returns the protocol name of this
SSLContext object. |
String[] |
X509KeyManager.getServerAliases(String keyType,
Principal[] issuers)
Get the matching aliases for authenticating the server side of a secure
socket given the public key type and the list of
certificate issuer authorities recognized by the peer (if any).
|
abstract String[] |
SSLSocketFactory.getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use
on an SSL connection.
|
abstract String[] |
SSLSocket.getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use
on this connection.
|
abstract String[] |
SSLServerSocketFactory.getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use
on an SSL connection created by this factory.
|
abstract String[] |
SSLServerSocket.getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use
on an SSL connection.
|
abstract String[] |
SSLSocket.getSupportedProtocols()
Returns the names of the protocols which could be enabled for use
on an SSL connection.
|
abstract String[] |
SSLServerSocket.getSupportedProtocols()
Returns the names of the protocols which could be enabled for use.
|
String[] |
SSLSession.getValueNames()
Returns an array of the names of all the application layer
data objects bound into the Session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
X509TrustManager.checkClientTrusted(X509Certificate[] chain,
String authType)
Given the partial or complete certificate chain provided by the
peer, build a certificate path to a trusted root and return if
it can be validated and is trusted for client SSL
authentication based on the authentication type.
|
void |
X509TrustManager.checkServerTrusted(X509Certificate[] chain,
String authType)
Given the partial or complete certificate chain provided by the
peer, build a certificate path to a trusted root and return if
it can be validated and is trusted for server SSL
authentication based on the authentication type.
|
String |
X509KeyManager.chooseClientAlias(String[] keyType,
Principal[] issuers,
Socket socket)
Choose an alias to authenticate the client side of a secure
socket given the public key type and the list of
certificate issuer authorities recognized by the peer (if any).
|
String |
X509KeyManager.chooseServerAlias(String keyType,
Principal[] issuers,
Socket socket)
Choose an alias to authenticate the server side of a secure
socket given the public key type and the list of
certificate issuer authorities recognized by the peer (if any).
|
abstract Socket |
SSLSocketFactory.createSocket(Socket s,
String host,
int port,
boolean autoClose)
Returns a socket layered over an existing socket connected to the named
host, at the given port.
|
X509Certificate[] |
X509KeyManager.getCertificateChain(String alias)
Returns the certificate chain associated with the given alias.
|
String[] |
X509KeyManager.getClientAliases(String keyType,
Principal[] issuers)
Get the matching aliases for authenticating the client side of a secure
socket given the public key type and the list of
certificate issuer authorities recognized by the peer (if any).
|
static TrustManagerFactory |
TrustManagerFactory.getInstance(String algorithm)
Generates a
TrustManagerFactory object that implements the
specified trust management algorithm. |
static SSLContext |
SSLContext.getInstance(String protocol)
Generates a
SSLContext object that implements the
specified secure socket protocol. |
static KeyManagerFactory |
KeyManagerFactory.getInstance(String algorithm)
Generates a
KeyManagerFactory object that implements the
specified key management algorithm. |
static TrustManagerFactory |
TrustManagerFactory.getInstance(String algorithm,
Provider provider)
Generates a
TrustManagerFactory object for the specified
trust management algorithm from the specified provider. |
static SSLContext |
SSLContext.getInstance(String protocol,
Provider provider)
Generates a
SSLContext object that implements the
specified secure socket protocol from the specified provider. |
static KeyManagerFactory |
KeyManagerFactory.getInstance(String algorithm,
Provider provider)
Generates a
KeyManagerFactory object for the specified
key management algorithm from the specified provider. |
static TrustManagerFactory |
TrustManagerFactory.getInstance(String algorithm,
String provider)
Generates a
TrustManagerFactory object for the specified
trust management algorithm from the specified provider. |
static SSLContext |
SSLContext.getInstance(String protocol,
String provider)
Generates a
SSLContext object that implements the
specified secure socket protocol from the specified provider. |
static KeyManagerFactory |
KeyManagerFactory.getInstance(String algorithm,
String provider)
Generates a
KeyManagerFactory object for the specified
key management algorithm from the specified provider. |
PrivateKey |
X509KeyManager.getPrivateKey(String alias)
Returns the key associated with the given alias.
|
String[] |
X509KeyManager.getServerAliases(String keyType,
Principal[] issuers)
Get the matching aliases for authenticating the server side of a secure
socket given the public key type and the list of
certificate issuer authorities recognized by the peer (if any).
|
Object |
SSLSession.getValue(String name)
Returns the object bound to the given name in the session's
application layer data.
|
void |
SSLSession.putValue(String name,
Object value)
Binds the specified
value object into the
session's application layer data
with the given name. |
void |
SSLSession.removeValue(String name)
Removes the object bound to the given name in the session's
application layer data.
|
abstract void |
SSLSocket.setEnabledCipherSuites(String[] suites)
Controls which particular cipher suites are enabled for use on
this connection.
|
abstract void |
SSLServerSocket.setEnabledCipherSuites(String[] suites)
Controls which particular SSL cipher suites are enabled for use
by accepted connections.
|
abstract void |
SSLSocket.setEnabledProtocols(String[] protocols)
Controls which particular protocol versions are enabled for use on
this connection.
|
abstract void |
SSLServerSocket.setEnabledProtocols(String[] protocols)
Controls which particular protocols are enabled for use by
accepted connections.
|
boolean |
HostnameVerifier.verify(String hostname,
SSLSession session)
Verify that the host name is an acceptable match with
the server's authentication scheme.
|
| Constructor and Description |
|---|
KeyManagerFactory(KeyManagerFactorySpi factorySpi,
Provider provider,
String algorithm)
Creates a KeyManagerFactory object.
|
SSLContext(SSLContextSpi contextSpi,
Provider provider,
String protocol)
Creates an SSLContext object.
|
SSLException(String reason)
Constructs an exception reporting an error found by
an SSL subsystem.
|
SSLHandshakeException(String reason)
Constructs an exception reporting an error found by
an SSL subsystem during handshaking.
|
SSLKeyException(String reason)
Constructs an exception reporting a key management error
found by an SSL subsystem.
|
SSLPeerUnverifiedException(String reason)
Constructs an exception reporting that the SSL peer's
identity has not been verifiied.
|
SSLPermission(String name)
Creates a new SSLPermission with the specified name.
|
SSLPermission(String name,
String actions)
Creates a new SSLPermission object with the specified name.
|
SSLProtocolException(String reason)
Constructs an exception reporting an SSL protocol error
detected by an SSL subsystem.
|
SSLSessionBindingEvent(SSLSession session,
String name)
Constructs a new SSLSessionBindingEvent.
|
SSLSocket(String host,
int port)
Used only by subclasses.
|
SSLSocket(String host,
int port,
InetAddress clientAddress,
int clientPort)
Used only by subclasses.
|
TrustManagerFactory(TrustManagerFactorySpi factorySpi,
Provider provider,
String algorithm)
Creates a TrustManagerFactory object.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
X500Principal.CANONICAL
Canonical String format of Distinguished Names.
|
static String |
X500Principal.RFC1779
RFC 1779 String format of Distinguished Names.
|
static String |
X500Principal.RFC2253
RFC 2253 String format of Distinguished Names.
|
| Modifier and Type | Method and Description |
|---|---|
String |
X500Principal.getName()
Returns a string representation of the X.500 distinguished name using
the format defined in RFC 2253.
|
String |
X500Principal.getName(String format)
Returns a string representation of the X.500 distinguished name
using the specified format.
|
String |
X500Principal.toString()
Return a user-friendly string representation of this
X500Principal. |
| Modifier and Type | Method and Description |
|---|---|
String |
X500Principal.getName(String format)
Returns a string representation of the X.500 distinguished name
using the specified format.
|
| Constructor and Description |
|---|
X500Principal(String name)
Creates an
X500Principal from a string representation of
an X.500 distinguished name (ex:
"CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US"). |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
X509Certificate.getSigAlgName()
Gets the signature algorithm name for the certificate
signature algorithm.
|
abstract String |
X509Certificate.getSigAlgOID()
Gets the signature algorithm OID string from the certificate.
|
abstract String |
Certificate.toString()
Returns a string representation of this certificate.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Certificate.verify(PublicKey key,
String sigProvider)
Verifies that this certificate was signed using the
private key that corresponds to the specified public key.
|
| Constructor and Description |
|---|
CertificateEncodingException(String message)
Constructs a CertificateEncodingException with the specified detail
message.
|
CertificateException(String msg)
Constructs a certificate exception with the given detail
message.
|
CertificateExpiredException(String message)
Constructs a CertificateExpiredException with the specified detail
message.
|
CertificateNotYetValidException(String message)
Constructs a CertificateNotYetValidException with the specified detail
message.
|
CertificateParsingException(String message)
Constructs a CertificateParsingException with the specified detail
message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Locator.toExternalForm()
Generates a canonical, string-based representation of this
Locator. |
String |
Locator.toString()
Returns the string used to create this locator.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Locator |
LocatorFactory.createLocator(String locatorString)
Creates a
Locator object from the specified locator
string. |
| Constructor and Description |
|---|
InvalidLocatorException(Locator locator,
String reason)
Constructs an
InvalidLocatorException with the
specified detail message. |
MalformedLocatorException(String reason)
Constructs a
MalformedLocatorException with the
specified detail message. |
| Modifier and Type | Method and Description |
|---|---|
String |
MediaSelectPermission.getActions()
Reports the canonical string representation of the actions.
|
String |
AWTVideoSize.toString()
Returns a string representation of this
AWTVideoSize and its values. |
| Constructor and Description |
|---|
MediaSelectPermission(String locator,
String actions)
Creates a new
MediaSelectPermission object for a
Locator with the given external form. |
| Modifier and Type | Method and Description |
|---|---|
String |
ReadPermission.getActions()
Returns the canonical string representation of the actions,
which currently is the empty string "", since there are no actions for
a ReadPermission.
|
String |
RatingDimension.getDimensionName()
Returns a string which represents the dimension name being described by
this object.
|
String |
Service.getName()
Returns a short service name or acronym.
|
abstract String |
SIManager.getPreferredLanguage()
Reports the preferred language for this
SIManager. |
String[] |
RatingDimension.getRatingLevelDescription(short ratingLevel)
Returns a pair of strings describing the specified rating level for
this dimension.
|
abstract String[] |
SIManager.getSupportedDimensions()
Provides the names of available rating dimensions in the local
rating region.
|
String |
SIRequestFailureType.toString()
Provides the string name of the type.
|
String |
SIChangeType.toString()
Provides the string name of the type.
|
String |
ServiceType.toString()
Provides the string name of the type.
|
String |
ServiceInformationType.toString()
Provides the string name of the SI type.
|
| Modifier and Type | Method and Description |
|---|---|
abstract RatingDimension |
SIManager.getRatingDimension(String name)
Reports the
RatingDimension corresponding to the
specified string name. |
abstract void |
SIManager.setPreferredLanguage(String language)
Overrides the system-level preferred language for objects
obtained through this
SIManager. |
| Constructor and Description |
|---|
ReadPermission(String locator,
String actions)
Creates a new
ReadPermission object for a locator
with the given external form. |
ServiceInformationType(String name)
Creates a service information type object.
|
ServiceType(String name)
Creates a service type object.
|
SIChangeType(String name)
Creates an
SIChangeType object. |
SIException(String reason)
Constructs an
SIException with a detail message. |
SIRequestFailureType(String name)
Creates an
SIRequestFailureType object. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
ContentRatingAdvisory.getDimensionNames()
Returns a list of names of all dimensions in this rating
region by which the
ProgramEvent is rated. |
String |
ContentRatingAdvisory.getDisplayText()
Provides a single string representing textual rating values for all
dimensions in which the program event is rated.
|
String |
ProgramEvent.getName()
Returns the program event title.
|
String |
ProgramEventDescription.getProgramEventDescription()
Provides a textual description of the
ProgramEvent. |
String |
ContentRatingAdvisory.getRatingLevelText(String dimensionName)
Returns the rating level display string for the specified
dimension.
|
String |
ProgramScheduleChangeType.toString()
Provides the string name of the type.
|
| Modifier and Type | Method and Description |
|---|---|
short |
ContentRatingAdvisory.getRatingLevel(String dimensionName)
Returns a number representing the rating level in the specified
RatingDimension associated with this rating region
for the related ProgramEvent. |
String |
ContentRatingAdvisory.getRatingLevelText(String dimensionName)
Returns the rating level display string for the specified
dimension.
|
| Constructor and Description |
|---|
ProgramScheduleChangeType(String name)
Creates an
ProgramScheduleChangeType object. |
| Modifier and Type | Method and Description |
|---|---|
String |
ServiceComponent.getAssociatedLanguage()
Identifies the language used for the elementary stream.
|
String |
ServiceDetails.getLongName()
Called to obtain a full service name.
|
String |
ServiceComponent.getName()
Returns a name associated with this component.
|
String |
FavoriteServicesName.getName()
Provides a human-readable name for this favorite services preference.
|
String |
ServiceProviderInformation.getProviderName()
Returns the name of the service provider.
|
String |
ServiceDescription.getServiceDescription()
Provides a textual description of the
Service. |
String |
StreamType.toString()
Provides the string name of the type.
|
String |
DeliverySystemType.toString()
Provides the string name of delivery system type.
|
| Constructor and Description |
|---|
DeliverySystemType(String name)
Creates a delivery system type object.
|
FilterNotSupportedException(String reason)
Constructs a
FilterNotSupportedException with a
detail message. |
SortNotAvailableException(String reason)
Constructs a
SortNotAvailableException with a
detail message. |
StreamType(String name)
Creates a stream type object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ServiceContextPermission.getActions()
Returns the canonical representation of the actions string.
|
String |
SelectPermission.getActions()
Returns the canonical string representation of the actions.
|
| Constructor and Description |
|---|
InsufficientResourcesException(String s)
Constructs an
InsufficientResourcesException with a
detail message. |
InvalidServiceComponentException(Locator component,
String reason)
Constructs an
InvalidServiceComponentException with
the specified detail message. |
SelectPermission(Locator locator,
String actions)
Creates a new SelectPermission object for the specified locator.
|
SelectPermission(String locator,
String actions)
Creates a new SelectPermission object for a locator with the
given external form.
|
ServiceContextException(String reason)
Constructs a
ServiceContextException with a detail message. |
ServiceContextPermission(String name,
String actions)
Creates a new ServiceContextPermission object with the specified
name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
TransportStream.getDescription()
Reports the textual name or description of this transport stream.
|
String |
Network.getName()
Reports the name of this network.
|
String |
Bouquet.getName()
Reports the name of this bouquet.
|
| Constructor and Description |
|---|
TVTimerScheduleFailedException(String s)
Constructs a TVTimerScheduleFailedException with the specified
detail message.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
XletContext.ARGS
The property key used to obtain initialization arguments for the
Xlet.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
XletContext.getXletProperty(String key)
Provides an Xlet with a mechanism to retrieve named
properties from the XletContext.
|
| Constructor and Description |
|---|
XletStateChangeException(String s)
Constructs an exception with the specified detail message.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
XMLConstants.DEFAULT_NS_PREFIX
Prefix to use to represent the default XML Namespace.
|
static String |
XMLConstants.FEATURE_SECURE_PROCESSING
Feature for secure processing.
|
static String |
XMLConstants.XML_NS_PREFIX
The official XML Namespace prefix.
|
static String |
XMLConstants.XML_NS_URI
The official XML Namespace name URI.
|
static String |
XMLConstants.XMLNS_ATTRIBUTE
The official XML attribute used for specifying XML Namespace
declarations.
|
static String |
XMLConstants.XMLNS_ATTRIBUTE_NS_URI
The official XML attribute used for specifying XML Namespace
declarations,
"xmlns", Namespace name URI. |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
DocumentBuilderFactory.getAttribute(String name)
Allows the user to retrieve specific attributes on the underlying
implementation.
|
abstract boolean |
SAXParserFactory.getFeature(String name)
Returns the particular property requested for in the underlying
implementation of org.xml.sax.XMLReader.
|
abstract boolean |
DocumentBuilderFactory.getFeature(String name)
Get the state of the named feature.
|
abstract void |
DocumentBuilderFactory.setAttribute(String name,
Object value)
Allows the user to set specific attributes on the underlying
implementation.
|
abstract void |
SAXParserFactory.setFeature(String name,
boolean value)
Sets the particular feature in the underlying implementation of
org.xml.sax.XMLReader.
|
abstract void |
DocumentBuilderFactory.setFeature(String name,
boolean value)
Set a feature for this
DocumentBuilderFactory and
DocumentBuilders created by this factory. |
| Constructor and Description |
|---|
FactoryConfigurationError(String msg) |
ParserConfigurationException(String msg) |
| Modifier and Type | Field and Description |
|---|---|
static String |
XMLInputFactory.IS_COALESCING
The property that requires the parser to coalesce adjacent character data
sections
|
static String |
XMLInputFactory.IS_NAMESPACE_AWARE
The property used to turn on/off namespace support,
this is to support XML 1.0 documents,
only the
true setting must be supported |
static String |
XMLOutputFactory.IS_REPAIRING_NAMESPACES
Property used to set prefix defaulting on the output side
|
static String |
XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES
Requires the parser to replace internal
entity references with their replacement
text and report them as characters
|
static String |
XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES
The property that requires the parser to resolve external parsed entities
|
static String |
XMLInputFactory.IS_VALIDATING
The property used to turn on/off implementation specific validation
|
static String |
XMLInputFactory.RESOLVER |
static String |
XMLInputFactory.SUPPORT_DTD
The property that requires the parser to support DTDs
|
| Modifier and Type | Method and Description |
|---|---|
String |
XMLStreamReader.getAttributeLocalName(int index)
Returns the localName of the attribute at the provided
index
|
String |
XMLStreamReader.getAttributeNamespace(int index)
Returns the namespace of the attribute at the provided
index
|
String |
XMLStreamReader.getAttributePrefix(int index)
Returns the prefix of this attribute at the
provided index
|
String |
XMLStreamReader.getAttributeType(int index)
Returns the XML type of the attribute at the provided
index (see XML 1.0 Specification, section 3.3.1)
|
String |
XMLStreamReader.getAttributeValue(int index)
Returns the value of the attribute at the
index
|
String |
XMLStreamReader.getAttributeValue(String namespaceURI,
String localName)
Returns the normalized attribute value of the attribute with the namespace
and localName.
|
String |
XMLStreamReader.getCharacterEncodingScheme()
Returns the character encoding declared on the xml declaration
Returns
null if none was declared |
String |
XMLStreamReader.getElementText()
Reads the content of a text-only element, an exception is thrown if this
is not a text-only element.
|
String |
XMLStreamReader.getEncoding()
Return input encoding if known or
null if unknown. |
String |
XMLStreamReader.getLocalName()
Returns the (local) name of the current event.
|
String |
FactoryConfigurationError.getMessage()
Report the message associated with this error
|
String |
DTDStreamReader.getName()
Returns the name as a String.
|
String |
XMLStreamReader.getNamespacePrefix(int index)
Returns the prefix for the namespace declared at the index.
|
String |
XMLStreamReader.getNamespaceURI()
If the current event is a START_ELEMENT or END_ELEMENT this method
returns the URI of the prefix or the default namespace.
|
String |
XMLStreamReader.getNamespaceURI(int index)
Returns the uri for the namespace declared at the
index.
|
String |
XMLStreamReader.getNamespaceURI(String prefix)
Return the uri for the given prefix.
|
String |
DTDStreamReader.getNotationName()
Returns the notation name.
|
String |
DTDStreamReader.getPIData()
Returns the data section of a processing instruction.
|
String |
XMLStreamReader.getPIData()
Get the data section of a processing instruction
|
String |
DTDStreamReader.getPITarget()
Returns the target of a processing instruction.
|
String |
XMLStreamReader.getPITarget()
Get the target of a processing instruction
|
String |
XMLStreamReader.getPrefix()
Returns the prefix of the current event or
null if the event
does not have a prefix |
String |
XMLStreamWriter.getPrefix(String uri)
Gets the prefix the uri is bound to
|
String |
Location.getPublicId()
Returns the public ID of the XML
|
String |
DTDStreamReader.getPublicIdentifier()
Returns the public identifier.
|
String |
Location.getSystemId()
Returns the system ID of the XML
|
String |
DTDStreamReader.getSystemIdentifier()
Returns the system identifier.
|
String |
DTDStreamReader.getText()
Returns the current value of the parse event as a string.
|
String |
XMLStreamReader.getText()
Returns the current value of the parse event as a string, this returns the
string value of a CHARACTERS event, returns the value of a COMMENT, the
replacement value for an ENTITY_REFERENCE, the string value of a CDATA
section, the string value for a SPACE event, or the String value of the
internal subset of the DTD.
|
String |
XMLStreamReader.getVersion()
Get the xml version declared on the xml declaration.
|
| Modifier and Type | Method and Description |
|---|---|
abstract XMLStreamReader |
XMLInputFactory.createXMLStreamReader(InputStream stream,
String encoding)
Create a new XMLStreamReader from a java.io.InputStream
|
abstract XMLStreamWriter |
XMLOutputFactory.createXMLStreamWriter(OutputStream stream,
String encoding)
Create a new XMLStreamWriter that writes to a stream
|
String |
XMLStreamReader.getAttributeValue(String namespaceURI,
String localName)
Returns the normalized attribute value of the attribute with the namespace
and localName.
|
String |
XMLStreamReader.getNamespaceURI(String prefix)
Return the uri for the given prefix.
|
String |
XMLStreamWriter.getPrefix(String uri)
Gets the prefix the uri is bound to
|
Object |
XMLStreamWriter.getProperty(String name)
Get the value of a feature/property from the underlying implementation
|
Object |
XMLStreamReader.getProperty(String name)
Get the value of a feature/property from the underlying implementation
|
abstract Object |
XMLOutputFactory.getProperty(String name)
Get a feature/property on the underlying implementation
|
abstract Object |
XMLInputFactory.getProperty(String name)
Get the value of a feature/property from the underlying implementation
|
abstract boolean |
XMLOutputFactory.isPropertySupported(String name)
Query the set of properties that this factory supports.
|
abstract boolean |
XMLInputFactory.isPropertySupported(String name)
Query the set of properties that this factory supports.
|
void |
XMLStreamReader.require(int type,
String namespaceURI,
String localName)
Test if the current event is of the given type and if the namespace and
name match the current namespace and name of the current event.
|
Object |
XMLResolver.resolveEntity(String publicID,
String systemID,
String baseURI,
String namespace)
Retrieves a resource.
|
void |
XMLStreamWriter.setDefaultNamespace(String uri)
Binds a URI to the default namespace
This URI is bound
in the scope of the current START_ELEMENT / END_ELEMENT pair.
|
void |
XMLStreamWriter.setPrefix(String prefix,
String uri)
Sets the prefix the uri is bound to.
|
abstract void |
XMLOutputFactory.setProperty(String name,
Object value)
Allows the user to set specific features/properties on the underlying
implementation.
|
abstract void |
XMLInputFactory.setProperty(String name,
Object value)
Allows the user to set specific feature/property on the underlying
implementation.
|
void |
XMLStreamWriter.writeAttribute(String localName,
String value)
Writes an attribute to the output stream without
a prefix.
|
void |
XMLStreamWriter.writeAttribute(String namespaceURI,
String localName,
String value)
Writes an attribute to the output stream
|
void |
XMLStreamWriter.writeAttribute(String prefix,
String namespaceURI,
String localName,
String value)
Writes an attribute to the output stream
|
void |
XMLStreamWriter.writeCData(String data)
Writes a CData section
|
void |
XMLStreamWriter.writeCharacters(String text)
Write text to the output
|
void |
XMLStreamWriter.writeComment(String data)
Writes an xml comment with the data enclosed
|
void |
XMLStreamWriter.writeDefaultNamespace(String namespaceURI)
Writes the default namespace to the stream
|
void |
XMLStreamWriter.writeDTD(String dtd)
Write a DTD section.
|
void |
XMLStreamWriter.writeEmptyElement(String localName)
Writes an empty element tag to the output
|
void |
XMLStreamWriter.writeEmptyElement(String namespaceURI,
String localName)
Writes an empty element tag to the output
|
void |
XMLStreamWriter.writeEmptyElement(String prefix,
String localName,
String namespaceURI)
Writes an empty element tag to the output
|
void |
XMLStreamWriter.writeEntityRef(String name)
Writes an entity reference
|
void |
XMLStreamWriter.writeNamespace(String prefix,
String namespaceURI)
Writes a namespace to the output stream
If the prefix argument to this method is the empty string,
"xmlns", or null this method will delegate to writeDefaultNamespace
|
void |
XMLStreamWriter.writeProcessingInstruction(String target)
Writes a processing instruction
|
void |
XMLStreamWriter.writeProcessingInstruction(String target,
String data)
Writes a processing instruction
|
void |
XMLStreamWriter.writeStartDocument(String version)
Write the XML Declaration.
|
void |
XMLStreamWriter.writeStartDocument(String encoding,
String version)
Write the XML Declaration.
|
void |
XMLStreamWriter.writeStartElement(String localName)
Writes a start tag to the output.
|
void |
XMLStreamWriter.writeStartElement(String namespaceURI,
String localName)
Writes a start tag to the output
|
void |
XMLStreamWriter.writeStartElement(String prefix,
String localName,
String namespaceURI)
Writes a start tag to the output
|
| Constructor and Description |
|---|
FactoryConfigurationError(Exception e,
String msg)
Construct an exception with a nested inner exception
and a message
|
FactoryConfigurationError(String msg)
Construct an exception with associated message
|
FactoryConfigurationError(String msg,
Exception e)
Construct an exception with a nested inner exception
and a message
|
XMLStreamException(String msg)
Construct an exception with the associated message.
|
XMLStreamException(String msg,
Location location)
Construct an exception with the associated message and location.
|
XMLStreamException(String msg,
Location location,
Throwable th)
Construct an exception with the associated message, exception and location.
|
XMLStreamException(String msg,
Throwable th)
Construct an exception with the associated message and exception
|
| Modifier and Type | Field and Description |
|---|---|
static String |
LogManager.CONFIGURATOR_CLASS_KEY
Deprecated.
This variable is for internal use only. It will
become private in future versions.
|
static String |
LogManager.DEFAULT_CONFIGURATION_FILE
Deprecated.
This variable is for internal use only. It will
become package protected in future versions.
|
static String |
LogManager.DEFAULT_CONFIGURATION_KEY
Deprecated.
This variable is for internal use only. It will
become private in future versions.
|
static String |
PatternLayout.DEFAULT_CONVERSION_PATTERN
Default pattern string for log output.
|
static String |
LogManager.DEFAULT_INIT_OVERRIDE_KEY
Deprecated.
This variable is for internal use only. It will
become private in future versions.
|
static String |
Layout.LINE_SEP |
static String |
PropertyConfigurator.LOGGER_FACTORY_KEY
Key for specifying the
LoggerFactory. |
protected String |
Category.name
The name of this category.
|
protected String |
AppenderSkeleton.name
Appenders are named.
|
static String |
PatternLayout.TTCC_CONVERSION_PATTERN
A conversion pattern equivalent to the TTCCCLayout.
|
| Modifier and Type | Method and Description |
|---|---|
String |
PatternLayout.format(LoggingEvent event)
Produces a formatted string as specified by the conversion pattern.
|
abstract String |
Layout.format(LoggingEvent event)
Implement this method to create your own layout format.
|
String |
Layout.getContentType()
Returns the content type output by this layout.
|
String |
PatternLayout.getConversionPattern()
Returns the value of the ConversionPattern option.
|
String |
Layout.getFooter()
Returns the footer for the layout format.
|
String |
Layout.getHeader()
Returns the header for the layout format.
|
String |
Category.getName()
Return the category name.
|
String |
AppenderSkeleton.getName()
Returns the name of this appender.
|
String |
Appender.getName()
Get the name of this appender.
|
protected String |
Category.getResourceBundleString(String key)
Returns the string resource coresponding to
key in
this category's inherited resource bundle. |
String |
Priority.toString()
Returns the string representation of this priority.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Category.assertLog(boolean assertion,
String msg)
|
static void |
PropertyConfigurator.configure(String configFilename) |
static void |
PropertyConfigurator.configureAndWatch(String configFilename)
Like
PropertyConfigurator.configureAndWatch(String, long) except that the
default delay as defined by FileWatchdog#DEFAULT_DELAY is
used. |
static void |
PropertyConfigurator.configureAndWatch(String configFilename,
long delay)
Read the configuration file
configFilename if it
exists. |
void |
Logger.debug(String pattern,
boolean argument)
Log a parameterized message at debug level.
|
void |
Logger.debug(String pattern,
byte argument)
Log a parameterized message at debug level.
|
void |
Logger.debug(String pattern,
char argument)
Log a parameterized message at debug level.
|
void |
Logger.debug(String pattern,
double argument)
Log a parameterized message at debug level.
|
void |
Logger.debug(String pattern,
float argument)
Log a parameterized message at debug level.
|
void |
Logger.debug(String pattern,
int argument)
Log a parameterized message at debug level.
|
void |
Logger.debug(String pattern,
long argument)
Log a parameterized message at debug level.
|
void |
Logger.debug(String pattern,
Object[] arguments)
Log a parameterized message at debug level.
|
void |
Logger.debug(String pattern,
Object arg0,
Object arg1)
Log a parameterized message at debug level.
|
void |
Logger.debug(String pattern,
Object arg0,
Object arg1,
Object arg2)
Log a parameterized message at debug level.
|
void |
Logger.debug(String pattern,
Object arg0,
Object arg1,
Object arg2,
Object arg3)
Log a parameterized message at debug level.
|
void |
Logger.debug(String pattern,
Object argument,
Throwable t)
Log a parameterized message at debug level.
|
void |
Logger.debug(String pattern,
short argument)
Log a parameterized message at debug level.
|
void |
Logger.debug(Throwable t,
String pattern,
Object[] arguments)
Log a parameterized message at debug level.
|
void |
PropertyConfigurator.doConfigure(String configFileName,
LoggerRepository hierarchy)
Read configuration from a file.
|
void |
Logger.error(String pattern,
Object[] arguments)
Log a parameterized message at error level.
|
void |
Logger.error(Throwable t,
String pattern,
Object[] arguments)
Log a parameterized message at error level.
|
static Logger |
LogManager.exists(String name) |
Logger |
Hierarchy.exists(String name)
Check if the named logger exists in the hierarchy.
|
static Logger |
Category.exists(String name)
Deprecated.
Please use
LogManager.exists(java.lang.String) instead. |
void |
Logger.fatal(String pattern,
Object[] arguments)
Log a parameterized message at fatal level.
|
void |
Logger.fatal(Throwable t,
String pattern,
Object[] arguments)
Log a parameterized message at fatal level.
|
protected void |
Category.forcedLog(String fqcn,
Level level,
Object message,
Throwable t)
This method creates a new logging event and logs the event
without further checks.
|
Appender |
Category.getAppender(String name)
Look for the appender named as
name. |
Appender |
AsyncAppender.getAppender(String name)
Get appender by name.
|
static Category |
Category.getInstance(String name)
Deprecated.
Make sure to use
Logger.getLogger(String) instead. |
static Logger |
Logger.getLogger(Class clazz,
String group)
Shorthand for
getLogger(clazz.getName()). |
static Logger |
LogManager.getLogger(String name)
Retrieve the appropriate
Logger instance. |
static Logger |
Logger.getLogger(String name)
Retrieve a logger named according to the value of the
name parameter. |
Logger |
Hierarchy.getLogger(String name) |
static Logger |
LogManager.getLogger(String name,
LoggerFactory factory)
Retrieve the appropriate
Logger instance. |
static Logger |
Logger.getLogger(String name,
LoggerFactory factory)
Like
Logger.getLogger(String) except that the type of logger
instantiated depends on the type returned by the LoggerFactory.makeNewLoggerInstance(java.lang.String) method of the
factory parameter. |
Logger |
Hierarchy.getLogger(String name,
LoggerFactory factory) |
static Logger |
LogManager.getLogger(String name,
String group) |
static Logger |
Logger.getLogger(String name,
String group)
Retrieve a logger named according to the value of the
name parameter. |
Logger |
Hierarchy.getLogger(String name,
String group)
Return a new logger instance named as the first parameter using
the default factory.
|
static Logger |
LogManager.getLogger(String name,
String group,
LoggerFactory factory) |
static Logger |
Logger.getLogger(String name,
String group,
LoggerFactory factory)
Like
Logger.getLogger(String) except that the type of logger
instantiated depends on the type returned by the LoggerFactory.makeNewLoggerInstance(java.lang.String) method of the
factory parameter. |
Logger |
Hierarchy.getLogger(String name,
String group,
LoggerFactory factory)
Return a new logger instance named as the first parameter using
factory. |
protected String |
Category.getResourceBundleString(String key)
Returns the string resource coresponding to
key in
this category's inherited resource bundle. |
void |
Logger.info(String pattern,
boolean argument)
Log a parameterized message at info level.
|
void |
Logger.info(String pattern,
byte argument)
Log a parameterized message at info level.
|
void |
Logger.info(String pattern,
char argument)
Log a parameterized message at info level.
|
void |
Logger.info(String pattern,
double argument)
Log a parameterized message at info level.
|
void |
Logger.info(String pattern,
float argument)
Log a parameterized message at info level.
|
void |
Logger.info(String pattern,
int argument)
Log a parameterized message at info level.
|
void |
Logger.info(String pattern,
long argument)
Log a parameterized message at info level.
|
void |
Logger.info(String pattern,
Object[] arguments)
Log a parameterized message at info level.
|
void |
Logger.info(String pattern,
Object arg0,
Object arg1)
Log a parameterized message at info level.
|
void |
Logger.info(String pattern,
Object arg0,
Object arg1,
Object arg2)
Log a parameterized message at info level.
|
void |
Logger.info(String pattern,
Object arg0,
Object arg1,
Object arg2,
Object arg3)
Log a parameterized message at info level.
|
void |
Logger.info(String pattern,
Object argument,
Throwable t)
Log a parameterized message at info level.
|
void |
Logger.info(String pattern,
short argument)
Log a parameterized message at info level.
|
void |
Logger.info(Throwable t,
String pattern,
Object[] arguments)
Log a parameterized message at info level.
|
void |
Category.l7dlog(Level level,
String key,
Object[] params,
Throwable t)
Log a localized and parameterized message.
|
void |
Category.l7dlog(Level level,
String key,
Throwable t)
Log a localized message.
|
void |
Logger.log(Level level,
String pattern,
boolean param1)
Log a parameterized message at specified level.
|
void |
Logger.log(Level level,
String pattern,
byte param1)
Log a parameterized message at specified level.
|
void |
Logger.log(Level level,
String pattern,
char param1)
Log a parameterized message at specified level.
|
void |
Logger.log(Level level,
String pattern,
double param1)
Log a parameterized message at specified level.
|
void |
Logger.log(Level level,
String pattern,
float param1)
Log a parameterized message at specified level.
|
void |
Logger.log(Level level,
String pattern,
int param1)
Log a parameterized message at specified level.
|
void |
Logger.log(Level level,
String pattern,
long param1)
Log a parameterized message at specified level.
|
void |
Logger.log(Level level,
String pattern,
Object param1)
Log a parameterized message at specified level.
|
void |
Logger.log(Level level,
String pattern,
Object[] parameters)
Log a parameterized message at specified level.
|
void |
Logger.log(Level level,
String pattern,
Object arg0,
Object arg1)
Log a parameterized message at specified level.
|
void |
Logger.log(Level level,
String pattern,
Object arg0,
Object arg1,
Object arg2)
Log a parameterized message at specifed level.
|
void |
Logger.log(Level level,
String pattern,
Object arg0,
Object arg1,
Object arg2,
Object arg3)
Log a parameterized message at specified level.
|
void |
Logger.log(Level level,
String pattern,
short param1)
Log a parameterized message at specified level.
|
void |
Logger.log(Level level,
Throwable t,
String pattern,
Object[] parameters)
Log a parameterized message at specified level.
|
void |
Category.log(String callerFQCN,
Level level,
Object message,
Throwable t)
This is the most generic printing method.
|
void |
Logger.logrb(Level level,
String bundleName,
String key,
boolean param1)
Log a parameterized message using a pattern from a resource bundle.
|
void |
Logger.logrb(Level level,
String bundleName,
String key,
byte param1)
Log a parameterized message using a pattern from a resource bundle.
|
void |
Logger.logrb(Level level,
String bundleName,
String key,
char param1)
Log a parameterized message using a pattern from a resource bundle.
|
void |
Logger.logrb(Level level,
String bundleName,
String key,
double param1)
Log a parameterized message using a pattern from a resource bundle.
|
void |
Logger.logrb(Level level,
String bundleName,
String key,
float param1)
Log a parameterized message using a pattern from a resource bundle.
|
void |
Logger.logrb(Level level,
String bundleName,
String key,
int param1)
Log a parameterized message using a pattern from a resource bundle.
|
void |
Logger.logrb(Level level,
String bundleName,
String key,
long param1)
Log a parameterized message using a pattern from a resource bundle.
|
void |
Logger.logrb(Level level,
String bundleName,
String key,
Object param1)
Log a parameterized message using a pattern from a resource bundle.
|
void |
Logger.logrb(Level level,
String bundleName,
String key,
Object[] parameters)
Log a parameterized message using a pattern from a resource bundle.
|
void |
Logger.logrb(Level level,
String bundleName,
String key,
Object param0,
Object param1)
Log a parameterized message using a pattern from a resource bundle.
|
void |
Logger.logrb(Level level,
String bundleName,
String key,
Object param0,
Object param1,
Object param2)
Log a parameterized message using a pattern from a resource bundle.
|
void |
Logger.logrb(Level level,
String bundleName,
String key,
Object param0,
Object param1,
Object param2,
Object param3)
Log a parameterized message using a pattern from a resource bundle.
|
void |
Logger.logrb(Level level,
String bundleName,
String key,
short param1)
Log a parameterized message using a pattern from a resource bundle.
|
void |
Logger.logrb(Level level,
Throwable t,
String bundleName,
String key,
Object[] parameters)
Log a parameterized message using a pattern from a resource bundle.
|
void |
Hierarchy.overrideAsNeeded(String override)
Deprecated.
Deprecated with no replacement.
|
void |
Category.removeAppender(String name)
Remove the appender with the name passed as parameter form the
list of appenders.
|
void |
AsyncAppender.removeAppender(String name)
Remove appender by name.
|
void |
PatternLayout.setConversionPattern(String conversionPattern)
Set the ConversionPattern option.
|
void |
Hierarchy.setDisableOverride(String override)
Deprecated.
Deprecated with no replacement.
|
void |
Category.setGroup(String group) |
void |
Hierarchy.setGroup(String groupName,
Level groupThreshold) |
void |
AppenderSkeleton.setName(String name)
Set the name of this Appender.
|
void |
Appender.setName(String name)
Set the name of this appender.
|
void |
Hierarchy.setThreshold(String levelStr)
The string form of
Hierarchy.setThreshold(Level). |
static Level |
Level.toLevel(String sArg)
Convert the string passed as argument to a level.
|
static Level |
Level.toLevel(String sArg,
Level defaultLevel)
Convert the string passed as argument to a level.
|
static Priority |
Priority.toPriority(String sArg)
Deprecated.
Please use the
Level.toLevel(String) method instead. |
static Priority |
Priority.toPriority(String sArg,
Priority defaultPriority)
Deprecated.
Please use the
Level.toLevel(String, Level) method instead. |
void |
Logger.trace(String pattern,
boolean argument)
Log a parameterized message at trace level.
|
void |
Logger.trace(String pattern,
byte argument)
Log a parameterized message at trace level.
|
void |
Logger.trace(String pattern,
char argument)
Log a parameterized message at trace level.
|
void |
Logger.trace(String pattern,
double argument)
Log a parameterized message at trace level.
|
void |
Logger.trace(String pattern,
float argument)
Log a parameterized message at trace level.
|
void |
Logger.trace(String pattern,
int argument)
Log a parameterized message at trace level.
|
void |
Logger.trace(String pattern,
long argument)
Log a parameterized message at trace level.
|
void |
Logger.trace(String pattern,
Object argument)
Log a parameterized message at trace level.
|
void |
Logger.trace(String pattern,
Object[] arguments)
Log a parameterized message at trace level.
|
void |
Logger.trace(String pattern,
Object arg0,
Object arg1)
Log a parameterized message at trace level.
|
void |
Logger.trace(String pattern,
Object arg0,
Object arg1,
Object arg2)
Log a parameterized message at trace level.
|
void |
Logger.trace(String pattern,
Object arg0,
Object arg1,
Object arg2,
Object arg3)
Log a parameterized message at trace level.
|
void |
Logger.trace(String pattern,
short argument)
Log a parameterized message at trace level.
|
void |
Logger.trace(Throwable t,
String pattern,
Object[] arguments)
Log a parameterized message at trace level.
|
void |
Logger.warn(String pattern,
boolean argument)
Log a parameterized message at warn level.
|
void |
Logger.warn(String pattern,
byte argument)
Log a parameterized message at warn level.
|
void |
Logger.warn(String pattern,
char argument)
Log a parameterized message at warn level.
|
void |
Logger.warn(String pattern,
double argument)
Log a parameterized message at warn level.
|
void |
Logger.warn(String pattern,
float argument)
Log a parameterized message at warn level.
|
void |
Logger.warn(String pattern,
int argument)
Log a parameterized message at warn level.
|
void |
Logger.warn(String pattern,
long argument)
Log a parameterized message at warn level.
|
void |
Logger.warn(String pattern,
Object[] arguments)
Log a parameterized message at warn level.
|
void |
Logger.warn(String pattern,
Object arg0,
Object arg1)
Log a parameterized message at warn level.
|
void |
Logger.warn(String pattern,
Object arg0,
Object arg1,
Object arg2)
Log a parameterized message at warn level.
|
void |
Logger.warn(String pattern,
Object arg0,
Object arg1,
Object arg2,
Object arg3)
Log a parameterized message at warn level.
|
void |
Logger.warn(String pattern,
Object argument,
Throwable t)
Log a parameterized message at warn level.
|
void |
Logger.warn(String pattern,
short argument)
Log a parameterized message at warn level.
|
void |
Logger.warn(Throwable t,
String pattern,
Object[] arguments)
Log a parameterized message at warn level.
|
| Constructor and Description |
|---|
Category(String name)
This constructor created a new
Category instance and
sets its name. |
Level(int level,
String levelStr,
int syslogEquivalent)
Instantiate a Level object.
|
Logger(String name) |
PatternLayout(String pattern)
Constructs a PatternLayout using the supplied conversion pattern.
|
Priority(int level,
String levelStr,
int syslogEquivalent)
Instantiate a level object.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PropertySetter.setProperties(Object obj,
Properties properties,
String prefix)
Set the properties of an object passed as a parameter in one
go.
|
void |
PropertySetter.setProperties(Properties properties,
String prefix) |
void |
PropertySetter.setProperty(String name,
String value)
Set a property on this PropertySetter's Object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ObjectRenderer.doRender(Object o)
Render the object passed as parameter as a String.
|
String |
RendererMap.findAndRender(Object o)
Find the appropriate renderer for the class type of the
o parameter. |
| Modifier and Type | Method and Description |
|---|---|
static void |
RendererMap.addRenderer(RendererSupport repository,
String renderedClassName,
String renderingClassName)
Add a renderer to a hierarchy passed as parameter.
|
| Modifier and Type | Field and Description |
|---|---|
String |
LoggingEvent.categoryName
Deprecated.
This field will be marked as private in future
releases. Please do not access it directly. Use the
LoggingEvent.getLoggerName() method instead. |
String |
LoggingEvent.fqnOfCategoryClass
Fully qualified name of the calling category class.
|
String |
LocationInfo.fullInfo
All available caller information, in the format
fully.qualified.classname.of.caller.methodName(Filename.java:line) |
static String |
Configurator.INHERITED
Special level value signifying inherited behaviour.
|
static String |
LocationInfo.NA
When location information is not available the constant
NA is returned. |
static String |
Configurator.NULL
Special level signifying inherited behaviour, same as
Configurator.INHERITED. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
ThrowableRenderer.doRender(Throwable t)
Render Throwable.
|
String |
LocationInfo.getClassName()
Return the fully qualified class name of the caller making the
logging request.
|
String |
LocationInfo.getFileName()
Return the file name of the caller.
|
String |
LoggingEvent.getFQNOfLoggerClass()
Get the fully qualified name of the calling logger sub-class/wrapper.
|
String |
LocationInfo.getLineNumber()
Returns the line number of the caller.
|
String |
LoggingEvent.getLoggerName()
Return the name of the logger.
|
String |
LocationInfo.getMethodName()
Returns the method name of the caller.
|
String |
LoggingEvent.getNDC()
This method returns the NDC for this event.
|
String |
LoggingEvent.getProperty(String key)
Return a property for this event.
|
String |
LoggingEvent.getRenderedMessage() |
String |
LoggingEvent.getThreadName() |
String[] |
ThrowableInformation.getThrowableStrRep() |
String[] |
LoggingEvent.getThrowableStrRep()
Return this event's throwable's string[] representaion.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ErrorHandler.error(String message)
This method is normally used to just print the error message
passed as a parameter.
|
void |
ErrorHandler.error(String message,
Exception e,
int errorCode)
Equivalent to the
ErrorHandler.error(String, Exception, int,
LoggingEvent event) with the the event parameteter set to
null. |
void |
ErrorHandler.error(String message,
Exception e,
int errorCode,
LoggingEvent event)
This method is invoked to handle the error.
|
Logger |
LoggerRepository.exists(String name) |
Appender |
AppenderAttachable.getAppender(String name)
Get an appender by name.
|
Logger |
LoggerRepository.getLogger(String name) |
Logger |
LoggerRepository.getLogger(String name,
LoggerFactory factory) |
Logger |
LoggerRepository.getLogger(String name,
String group) |
Logger |
LoggerRepository.getLogger(String name,
String group,
LoggerFactory factory) |
Object |
LoggingEvent.getMDC(String key)
Returns the the context corresponding to the
key
parameter. |
String |
LoggingEvent.getProperty(String key)
Return a property for this event.
|
Logger |
LoggerFactory.makeNewLoggerInstance(String name) |
void |
AppenderAttachable.removeAppender(String name)
Remove the appender with the name passed as parameter from the
list of appenders.
|
Object |
LoggingEvent.removeProperty(String propName)
This removes the specified MDC property from the event.
|
void |
LoggerRepository.setGroup(String groupName,
Level groupThreshold) |
void |
LoggingEvent.setProperty(String propName,
String propValue)
Set value for MDC property.
|
void |
LoggerRepository.setThreshold(String val)
Another form of
LoggerRepository.setThreshold(Level) accepting a string
parameter instead of a Level. |
| Constructor and Description |
|---|
LocationInfo(String file,
String classname,
String method,
String line)
Create new instance.
|
LocationInfo(Throwable t,
String fqnOfCallingClass)
Instantiate location information based on a Throwable.
|
LoggingEvent(String fqnOfCategoryClass,
Category logger,
long timeStamp,
Level level,
Object message,
String threadName,
ThrowableInformation throwable,
String ndc,
LocationInfo info,
Map properties)
Create new instance.
|
LoggingEvent(String fqnOfCategoryClass,
Category logger,
long timeStamp,
Priority level,
Object message,
Throwable throwable)
Instantiate a LoggingEvent from the supplied parameters.
|
LoggingEvent(String fqnOfCategoryClass,
Category logger,
Priority level,
Object message,
Throwable throwable)
Instantiate a LoggingEvent from the supplied parameters.
|
ThrowableInformation(String[] r)
Create new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
DOMConfigurator.subst(String value,
Properties props)
Substitutes property value for any references in expression.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DOMConfigurator.configure(String filename)
A static version of
DOMConfigurator.doConfigure(String, LoggerRepository). |
static void |
DOMConfigurator.configureAndWatch(String configFilename)
Like
DOMConfigurator.configureAndWatch(String, long) except that the
default delay as defined by FileWatchdog#DEFAULT_DELAY is
used. |
static void |
DOMConfigurator.configureAndWatch(String configFilename,
long delay)
Read the configuration file
configFilename if it
exists. |
void |
DOMConfigurator.doConfigure(String filename,
LoggerRepository repository) |
static String |
DOMConfigurator.subst(String value,
Properties props)
Substitutes property value for any references in expression.
|
| Modifier and Type | Method and Description |
|---|---|
String |
LanguageControl.getCurrentLanguage()
Returns the language code of the currently selected language.
|
String[] |
LanguageControl.listAvailableLanguages()
Provides the application a list of available languages.
|
String |
LanguageControl.selectDefaultLanguage()
Changes the language to the default language determined by the implementation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LanguageControl.selectLanguage(String lang)
Changes the language to the language given in the parameter.
|
| Constructor and Description |
|---|
LanguageNotAvailableException(String reason)
The constructor of the exception with a reason
|
MediaFreezeException(String reason)
Construct an exception with a reason
|
NotAuthorizedException(String reason)
Constructor with reason
|
| Constructor and Description |
|---|
NotAuthorizedException(String s)
Constructs a NotAuthorizedException with the specified detail message
|
ObjectUnavailableException(String s)
Constructs a ObjectUnavailableException with the specified detail message
|
ResourceException(String s)
Constructs a ResourceException with the specified detail message
|
TuningException(String s)
Constructs a TuningException with the specified detail message
|
| Constructor and Description |
|---|
ConnectionLostException(String s)
Constructs a ConnectionLostException with the specified detail message
|
FilteringInterruptedException(String s)
Constructs a FilteringInterruptedException with the specified detail message
|
FilterResourceException(String s)
Constructs a FilterResourceException with the specified detail message
|
IllegalFilterDefinitionException(String s)
Constructs a IllegalFilterDefinitionException with the specified detail message
|
InvalidSourceException(String detail)
Constructs an InvalidSourceException with the specified detail message.
|
NoDataAvailableException(String s)
Constructs a NoDataAvailableException with the specified detail message
|
SectionFilterException(String s)
Constructs a SectionFilterException with the specified detail message
|
| Modifier and Type | Method and Description |
|---|---|
String |
Locator.toExternalForm()
Returns a URL string corresponding to the locator
If the instance of
Locator has been created using
Locator(java.lang.String url) and the URL is a
non-null invalid URL the behaviour is implementation dependent. |
String |
Locator.toString()
Returns the URL string representation
|
| Constructor and Description |
|---|
InvalidLocatorException(String reason)
Constructor for the exception with a specified reason
|
Locator(String url)
Constructor for the locator
|
| Constructor and Description |
|---|
IncorrectLocatorException(String reason)
Constructor for the exception with a specified reason
|
NetworkInterfaceException(String reason)
Constructor for the network interface exception with a specified reason
|
NoFreeInterfaceException(String reason)
Constructor for the exception with a specified reason
|
NotOwnerException(String reason)
Constructor for the exception with a specified reason
|
NotTunedException(String reason)
Constructor for the exception with a specified reason
|
StreamNotFoundException(String reason)
Constructor for the exception with a specified reason
|
| Modifier and Type | Method and Description |
|---|---|
String |
AppsControlPermission.getActions()
Returns the list of actions that had been passed to the
constructor - it shall return null.
|
String |
AppAttributes.getName()
This method returns the name of the application.
|
String |
AppAttributes.getName(String iso639code)
This method returns the name of the application in the language which
is specified by the parameter passed as an argument.
|
String[][] |
AppAttributes.getNames()
This method returns all the available names for the application
together with their ISO 639 language code.
|
String[] |
AppAttributes.getProfiles()
This method returns those minimum profiles required for the application
to execute.
|
String |
AppID.toString()
This method returns a string containing the Hex representation of the 48 bit
number.
|
| Modifier and Type | Method and Description |
|---|---|
String |
AppAttributes.getName(String iso639code)
This method returns the name of the application in the language which
is specified by the parameter passed as an argument.
|
Object |
AppAttributes.getProperty(String index)
The following method is included for properties that do not have
explicit property accessors.
|
int[] |
AppAttributes.getVersions(String profile)
This method returns an array of integers containing the version
number of the specification required to run this application
at the specified profile.
|
void |
AppProxy.start(String[] args)
Request that the application manager start the application bound
to this information structure passing to that application the specified
parameters.
|
| Constructor and Description |
|---|
AppsControlPermission(String name,
String actions)
Creates a new AppsControlPermission.
|
IllegalProfileParameterException(String s)
Construct a IllegalProfileParameterException with a detail message
|
LanguageNotAvailableException(String s)
Construct a LanguageNotAvailableException with a detail message
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
DSMCCStreamEvent.getEventList()
This function is used to get the list of the events of
the DSMCCStreamEvent object.
|
String |
StreamEvent.getEventName()
This method is used to get the name of the StreamEvent
|
String |
ServiceXFRReference.getPathName()
This method returns the pathname of the object in the alternate ServiceDomain.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
DSMCCObject.prefetch(DSMCCObject dir,
String path,
byte priority)
Calling this method will issue a hint to the MHP for pre-fetching the object data
for that DSMCC object into cache.
|
static boolean |
DSMCCObject.prefetch(String path,
byte priority)
Calling this method will issue a hint to the MHP for pre-fetching the object data
for that DSMCC object into cache.
|
int |
DSMCCStreamEvent.subscribe(String eventName,
StreamEventListener l)
This function is used to subscribe to an event of a DSMCC
StreamEvent object.
|
void |
DSMCCStreamEvent.unsubscribe(String eventName,
StreamEventListener l)
This function is used to cancel the subscription to an event of a
DSMCCEvent object.
|
| Constructor and Description |
|---|
DSMCCException(String s)
Construct a DSMCCException with the specified detail message
|
DSMCCObject(DSMCCObject dir,
String name)
Create a DSMCCObject object.
|
DSMCCObject(String path)
Create a DSMCCObject object.
|
DSMCCObject(String path,
String name)
Create a DSMCCObject object.
|
DSMCCStream(String path)
Create a Stream Object from its pathname.
|
DSMCCStream(String path,
String name)
Create a DSMCCStream from its pathname.
|
DSMCCStreamEvent(String path)
Create a DSMCCStreamEvent Object from its pathname.
|
DSMCCStreamEvent(String path,
String name)
Create a DSMCCStreamEvent from its pathname.
|
IllegalObjectTypeException(String s)
constructor of the exception
|
InsufficientResourcesException(String message)
Construct an InsufficientResourcesException with the specified detail message
|
InvalidAddressException(String s)
Construct a InvalidAddressException with the specified detail message
|
InvalidFormatException(String s)
Construct an InvalidFormatException with the specified detail message
|
InvalidPathNameException(String s)
Construct an InvalidPathNameException with the specified detail message
|
MPEGDeliveryException(String s)
Construct an MPEGDeliveryException with the specified detail message
|
NotEntitledException(String s)
construct a NotEntitledException with a detail message
|
NothingToAbortException(String s)
Construct a NothingToAbortException with the specified detail message
|
NotLoadedException(String s)
Construct a NotLoadedException with the specified detail message
|
ServerDeliveryException(String s)
Construct a ServerDeliveryException with the specified detail message
|
ServiceXFRException(byte[] NSAPAddress,
String pathName)
Creates a ServiceXFRException object.
|
ServiceXFRException(Locator aService,
int carouselId,
String pathName)
Creates a ServiceXFRException object.
|
ServiceXFRReference(byte[] nsapAddress,
String pathName)
Creates a ServiceXFRReference object.
|
ServiceXFRReference(Locator serviceLocator,
int carouselId,
String pathName)
Creates a ServiceXFRReference object.
|
StreamEvent(DSMCCStreamEvent source,
long npt,
String name,
int eventId,
byte[] eventData)
Creates a StreamEvent object.
|
UnknownEventException(String s)
Construct an UnknownEventException with the specified detail message
|
| Modifier and Type | Method and Description |
|---|---|
String |
UserEventRepository.getName()
Returns the name of the current repository as passed to the constructor.
|
String |
RepositoryDescriptor.getName()
Returns the name of the repository to which the lost, or about to be lost, user event belongs.
|
| Constructor and Description |
|---|
OverallRepository(String name)
The constructor for the repository with a name.
|
UserEventRepository(String name)
The method to construct a new UserEventRepository.
|
| Modifier and Type | Method and Description |
|---|---|
static String[] |
IxcRegistry.list(XletContext xc)
Returns an array of string path objects available in the
registry.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
IxcRegistry.bind(XletContext xc,
String name,
Remote obj)
Exports an object under a given name in the namespace of
an Xlet.
|
static Remote |
IxcRegistry.lookup(XletContext xc,
String path)
Returns a remote object previously exported by an Xlet that
has not been destroyed.
|
static void |
IxcRegistry.rebind(XletContext xc,
String name,
Remote obj)
Rebind the name to a new object in the context of an Xlet;
replaces any existing binding.
|
static void |
IxcRegistry.unbind(XletContext xc,
String name)
Unbind the name.
|
| Modifier and Type | Method and Description |
|---|---|
Class |
DVBClassLoader.findClass(String name)
Finds and loads the class with the specified name from the URL
search path.
|
| Modifier and Type | Method and Description |
|---|---|
String |
DripFeedDataSource.getContentType()
This method shall return the content type for mpeg-2 video "drips"
|
| Modifier and Type | Method and Description |
|---|---|
Object |
DripFeedDataSource.getControl(String controlType)
Obtain the object that implements the specified Class or Interface.
|
| Constructor and Description |
|---|
CAException(String reason)
Constructor with a reason
|
DripFeedPermission(String name)
Create a new DripFeedPermission.
|
DripFeedPermission(String name,
String actions)
Create a new DripFeedPermission.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ConnectionParameters.getPassword()
Return the password used in establishing this connection
The value returned shall be the one passed into the constructor of this instance.
|
String |
ConnectionParameters.getTarget()
Return the target of this connection for example a phone number.
|
String |
ConnectionParameters.getUsername()
Return the username used in establishing this connection
The value returned shall be the one passed into the constructor of this instance.
|
| Constructor and Description |
|---|
ConnectionParameters(String number,
String username,
String password)
Construct a set of connection parameters.
|
ConnectionParameters(String number,
String username,
String password,
InetAddress[] dns)
Construct a set of connection parameters.
|
IncompleteTargetException(String reason)
Constructor for the exception with a specified reason
|
PermissionDeniedException(String reason)
Constructor for the exception with a specified reason
|
RCPermission(String name)
Creates a new RCPermission with the specified name.
|
RCPermission(String name,
String actions)
Creates a new RCPermission object with the specified
name.
|
| Constructor and Description |
|---|
TunerPermission(String name)
Creates a new TunerPermission.
|
TunerPermission(String name,
String actions)
Creates a new TunerPermission.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
ProviderRegistry.getInstalledProviders()
Return the names of all installed providers.
|
String |
Provider.getName()
Returns the name of this provider.
|
String |
ProviderRegistry.getProviderVersion(String provider)
Return the version of an installed provider.
|
String |
Provider.getVersion()
Return the version of this provider.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ProviderRegistry.getProviderVersion(String provider)
Return the version of an installed provider.
|
| Constructor and Description |
|---|
ProviderFailedInstallationException(String s)
Constructs an exception with a reason.
|
ProviderPermission(String name)
Creates a new ProviderPermission with the specified name.
|
ProviderPermission(String name,
String actions)
Creates a new ProviderPermission object with the specified
name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
LocatorScheme.getScheme()
Returns the scheme.
|
String |
ServiceReference.getServiceIdentifier()
Return the transport independent locator of the service
|
String |
KnownServiceReference.getServiceIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
MultilingualString |
ServiceDescription.getLongName(String perferredLanguage)
Return the long name of this service.
|
| Constructor and Description |
|---|
KnownServiceReference(String transportIndependent,
String transportDependent,
Locator actualLocation)
Create a ServiceReference for the given service identified
by the combination of a transport independent and transport
dependent identifiers.
|
LocatorScheme(String scheme,
boolean providerFirst)
Construct a LocatorScheme.
|
ServiceReference(String transportIndependent,
String transportDependent)
Create a ServiceReference for a service.
|
| Modifier and Type | Method and Description |
|---|---|
String |
MultilingualString.getLanguageCode()
Return the language code.
|
String |
MultilingualString.getString()
Return the string.
|
String |
MultilingualString.toString()
Return a string representation of this object
|
| Constructor and Description |
|---|
MultilingualString(String s,
String languageCode)
Initialize a new MultilingualString.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DVBTest.log(String id,
int no)
This method has the same behaviour, implementation options and restrictions as log(String, String) - except that.
|
static void |
DVBTest.log(String id,
String message)
This synchronous, blocking, method logs a result (intermediate result) of a test application using write-only access.
|
static void |
DVBTest.prompt(String id,
int controlCode,
String message)
This is a method is used to "approximately" synchronise a test-client and test-server, the method blocks
until the test-server positively or negatively acknowledges the particular message.
|
static void |
DVBTest.terminate(String id,
int terminationCondition)
This synchronous, blocking, method logs the termination condition of a test
application using write-only access.
|
| Modifier and Type | Method and Description |
|---|---|
String |
DVBGraphics.toString()
Returns a
String object representing this
DVBGraphics object's value. |
String |
DVBColor.toString()
Creates a string that represents this color and indicates the
values of its ARGB components.
|
String |
DVBBufferedImage.toString()
Returns a
String representation of this
DVBBufferedImage object and its values. |
| Modifier and Type | Method and Description |
|---|---|
Font |
FontFactory.createFont(String name,
int style,
int size)
Creates a font object from the font source associated with this
FontFactory.
|
Object |
DVBBufferedImage.getProperty(String name,
ImageObserver observer)
Returns a property of the image by name.
|
void |
TextOverflowListener.notifyTextOverflow(String markedUpString,
HVisible v,
boolean overflowedHorizontally,
boolean overflowedVertically)
This method is called by the DVBTextLayoutManager
if the text does not fit within the component
|
void |
DVBTextLayoutManager.render(String markedUpString,
Graphics g,
HVisible v,
Insets insets)
Render the string.
|
| Constructor and Description |
|---|
DVBRasterFormatException(String s)
Constructs an instance of
DVBRasterFormatException
with the specified detail message. |
FontFormatException(String s)
Constructs a
FontFormatException with the specified detail
message. |
FontNotAvailableException(String s)
Constructs a
FontNotAvailableException with the specified detail
message. |
UnsupportedDrawingOperationException(String s)
Constructs an instance of
UnsupportedDrawingOperationException
with the specified detail message. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
Preference.getFavourites()
Returns the list of favourite values for this preference.
|
String |
Preference.getMostFavourite()
Returns the most favourite value for this preference, that is, the
first element of the list.
|
String |
UserPreferenceChangeEvent.getName()
Returns the name of the modified Preference
|
String |
Preference.getName()
Returns the name of the preference.
|
String |
Preference.toString()
Convert name and favourites to a String.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Preference.add(int position,
String value)
Adds a new value for this preference.
|
void |
Preference.add(String value)
Adds a new value for this preference.
|
void |
Preference.add(String[] values)
Adds several new values for this preferences.
|
int |
Preference.getPosition(String value)
Returns the position in the list of the specified value.
|
void |
Preference.remove(String value)
Removes the specified value from the list of favourites.
|
void |
Preference.setMostFavourite(String value)
Sets the most favourite value for this preference.
|
| Constructor and Description |
|---|
Facility(String preference,
String value)
Creates a Facility with a single value.
|
Facility(String preference,
String[] values)
Creates a Facility with a set of values.
|
Facility(String preference,
String[] values)
Creates a Facility with a set of values.
|
GeneralPreference(String name)
Constructs a GeneralPreference object.
|
Preference(String name,
String value)
Creates a new preference with the specified name and the specified
value.
|
Preference(String name,
String[] value)
Creates a new preference with the specified name and the specified
value set.
|
Preference(String name,
String[] value)
Creates a new preference with the specified name and the specified
value set.
|
UnsupportedPreferenceException(String a)
Constructs a
UnsupportedPreferenceException with a detail message. |
UserPreferenceChangeEvent(String preferenceName)
Constructs a new event.
|
UserPreferencePermission(String name)
Creates a new UserPreferencePermission with the
specified name.
|
UserPreferencePermission(String name,
String actions)
Creates a new UserPreferencePermission object with the specified
name.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
HVersion.HAVI_IMPLEMENTATION_NAME
A string constant describing the HAVi implementation name, as
returned via
java.lang.System.getProperty(HVersion.HAVI_IMPLEMENTATION_NAME).
|
static String |
HVersion.HAVI_IMPLEMENTATION_VENDOR
A string constant describing the HAVi implementation vendor, as
returned via
java.lang.System.getProperty(HVersion.HAVI_IMPLEMENTATION_VENDOR).
|
static String |
HVersion.HAVI_IMPLEMENTATION_VERSION
A string constant describing the HAVi implementation version,
as returned via
java.lang.System.getProperty(HVersion.HAVI_IMPLEMENTATION_VERSION).
|
static String |
HVersion.HAVI_SPECIFICATION_NAME
A string constant describing the HAVi specification name, as
returned via
java.lang.System.getProperty(HVersion.HAVI_SPECIFICATION_NAME).
|
static String |
HVersion.HAVI_SPECIFICATION_VENDOR
A string constant describing the HAVi specification vendor, as
returned via
java.lang.System.getProperty(HVersion.HAVI_SPECIFICATION_VENDOR).
|
static String |
HVersion.HAVI_SPECIFICATION_VERSION
A string constant describing the HAVi specification version, as
returned via
java.lang.System.getProperty(HVersion.HAVI_SPECIFICATION_VERSION).
|
| Modifier and Type | Method and Description |
|---|---|
String |
HTextButton.getActionCommand()
Gets the command name for the
HActionEvent
event fired by this HTextButton. |
String |
HGraphicButton.getActionCommand()
Gets the command name for the
HActionEvent
event fired by this HGraphicButton. |
String |
HActionInputPreferred.getActionCommand()
Gets the command name for the
HActionEvent
event fired by this HActionInputPreferred. |
String |
HScreenDevice.getIDstring()
Returns the identification string associated with this
HScreenDevice. |
String |
HListElement.getLabel()
Retrieve the label for this HListElement.
|
String |
HVisible.getTextContent(int state)
Gets the text content for this component.
|
String |
HSinglelineEntry.getTextContent(int state)
Gets the text content used in this
HSinglelineEntry. |
| Modifier and Type | Method and Description |
|---|---|
void |
HSound.load(String location)
Loads data synchronously into an
HSound object from an audio sample in the specified file. |
void |
HTextLayoutManager.render(String markedUpString,
Graphics g,
HVisible v,
Insets insets)
Render the string.
|
void |
HDefaultTextLayoutManager.render(String markedUpString,
Graphics g,
HVisible v,
Insets insets)
Render the string.
|
void |
HTextButton.setActionCommand(String command)
Sets the command name for the
HActionEvent event fired by this HTextButton. |
void |
HGraphicButton.setActionCommand(String command)
Sets the command name for the
HActionEvent event fired by this HGraphicButton. |
void |
HActionable.setActionCommand(String command)
Sets the command name for the
HActionEvent event fired by this HActionable. |
void |
HListElement.setLabel(String label)
Set the label for this HListElement.
|
void |
HVisible.setTextContent(String string,
int state)
Sets a single piece of text content for this component, per
state.
|
void |
HSinglelineEntry.setTextContent(String string,
int state)
Sets the text content used in this
HSinglelineEntry. |
| Constructor and Description |
|---|
HBackgroundImage(String filename)
Create an HBackgroundImage
object.
|
HConfigurationException(String message)
Creates an HConfigurationException object with a specified
reason string.
|
HInvalidLookException(String message)
Creates an HInvalidLookException object with a specified
reason string.
|
HListElement(Image icon,
String label)
Creates an HListElement object.
|
HListElement(String label)
Creates an HListElement object.
|
HMatteException(String message)
Creates an HMatteException object with a specified
reason string.
|
HMultilineEntry(String text,
int maxChars,
Font font,
Color color)
Creates an
HMultilineEntry
object. |
HMultilineEntry(String text,
int x,
int y,
int width,
int height,
int maxChars,
Font font,
Color color)
Creates an
HMultilineEntry
object. |
HPermissionDeniedException(String message)
Creates an HPermissionDeniedException object with a specified
reason string.
|
HSinglelineEntry(String text,
int maxChars,
Font font,
Color color)
Creates an
HSinglelineEntry
object. |
HSinglelineEntry(String text,
int x,
int y,
int width,
int height,
int maxChars,
Font font,
Color color)
Creates an
HSinglelineEntry
object. |
HStaticText(String textNormal)
Creates an
HStaticText
object. |
HStaticText(String textNormal,
Font font,
Color foreground,
Color background,
HTextLayoutManager tlm)
Creates an
HStaticText
object. |
HStaticText(String textNormal,
int x,
int y,
int width,
int height)
Creates an
HStaticText
object. |
HStaticText(String textNormal,
int x,
int y,
int width,
int height,
Font font,
Color foreground,
Color background,
HTextLayoutManager tlm)
Creates an
HStaticText
object. |
HText(String text)
Creates an
HText object. |
HText(String text,
Font font,
Color foreground,
Color background,
HTextLayoutManager tlm)
Creates an
HText object. |
HText(String text,
int x,
int y,
int width,
int height)
Creates an
HText object. |
HText(String text,
int x,
int y,
int width,
int height,
Font font,
Color foreground,
Color background,
HTextLayoutManager tlm)
Creates an
HText object. |
HText(String textNormal,
String textFocus)
Creates an
HText object. |
HText(String textNormal,
String textFocus,
Font font,
Color foreground,
Color background,
HTextLayoutManager tlm)
Creates an
HText object. |
HText(String textNormal,
String textFocus,
int x,
int y,
int width,
int height)
Creates an
HText object. |
HText(String textNormal,
String textFocus,
int x,
int y,
int width,
int height,
Font font,
Color foreground,
Color background,
HTextLayoutManager tlm)
Creates an
HText object. |
HTextButton(String text)
Creates an
HTextButton
object. |
HTextButton(String text,
Font font,
Color foreground,
Color background,
HTextLayoutManager tlm)
Creates an
HTextButton
object. |
HTextButton(String text,
int x,
int y,
int width,
int height)
Creates an
HTextButton
object. |
HTextButton(String text,
int x,
int y,
int width,
int height,
Font font,
Color foreground,
Color background,
HTextLayoutManager tlm)
Creates an
HTextButton
object. |
HUIException(String message)
Creates an HUIException object with a specified
reason string.
|
| Modifier and Type | Method and Description |
|---|---|
String |
HActionEvent.getActionCommand()
Retrieve the action command string associated with this event.
|
String |
HEventRepresentation.getString()
Returns the text representation of the current event code.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
HEventRepresentation.setString(String aText)
Sets the string representation for this
HEventRepresentation. |
| Constructor and Description |
|---|
HActionEvent(HActionInputPreferred source,
int id,
String command)
Constructs an
HActionEvent. |
| Modifier and Type | Method and Description |
|---|---|
String |
OcapIxcPermission.getActions()
Returns the "canonical string representation" of the actions.
|
String |
AppPattern.getAppIDPattern()
Returns the pattern string that specifies a group of AppIDs.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AppManagerProxy.removeAddressingProperties(String[] properties)
Removes addressing properties set by the
registerAddressingProperties method. |
| Constructor and Description |
|---|
AppPattern(String idPattern,
int action,
int priority)
Constructs a new AppPattern with no expiration.
|
AppPattern(String idPattern,
int action,
int priority,
Date expirationTime,
Object info)
Constructs a new AppPattern with an expiration time and MSO
private information.
|
OcapIxcPermission(String name,
String actions)
Creates a new OcapIxcPermission object with the specified name and actions.
|
| Modifier and Type | Method and Description |
|---|---|
String |
MIBObject.getOID()
Gets the MIB object identifier.
|
| Modifier and Type | Method and Description |
|---|---|
abstract MIBDefinition[] |
MIBManager.queryMibs(int subDevice,
String oid)
Makes a query for all MIB objects matching the oid parameter, as
well as any descendants in the MIB tree, in a specific sub-device
including eSTB and eCM.
|
abstract MIBDefinition[] |
MIBManager.queryMibs(String oid)
Makes a query for all MIB objects matching the oid parameter, as
well as any descendants in the MIB tree.
|
abstract void |
MIBManager.registerOID(String oid,
int access,
boolean leaf,
int dataType,
MIBListener listener)
Registers a MIB object by adding the OID and listener to the MIB tables.
|
abstract void |
MIBManager.unregisterOID(String oid)
Unregisters a previously registered OID if the OID was
registered by the same application.
|
| Constructor and Description |
|---|
MIBObject(String oid,
byte[] data)
Constructs a MIB object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
OcapRecordingProperties.getOrganization()
Return the name of the organization that this recording will be tied to
|
| Modifier and Type | Method and Description |
|---|---|
abstract RecordingRequest |
OcapRecordingManager.record(RecordingSpec source,
String[] keys,
Serializable[] appData)
Records the stream or streams according to the source
parameter.
|
| Constructor and Description |
|---|
OcapRecordingProperties(byte bitRate,
long expirationPeriod,
int retentionPriority,
byte priorityFlag,
ExtendedFileAccessPermissions access,
String organization,
MediaStorageVolume destination)
Constructs an immutable instance of
OcapRecordingProperties
with the specified attributes. |
OcapRecordingProperties(byte bitRate,
long expirationPeriod,
int retentionPriority,
byte priorityFlag,
ExtendedFileAccessPermissions access,
String organization,
MediaStorageVolume destination,
int resourcePriority)
Constructs an immutable instance of
OcapRecordingProperties
with the specified attributes. |
| Modifier and Type | Method and Description |
|---|---|
void |
LightweightTriggerSession.registerEvent(Date date,
String name,
int id,
byte[] data)
Registers a synchronized event to the stream event list for this session.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
MediaStorageVolume.getAllowedList()
Returns the list of Organizations who are allowed to use this volume.
|
| Modifier and Type | Method and Description |
|---|---|
MediaStorageVolume |
MediaStorageOption.allocateMediaVolume(String name,
ExtendedFileAccessPermissions fap)
Allocates a
MediaStorageVolume. |
void |
MediaStorageVolume.allowAccess(String[] organizations)
Adds a list of Organization strings to the set of organizations that are
allowed to use this volume.
|
void |
MediaStorageVolume.removeAccess(String organization)
Removes an Organization from the list of Organization who are allowed
to use this volume.
|
| Constructor and Description |
|---|
EnvironmentState(String s)
This protected constructor is provided to enable the set
of states to be extended.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Host.getID()
Get a human-readable string representing the ID of this Host.
|
String |
IEEE1394Node.getModelName()
Returns the value of MODEL NAME TEXTUAL DESCRIPTOR of the 1394 node.
|
String |
Host.getReverseChannelMAC()
Gets the MAC address used by the Host for reverse channel unicast
communications.
|
String |
IEEE1394Node.getVendorName()
Returns the value of VENDOR NAME TEXTUAL DESCRIPTOR of the 1394 node.
|
| Modifier and Type | Method and Description |
|---|---|
String |
VideoOutputConfiguration.getName()
Get the
String representation of this VideoOutputConfiguration,
suitable for display to the user. |
String |
DynamicVideoOutputConfiguration.getName()
Returns "Dynamic".
|
| Constructor and Description |
|---|
FeatureNotSupportedException(String message)
Creates an FeatureNotSupportedException object with a specified
reason string.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
IndicatorDisplay.MESSAGE
Message LED
|
static String |
IndicatorDisplay.POWER
Power LED
|
static String |
IndicatorDisplay.RECORD
Record LED
|
static String |
IndicatorDisplay.REMOTE
Remote LED
|
static String |
IndicatorDisplay.RFBYPASS
RF bypass LED
|
| Modifier and Type | Method and Description |
|---|---|
String |
TextDisplay.getCharacterSet()
Gets the set of characters supported by the display.
|
String[] |
FrontPanelManager.getSupportedIndicators()
Gets the set of available indicators.
|
| Modifier and Type | Method and Description |
|---|---|
IndicatorDisplay |
FrontPanelManager.getIndicatorDisplay(String[] indicators)
Gets the individual indicators display.
|
void |
FrontPanelManager.releaseIndicator(String indicator)
Releases a front panel indicator from a previous reservation.
|
boolean |
FrontPanelManager.reserveIndicator(ResourceClient resourceClient,
String indicator)
Reserves one of the indicators for exclusive use by an application.
|
void |
TextDisplay.setTextDisplay(String[] text,
BlinkSpec blinkSpec,
ScrollSpec scrollSpec,
BrightSpec brightSpec,
ColorSpec colorSpec)
Displays text on the front panel display.
|
| Modifier and Type | Method and Description |
|---|---|
String |
PODApplication.getName()
This method returns an application name of the CableCARD Application
represented by this class.
|
String |
PODApplication.getURL()
This method returns a URL of the CableCARD Application represented by
this class.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
Device.CAP_RECORDING_SUPPORTED
A constant indicating MSO content recording capability.
|
static String |
Device.CAP_REMOTE_STORAGE_SUPPORTED
A constant indicating remote storage capability.
|
static String |
Device.CAP_STREAMING_SUPPORTED
A constant indicating streaming capability of the device.
|
static String |
Device.CAP_TUNER_SUPPORTED
A constant indicating if the device has a tuner.
|
static String |
NetModule.CONTENT_LIST
A constant indicating content listing NetModule.
|
static String |
NetModule.CONTENT_MANAGER
A constant indicating content manager NetModule.
|
static String |
NetModule.CONTENT_RECORDER
A constant indicating content recording NetModule.
|
static String |
NetModule.CONTENT_RENDERER
A constant indicating content renderer NetModule.
|
static String |
NetModule.CONTENT_SERVER
A constant indicating content server NetModule.
|
static String |
NetModule.PROP_CONTROL_URL
A constant providing URL for NetModule control.
|
static String |
NetModule.PROP_DESCRIPTION_URL
A constant providing URL for NetModule description.
|
static String |
Device.PROP_DEVICE_TYPE
A constant indicates device property: device type
|
static String |
Device.PROP_DEVICE_VERSION
A constant representing a device version number
|
static String |
NetModule.PROP_EventSub_URL
A constant providing URL for NetModule eventing.
|
static String |
Device.PROP_FRIENDLY_NAME
A constant for a friendly name of the device.
|
static String |
Device.PROP_LOCATION
A constant indicates device property: location of the device.
|
static String |
Device.PROP_MANUFACTURER
A constant indicating the manufacturer of this device.
|
static String |
Device.PROP_MANUFACTURER_URL
A constant providing URL to the manufacturer's web site.
|
static String |
Device.PROP_MIDDLEWARE_PROFILE
A constant indicates device property: middleware profile.
|
static String |
Device.PROP_MIDDLEWARE_VERSION
A constant indicates device property: middleware version.
|
static String |
Device.PROP_MODEL_DESCRIPTION
A constant providing description of the device.
|
static String |
Device.PROP_MODEL_NAME
A constant indicates device property: model name.
|
static String |
Device.PROP_MODEL_NUMBER
A constant indicates device property: model number.
|
static String |
Device.PROP_MODEL_URL
A constant indicates device property: model URL.
|
static String |
NetModule.PROP_NETMODULE_ID
A constant indicating NetModuleID.
|
static String |
NetModule.PROP_NETMODULE_TYPE
A constant providing this NetModule's type.
|
static String |
Device.PROP_PRESENTATION_URL
A constant indicates device property: presentation URL.
|
static String |
Device.PROP_SERIAL_NUMBER
A constant indicates device property: serial number.
|
static String |
Device.PROP_UDN
A constant indicates device property: unique device name.
|
static String |
Device.PROP_UPC
A constant indicates device property: universal product code.
|
static String |
Device.TYPE_BINARY_LIGHT
A constant indicates device type: Binary Light (on/off).
|
static String |
Device.TYPE_DIMMABLE_LIGHT
A constant indicates device type: Dimmable Light (light intensity control).
|
static String |
Device.TYPE_HVAC_SYSTEM
A constant indicates device type: Heater-Vent-Air Conditioning System.
|
static String |
Device.TYPE_HVAC_ZONE_THERMOSTAT
A constant indicates device type: Heater-Vent-Air Conditioning Thermostat.
|
static String |
Device.TYPE_INTERNET_GATEWAY_DEVICE
A constant indicates device type: Internet gateway device.
|
static String |
Device.TYPE_LAN_DEVICE
A constant indicates device type: LAN device.
|
static String |
Device.TYPE_MEDIA_RENDERER
A constant indicates device type: Media Renderer.
|
static String |
Device.TYPE_MEDIA_SERVER
A constant indicates device type: Media Server.
|
static String |
Device.TYPE_OCAP_HOST
A constant indicates device type: OCAP Host.
|
static String |
Device.TYPE_OCAP_TERMINAL
A constant indicates device type: OCAP terminal.
|
static String |
Device.TYPE_PRINTER
A constant indicates device type: Printer.
|
static String |
Device.TYPE_REMOTE_UI_CLIENT_DEVICE
A constant indicates device type: Remote UI Client Device,
Allows for basic operations on a Remote UI client including:
user interface connection management, optionally user interface
availability management and optionally basic user interaction.
|
static String |
Device.TYPE_REMOTE_UI_SERVER_DEVICE
A constant indicates device type: Remote UI Server Device.
|
static String |
Device.TYPE_SCANNER
A constant indicates device type: Scanner.
|
static String |
Device.TYPE_WAN_CONNECTION_DEVICE
A constant indicates device type: WAN connection device.
|
static String |
Device.TYPE_WAN_DEVICE
A constant indicates device type: WAN device.
|
static String |
Device.TYPE_WLAN_ACCESS_POINT_DEVICE
A constant indicates device type: WAN access point device.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
ContentServerEvent.getContent()
Returns the IDs associated with the ContentEntrys involved in this event.
|
String |
NetworkInterface.getDisplayName()
Gets a humanly readable name for this interface, e.g.
|
String |
NetworkInterface.getMacAddress()
Gets the MAC address of this interface.
|
String |
Device.getName()
Returns the name of this device.
|
String |
NetModule.getNetModuleId()
Returns the id of this NetModule, which is unique within the device.
|
String |
NetModule.getNetModuleType()
Returns the type of this NetModule.
|
String |
NetModule.getProperty(String key)
Returns the property value for specified key.
|
String |
Device.getProperty(String key)
Returns property of this device specified by a key.
|
String |
Device.getType()
Returns the type of this device, for example, MediaRenderer, MediaServer,
etc.
|
String |
Device.getVersion()
Returns the version number associated with this Device's device type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PropertyFilter.addProperty(String key,
String value)
Adds a (key,value) pair to the filter.
|
boolean |
PropertyFilter.contains(String key)
Checks whether a key is in the list.
|
abstract Device |
NetManager.getDevice(String name)
Returns device by name, for example, "BallRoom:DVD_PLAYER1".
|
abstract NetList |
NetManager.getDeviceList(String name)
Returns all devices that match the specified device name.
|
NetModule |
Device.getNetModule(String moduleId)
Returns the NetModule by module id.
|
abstract NetModule |
NetManager.getNetModule(String deviceName,
String moduleID)
Returns NetModule by device and module ID.
|
abstract NetList |
NetManager.getNetModuleList(String deviceName,
String moduleID)
Returns all NetModules that match the specified device name and module identifier.
|
String |
NetModule.getProperty(String key)
Returns the property value for specified key.
|
String |
Device.getProperty(String key)
Returns property of this device specified by a key.
|
void |
PropertyFilter.removeKey(String key)
Remove a key from the filter, if the key is not in the property
list, no action is taken.
|
void |
PropertyFilter.removeKeys(String[] keys)
Remove keys from the filter, if a key is not in the property list,
it is disregarded; while others are processed as normal.
|
NetActionRequest |
ContentServerNetModule.requestBrowseEntries(String startingEntryID,
String propertyFilter,
boolean browseChildren,
int startingIndex,
int requestedCount,
String sortCriteria,
NetActionHandler handler)
Requests a browse of this ContentServer which results in the
creation of a
ContentList. |
NetActionRequest |
ContentServerNetModule.requestSearchEntries(String parentID,
String propertyFilter,
int startingIndex,
int requestedCount,
String searchCriteria,
String sortCriteria,
NetActionHandler handler)
Requests a search of this ContentServer which results in the
creation of a
ContentList. |
void |
Device.setFriendlyName(String value)
Sets the value of the PROP_FRIENDLY_NAME property.
|
| Constructor and Description |
|---|
ContentServerEvent(Object source,
String[] content,
int evt)
Creates a new ContentServerEvent with the given source object, the ContentItem involved and
an event ID indicating whether the content got added or removed.
|
HomeNetPermission(String name)
Constructor for the HomeNetPermission
|
NotAuthorizedException(String reason)
Constructs a NotAuthorizedException object with a reason.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ContentContainer.ALBUM_CONTAINER
Represents the base album container.
|
static String |
ContentContainer.ALBUM_CONTAINER_MUSIC
Represents a music album container.
|
static String |
ContentContainer.ALBUM_CONTAINER_PHOTO
Represents a photo album container.
|
static String |
ContentItem.AUDIO_ITEM
Represents the base audio content.
|
static String |
ContentItem.AUDIO_ITEM_BOOK
In addition to being an AUDIO_ITEM content MAY be an audio book.
|
static String |
ContentItem.AUDIO_ITEM_BROADCAST
In addition to being an AUDIO_ITEM content MAY be broadcast on a radio
station.
|
static String |
ContentItem.AUDIO_ITEM_TRACK
In addition to being an AUDIO_ITEM content MAY be a track such as a song.
|
static String |
ContentContainer.CHANNEL_GROUP_CONTAINER
Represents the (extended tuner) channel group container class.
|
static String |
ContentContainer.CONTAINER
Represents the base container class.
|
static String |
ContentProfile.DASH_MPD
MPEG-DASH Content.
|
static String |
ProtectionType.DECE_DRM
DECE DRM type.
|
static String |
ProtectionType.DTCP_IP
DTCP-IP protection type as defined in [OC-BUNDLE].
|
static String |
ContentContainer.GENRE_CONTAINER
Represents an unordered collection of 'objects' that "belong" to the
genre.
|
static String |
ContentContainer.GENRE_CONTAINER_MOVIE
Represents a movie genre container.
|
static String |
ContentContainer.GENRE_CONTAINER_MUSIC
Represents a music genre container.
|
static String |
ContentItem.IMAGE_ITEM
Base image item.
|
static String |
ContentItem.IMAGE_ITEM_PHOTO
In addition to being an IMAGE_ITEM content MAY be a photo.
|
static String |
ContentItem.ITEM
Represents the base content item.
|
static String |
ContentContainer.PERSON_CONTAINER
Represents an unordered collection of 'objects' that "belong"
to the people.
|
static String |
ContentContainer.PERSON_CONTAINER_MUSIC_ARTIST
Represents a music artist person container.
|
static String |
ContentContainer.PLAYLIST_CONTAINER
Represents a collection of objects.
|
static String |
MetadataIdentifiers.PROPRIETARY_DATA
This identifies proprietary data.
|
static String |
ContentContainer.STORAGE_FOLDER_CONTAINER
Represents all, or a partition of some physical storage unit of a single type.
|
static String |
ContentContainer.STORAGE_SYSTEM_CONTAINER
Represents a potentially heterogeneous collection of storage media.
|
static String |
ContentContainer.STORAGE_VOLUME_CONTAINER
Represents all, or a partition of, some physical storage unit of a single type.
|
static String |
ContentResource.UNKNOWN_MIME_TYPE
Constant for an unknown MIME type.
|
static String |
ContentItem.VIDEO_ITEM
Represents the base video item.
|
static String |
ContentItem.VIDEO_ITEM_BROADCAST
In addition to being a VIDEO_ITEM content MAY be a video broadcast.
|
static String |
ContentItem.VIDEO_ITEM_BROADCAST_VOD
In addition to being a VIDEO_ITEM_BROADCAST content MAY be VOD content.
|
static String |
ContentItem.VIDEO_ITEM_MOVIE
In addition to being a VIDEO_ITEM content MAY be a movie.
|
static String |
ContentItem.VIDEO_ITEM_MUSIC_CLIP
In addition to being a VIDEO_ITEM content MAY be a music video clip, e.g.
|
static String |
ContentItem.VIDEO_ITEM_VPOP
In addition to being a VIDEO_ITEM content MAY be a VPOP item;
the item represents content binary that is presenting to video output
ports, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ChannelContentItem.getChannelName()
Gets The channel name for this ChannelContentItem
|
String |
ChannelContentItem.getChannelNumber()
Gets The channel number for this ChannelContentItem
|
String |
ChannelContentItem.getChannelTitle()
Gets The title for this ChannelContentItem, or null if the title is unknown.
|
String |
ChannelContentItem.getChannelType()
Gets The channel type for this ChannelContentItem
|
String |
ContentContainer.getContainerClass()
Returns the container class of this container.
|
String |
ContentItem.getContentClass()
Returns the content class of this content item.
|
String |
ContentResource.getContentFormat()
Returns the content format.
|
String |
ContentFormat.getContentProfile()
This method returns an identifier representing the media format of
the content.
|
String |
ContentEntry.getID()
Returns the ID of this ContentEntry.
|
static String[] |
MetadataIdentifiers.getIdentifiers()
Gets all metadata identifiers for all HN profiles supported by this
Host device.
|
abstract String |
MetadataNode.getKey()
Gets the key string, which can be utilized to retrieve this
MetadataNode from its parent. |
abstract String[] |
MetadataNode.getKeys()
Gets the keys for all top-level metadata in this
MetadataNode. |
String[] |
AudioResource.getLanguages()
Returns an array of languages associated with this audio content or a zero
length array if not known.
|
String |
ContentContainer.getName()
Gets the name of this ContentContainer.
|
String |
ContentResource.getNetwork()
Returns the network on which the content is available.
|
String |
ContentEntry.getParentID()
Returns the ID of
ContentContainer this ContentEntry belongs to. |
String |
ContentFormat.getProtectionType()
Returns the protection type of the content.
|
String |
ContentResource.getProtocol()
Returns the protocol which can be used to retrieve the content.
|
String |
ContentItem.getTitle()
Gets the title for this ContentItem, or null if the title is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
MetadataNode.addMetadata(String key,
Object value)
Adds a new metadata entry, modifies an existing metadata entry, or
removes an existing metadata entry.
|
abstract void |
MetadataNode.addMetadata(String key,
Object value,
ExtendedFileAccessPermissions efap)
Adds a new metadata entry, modifies an existing metadata entry, or
removes an existing metadata entry, with specification of
ExtendedFileAccessPermissions. |
abstract void |
MetadataNode.addNameSpace(String namespace,
String URI)
Adds a namespace declaration to this
MetadataNode. |
static boolean |
MetadataIdentifiers.contains(String identifier)
Indicates if the parameter identifier is contained within the set of
supported identifiers.
|
abstract ChannelContentItem |
ContentEntryFactory.createChannelContentItem(String channelType,
String channelTitle,
String channelName,
String channelNumber,
OcapLocator channelLocator,
ExtendedFileAccessPermissions permissions)
Creates a new
ChannelContentItem representing a broadcast
channel. |
ContentContainer |
ContentContainer.createChannelGroupContainer(String name,
ExtendedFileAccessPermissions permissions)
Creates a new channel group
ContentContainer as a child of this
ContentContainer, when the host device is capable of supporting
tuner requests from the home network. |
boolean |
ContentContainer.createContentContainer(String name,
ExtendedFileAccessPermissions permissions)
Creates a new ContentContainer as a child of this ContentContainer.
|
boolean |
ContentContainer.createContentItem(File content,
String name,
ExtendedFileAccessPermissions permissions)
Creates a new ContentItem representing a local file as a child of this
ContentContainer.
|
static MetadataNode |
MetadataNode.createMetadataNode(String key)
Deprecated.
Replaced by
MetadataNode.createMetadataNode().
Creates a MetadataNode. |
ContentEntry |
ContentContainer.getEntry(String ID)
Returns the ContentEntry associated with the given ID in this container,
or null if no entry is found.
|
abstract ExtendedFileAccessPermissions |
MetadataNode.getExtendedFileAccessPermissions(String key)
Gets the
ExtendedFileAccessPermissions for the property
identified by the specified key. |
abstract Object |
MetadataNode.getMetadata(String key)
Gets a reference to the value associated with the specified key,
if any.
|
Object |
ContentResource.getResourceProperty(String key)
Returns properties of the resource.
|
void |
StreamingActivityListener.notifyStreamingChange(ContentItem contentItem,
int activityID,
String URI,
NetworkInterface tuner)
Notifies the
StreamingActivityListener when streaming parameter
on this activity such as tuning parameter changes |
void |
StreamingActivityListener.notifyStreamingStarted(ContentItem contentItem,
int activityID,
String URI,
NetworkInterface tuner)
Notifies the
StreamingActivityListener when content begins
streaming the content to the home network in response to a request
for ContentItem streaming. |
| Constructor and Description |
|---|
DatabaseException(String sMessage,
int iNumber) |
| Modifier and Type | Method and Description |
|---|---|
String |
ContentList.getSortOrder()
Gets the sort order set by the #setSortOrder method.
|
| Modifier and Type | Method and Description |
|---|---|
abstract DatabaseQuery |
DatabaseQuery.and(DatabaseQuery query,
String contextNode)
Create a new DatabaseQuery object based upon the logical AND of the
predicates represented by this query and the argument query.
|
ContentEntry |
ContentList.find(String[] keys,
Object[] values)
Finds the first ContentEntry which matches the search.
|
ContentEntry |
ContentList.find(String key,
Object value)
|
ContentList |
ContentList.findAll(String[] keys,
Object[] values)
Finds all ContentEntry objects which match the search.
|
static DatabaseQuery |
DatabaseQuery.newInstance(String fieldName,
int comparison,
String value)
Make a new DatabaseQuery for a specific value in a specific field.
|
void |
ContentList.setSortOrder(String sortOrder)
Sets the metadata sort order of the items in this list based on
metadata key identifiers using signed property values.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
UPnPConstants.ACTOR
Name of an actor appearing in a video item.
|
static String |
UPnPConstants.ACTOR_AT_ROLE
Role of an actor in the work.
|
static String |
UPnPConstants.ALBUM
This identifies a
ALBUM this piece of content belongs to. |
static String |
UPnPConstants.ALBUM_ART
Reference to album art.
|
static String |
UPnPConstants.ARTIST
Name of an artist.
|
static String |
UPnPConstants.ARTIST_AT_ROLE
Role of an artist in the work.
|
static String |
UPnPConstants.ARTIST_DISCOGRAPHY
Reference to artist discography.
|
static String |
UPnPConstants.AUTHOR
Name of an author.
|
static String |
UPnPConstants.AUTHOR_AT_ROLE
Role of an author in the work (e.g. lyrics, music).
|
static String |
UPnPConstants.CHANNEL_NAME
Used for identification of channels themselves, or information associated with a
piece of recorded content.
|
static String |
UPnPConstants.CHANNEL_NUMBER
Used for identification of tuner channels themselves or information associated
with a piece of recorded content.
|
static String |
UPnPConstants.COMMENTS
General-purpose tag where a user can annotate an object with some user-specific
information.
|
static String |
UPnPConstants.CONTRIBUTOR
Name of a contributor.
|
static String |
UPnPConstants.CREATION_DATE
This identifies the
CREATION_DATE of a piece of content. |
static String |
UPnPConstants.CREATOR
This identifies the
CREATOR of a piece of content. |
static String |
UPnPConstants.DESCRIPTION
A brief description of the content item.
|
static String |
UPnPConstants.DIRECTOR
Name of a director.
|
static String |
UPnPConstants.DVD_REGION_CODE
DVD region code.
|
static String |
UPnPConstants.GENRE
Name of the genre to which an object belongs.
|
static String |
UPnPConstants.ICON_REF
Reference to an icon which can be used to represent the content.
|
static String |
UPnPConstants.ID
An identifier for the object.
|
static String |
UPnPConstants.LANGUAGE
Language as defined by RFC 3066, e.g. "en-US".
|
static String |
UPnPConstants.LONG_DESCRIPTION
A long description of the content item.
|
static String |
UPnPConstants.LYRICS_REF
Reference to lyrics of a track or album.
|
static String |
UPnPConstants.MEDIA_ID
Unique identifier of an audio CD (e.g. freedb or cddb id).
|
static String |
UPnPConstants.PARENT_ID
An identifier for the parent of this object.
|
static String |
UPnPConstants.PLAYLIST
Name of a playlist this object belongs to.
|
static String |
UPnPConstants.PRODUCER
Name of a producer.
|
static String |
UPnPConstants.PROP_STORAGE_FREE
Property indicating current storage space available on a storage container.
|
static String |
UPnPConstants.PROP_STORAGE_TOTAL
Property indicating total storage on a storage container.
|
static String |
UPnPConstants.PUBLISHER
Name of a publisher.
|
static String |
UPnPConstants.RADIO_BAND
Radio station frequency band.
|
static String |
UPnPConstants.RADIO_CALL_SIGN
Radio station call sign, e.g. "KSJO".
|
static String |
UPnPConstants.RADIO_STATION_ID
Some identification, e.g. "107.7", broadcast frequency of the
radio station.
|
static String |
UPnPConstants.RATING
Rating of the object's resource, for 'parental control' filtering purposes,
such as "R", "PG-13", "X".
|
static String |
UPnPConstants.REGION
Some identification of the region, associated with the 'source' of the object,
e.g. "US", "Latin America", "Seattle".
|
static String |
UPnPConstants.RELATION
Reference to related resources.
|
static String |
UPnPConstants.RIGHTS
Element Description: Information about rights held in and over the resource.
|
static String |
UPnPConstants.SCHEDULED_END_TIME
End time of a scheduled program.
|
static String |
UPnPConstants.SCHEDULED_START_TIME
Start time of a scheduled program.
|
static String |
UPnPConstants.STORAGE_MEDIUM
Indicates the type of storage medium used for the content.
|
static String |
UPnPConstants.TITLE
The identifier for the title of an item.
|
static String |
UPnPConstants.TRACK_NUMBER
Original track number on a CD or other medium.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
RecordingContentItem.PROP_ACCESS_PERMISSIONS
Key constant for retrieving the file access permissions of this recording item
from this item's metadata.
|
static String |
RecordingContentItem.PROP_APP_ID
Key constant for retrieving the application ID of this recording item
from this item's metadata.
|
static String |
NetRecordingEntry.PROP_CDS_REFERENCE
Key constant for retrieving the CDS reference of this recording entry
from this entry's metadata.
|
static String |
RecordingContentItem.PROP_CONTENT_URI
Key constant for retrieving the location of content associated with this
recording item from this item's metadata.
|
static String |
RecordingContentItem.PROP_DESTINATION
Key constant for retrieving the destination of this recording item
from this item's metadata.
|
static String |
RecordingContentItem.PROP_DURATION
Key constant for retrieving the duration in milliseconds of this recording
item from this item's metadata.
|
static String |
RecordingContentItem.PROP_EXPIRATION_PERIOD
Key constant for retrieving the expiration period for this recording item
from this item's metadata.
|
static String |
RecordingContentItem.PROP_MEDIA_FIRST_TIME
Key constant for retrieving the media first time for this recording item
from this item's metadata.
|
static String |
RecordingContentItem.PROP_MSO_CONTENT
Key constant for retrieving the MSO content indicator for this recording item
from this item's metadata.
|
static String |
RecordingContentItem.PROP_NET_RECORDING_ENTRY
Key constant for retrieving the ID of any NetRecordingEntry
containing this RecordingContentItem.
|
static String |
RecordingContentItem.PROP_ORGANIZATION
Key constant for retrieving the organization of this recording item
from this item's metadata.
|
static String |
RecordingContentItem.PROP_PRESENTATION_POINT
Key constant for retrieving the presentation point for this recording item
from this item's metadata.
|
static String |
RecordingContentItem.PROP_PRIORITY_FLAG
Key constant for retrieving the priority flag of this recording item
from this item's metadata.
|
static String |
NetRecordingEntry.PROP_RCI_LIST
Key constant for retrieving the RCI list of this recording entry
from this entry's metadata.
|
static String |
RecordingContentItem.PROP_RECORDING_STATE
Key constant for retrieving the state of this recording item from this
item's metadata.
|
static String |
RecordingContentItem.PROP_RETENTION_PRIORITY
Key constant for retrieving the retention priority of this recording item
from this item's metadata.
|
static String |
NetRecordingEntry.PROP_SCHEDULED_CDS_ENTRY_ID
Key constant for retrieving the scheduled CDS entry ID of this recording entry
from this entry's metadata.
|
static String |
RecordingContentItem.PROP_SOURCE_ID
Key constant for retrieving the source ID of this recording item
from this item's metadata.
|
static String |
RecordingContentItem.PROP_SOURCE_ID_TYPE
Key constant for retrieving the source ID type of this recording item
from this item's metadata.
|
static String |
RecordingContentItem.PROP_SPACE_REQUIRED
Key constant for retrieving the estimated space required for this recording item
from this item's metadata.
|
static String |
RecordingContentItem.PROP_START_TIME
Key constant for retrieving the start time of this recording item from
this item's metadata.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
NetRecordingEntry.getRecordingContentItemIDs()
Retrieves ObjectIDs of the individual RecordingContentItems that
make up this series recording.
|
String |
RecordingContentItem.getRecordingEntryID()
Returns the ObjectID of the NetRecordingEntry which contains this recording content item.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
NetResourceUsage.USAGE_TYPE_PRESENTATION
Usage type is presentation.
|
| Modifier and Type | Method and Description |
|---|---|
String |
NetResourceUsage.getUsageType()
Gets the usage type associated with this usage.
|
| Modifier and Type | Method and Description |
|---|---|
String |
NetSecurityManager.getNetworkPassword(NetworkInterface networkInterface)
Gets a network interface password.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
NetAuthorizationHandler2.notifyAction(String actionName,
InetAddress inetAddress,
int activityID,
String[] request,
NetworkInterface networkInterface)
Notifies the authorization handler that an action it
registered interest in has been received.
|
boolean |
NetAuthorizationHandler2.notifyAction(String actionName,
InetAddress inetAddress,
int activityID,
String[] request,
NetworkInterface networkInterface)
Notifies the authorization handler that an action it
registered interest in has been received.
|
boolean |
NetAuthorizationHandler.notifyAction(String actionName,
InetAddress inetAddress,
String macAddress,
int activityID)
Notifies the authorization handler that an action it
registered interest in has been received.
|
boolean |
NetAuthorizationHandler.notifyActivityStart(InetAddress inetAddress,
String macAddress,
URL url,
int activityID)
Notifies the registered authorization handler that an
activity to access cable services has been started.
|
boolean |
NetAuthorizationHandler2.notifyActivityStart(InetAddress inetAddress,
URL url,
int activityID,
ContentEntry entry,
String[] request,
NetworkInterface networkInterface)
Notifies the registered authorization handler that an
activity to access cable services has been started.
|
boolean |
NetSecurityManager.queryTransaction(String actionName,
InetAddress inetAddress,
String macAddress,
URL url,
int activityID)
Queries the implementation to determine if it has sent a transaction
matching the parameters.
|
void |
NetSecurityManager.setAuthorizationHandler(NetAuthorizationHandler2 nah,
String[] actionNames,
boolean notifyTransportRequests)
Registers an authorization handler.
|
void |
NetSecurityManager.setAuthorizationHandler(NetAuthorizationHandler nah,
String[] actionNames,
boolean notifyTransportRequests)
Registers an authorization handler.
|
void |
NetSecurityManager.setNetworkPassword(NetworkInterface networkInterface,
String password)
Sets a network interface password.
|
| Modifier and Type | Method and Description |
|---|---|
URL |
HttpRequestResolutionHandler.resolveHttpRequest(InetAddress inetAddress,
URL url,
String[] request,
NetworkInterface networkInterface)
Resolves the incoming HTTP request to a URL
that identifies a content binary
|
| Modifier and Type | Method and Description |
|---|---|
String |
UPnPClientStateVariable.getEventedValue()
Gets the value of the UPnP state variable corresponding to this
UPnPClientStateVariable object. |
| Modifier and Type | Method and Description |
|---|---|
UPnPClientDevice[] |
UPnPControlPoint.getDevicesByServiceType(String type)
Gets a client representation of all UPnP devices containing a
service of the specified type, visible to this host.
|
UPnPClientDevice[] |
UPnPControlPoint.getDevicesByType(String type)
Gets a client representation of all UPnP devices of the
specified type visible to this host.
|
UPnPClientDevice[] |
UPnPControlPoint.getDevicesByUDN(String UDN)
Gets a client representation of the UPnP devices of the
specified UDN visible to this host.
|
UPnPClientStateVariable |
UPnPClientService.getStateVariable(String stateVariableName)
Gets a UPnP state variable from the UPnP description of this
service.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
UPnPStateVariable.getAllowedValues()
Gets the allowed values for this UPnP state variable.
|
String[] |
UPnPActionResponse.getArgumentNames()
Gets the output argument names specified by this action response,
in the order they were specified in the constructor.
|
String[] |
UPnPActionInvocation.getArgumentNames()
Gets the argument names specified by this action invocation,
in the order they were specified in the constructor.
|
String[] |
UPnPAction.getArgumentNames()
Gets the action argument names from the action description in the UPnP
service description.
|
String |
UPnPActionResponse.getArgumentValue(String name)
Gets the value of the specified argument.
|
String |
UPnPActionInvocation.getArgumentValue(String name)
Gets the value of the specified argument.
|
String[] |
UPnPActionResponse.getArgumentValues()
Gets the output argument values specified by this action response,
in the order they were specified in the constructor.
|
String |
UPnPAdvertisedService.getControlURL()
Gets the UPnP controlURL of this service.
|
String |
UPnPStateVariable.getDataType()
Gets the data type of this UPnP state variable.
|
String |
UPnPStateVariable.getDefaultValue()
Reports the default value of this UPnP state variable.
|
String |
UPnPDevice.getDeviceType()
Gets the UPnP deviceType of this device.
|
String |
UPnPErrorResponse.getErrorDescription()
Get the error description.
|
String |
UPnPAdvertisedService.getEventSubURL()
Gets the UPnP eventSubURL of this service.
|
String |
UPnPDevice.getFriendlyName()
Gets the UPnP "friendly name" of this device.
|
String[] |
UPnPMessage.getHeaders()
Reports the headers from the message, including all HTTP headers but
excluding trailing CR/LF characters.
|
String |
UPnPDevice.getManufacturer()
Gets the UPnP manufacturer of this device.
|
String |
UPnPDevice.getManufacturerURL()
Gets the UPnP manufacturer URL of this device.
|
String |
UPnPStateVariable.getMaximumValue()
Gets the allowedValueRange maximum value of this UPnP state
variable.
|
String |
UPnPDeviceIcon.getMimeType()
Gets the mimetype for this UPnPDeviceIcon.
|
String |
UPnPStateVariable.getMinimumValue()
Gets the allowedValueRange minimum value for this UPnP state
variable.
|
String |
UPnPDevice.getModelDescription()
Gets the UPnP model description of this device.
|
String |
UPnPDevice.getModelName()
Gets the UPnP model name of this device.
|
String |
UPnPDevice.getModelNumber()
Gets the UPnP model number of this device.
|
String |
UPnPDevice.getModelURL()
Gets the UPnP model URL of this device.
|
String |
UPnPStateVariable.getName()
Gets the name of this UPnP state variable.
|
String |
UPnPActionInvocation.getName()
Gets the name of the action as specifed by the action name element
in the UPnP service description.
|
String |
UPnPAction.getName()
Gets the name of the action from the action name element in the
UPnP service description.
|
String |
UPnPAdvertisedDevice.getPresentationURL()
Gets the UPnP presentation page URL of this device.
|
String |
UPnPAdvertisedService.getSCPDURL()
Gets the UPnP SCPDURL of this service.
|
String |
UPnPDevice.getSerialNumber()
Gets the UPnP serial number of this device.
|
String |
UPnPService.getServiceId()
Gets the UPnP serviceId of this service.
|
String |
UPnPService.getServiceType()
Gets the UPnP serviceType of this service.
|
String |
UPnPService.getSpecVersion()
Gets the UPnP specVersion major and minor values of this
service.
|
String |
UPnPDevice.getSpecVersion()
Gets the UPnP specVersion major and minor values of this
UPnP device, or of the root UPnP device containing this device.
|
String |
UPnPMessage.getStartLine()
Reports the HTTP start line, excluding trailing CR/LF characters.
|
String |
UPnPStateVariable.getStepValue()
Gets the allowedValueRange step value for this UPnP state variable.
|
String |
UPnPDevice.getUDN()
Gets the UPnP Unique Device Name of this device.
|
String |
UPnPDevice.getUPC()
Gets the UPnP Universal Product Code of this device.
|
String |
UPnPAdvertisedDeviceIcon.getURL()
Gets the URL for retrieval of this icon.
|
String |
UPnPAdvertisedDevice.getURLBase()
Reports the base URL for all relative URLs of this device.
|
| Modifier and Type | Method and Description |
|---|---|
UPnPAction |
UPnPService.getAction(String actionName)
Gets the named action from this service.
|
UPnPAdvertisedStateVariable |
UPnPAdvertisedService.getAdvertisedStateVariable(String stateVariableName)
Gets a UPnP state variable from the UPnP description of this
service.
|
String |
UPnPActionResponse.getArgumentValue(String name)
Gets the value of the specified argument.
|
String |
UPnPActionInvocation.getArgumentValue(String name)
Gets the value of the specified argument.
|
UPnPStateVariable |
UPnPAction.getRelatedStateVariable(String name)
Gets the UPnP state variable associated with the specified
argument name.
|
boolean |
UPnPAction.isInputArgument(String name)
Gets the direction of an argument.
|
boolean |
UPnPAction.isRetval(String name)
Determines whether the specified argument is flagged as a
return value in the service description.
|
| Constructor and Description |
|---|
UPnPActionInvocation(String[] argVals,
UPnPAction action)
Constructs a
UPnPActionInvocation that conforms to
the IN argument requirements of its associated UPnPAction. |
UPnPActionResponse(String[] argVals,
UPnPActionInvocation actionInvocation)
Constructs a
UPnPActionResponse that conforms to
the OUT argument requirements of its associated UPnPAction. |
UPnPErrorResponse(int errorCode,
String errorDescription,
UPnPActionInvocation action)
Construct the instance.
|
UPnPMessage(String startLine,
String[] headers,
Document xml)
Public constructor for the message.
|
UPnPMessage(String startLine,
String[] headers,
Document xml)
Public constructor for the message.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
UPnPManagedStateVariable.getAllowedValues()
Gets the allowed values for this UPnP state variable.
|
String |
UPnPManagedStateVariable.getDataType()
Gets the data type of this UPnP state variable.
|
String |
UPnPManagedStateVariable.getDefaultValue()
Reports the default value of this UPnP state variable.
|
String |
UPnPManagedDevice.getDeviceType()
Gets the UPnP deviceType of this device.
|
String |
UPnPManagedDevice.getFriendlyName()
Gets the UPnP "friendly name" of this device.
|
String |
UPnPManagedDevice.getManufacturer()
Gets the UPnP manufacturer of this device.
|
String |
UPnPManagedDevice.getManufacturerURL()
Gets the UPnP manufacturer URL of this device.
|
String |
UPnPManagedStateVariable.getMaximumValue()
Gets the allowedValueRange maximum value of this UPnP state
variable.
|
String |
UPnPManagedDeviceIcon.getMimeType()
Gets the mimetype for this UPnPDeviceIcon.
|
String |
UPnPManagedStateVariable.getMinimumValue()
Gets the allowedValueRange minimum value for this UPnP state
variable.
|
String |
UPnPManagedDevice.getModelDescription()
Gets the UPnP model description of this device.
|
String |
UPnPManagedDevice.getModelName()
Gets the UPnP model name of this device.
|
String |
UPnPManagedDevice.getModelNumber()
Gets the UPnP model number of this device.
|
String |
UPnPManagedDevice.getModelURL()
Gets the UPnP model URL of this device.
|
String |
UPnPManagedStateVariable.getName()
Gets the name of this UPnP state variable.
|
String |
UPnPManagedDevice.getSerialNumber()
Gets the UPnP serial number of this device.
|
String |
UPnPManagedService.getServiceId()
Gets the UPnP serviceId of this service.
|
String |
UPnPManagedService.getServiceType()
Gets the UPnP serviceType of this service.
|
String |
UPnPManagedService.getSpecVersion()
Gets the UPnP specVersion major and minor values of this
service.
|
String |
UPnPManagedDevice.getSpecVersion()
Gets the UPnP specVersion major and minor values of this
UPnP device, or of the root UPnP device containing this device.
|
String |
UPnPManagedStateVariable.getStepValue()
Gets the allowedValueRange step value for this UPnP state variable.
|
String |
UPnPManagedDevice.getUDN()
Gets the UPnP Unique Device Name of this device.
|
String |
UPnPManagedDevice.getUPC()
Gets the UPnP Universal Product Code of this device.
|
String |
UPnPManagedStateVariable.getValue()
Reports the current value of this
UPnPManagedStateVariable. |
String |
UPnPStateVariableHandler.getValue(UPnPManagedStateVariable variable)
Notifies the listener that a control point has requested the
value of a state variable through the
QueryStateVariable action. |
| Modifier and Type | Method and Description |
|---|---|
UPnPManagedService |
UPnPManagedDevice.createService(String serviceType,
InputStream description,
UPnPActionHandler handler)
Creates a UPnP service associated with this device.
|
UPnPAction |
UPnPManagedService.getAction(String actionName)
Gets the named action from this service.
|
UPnPManagedDevice[] |
UPnPDeviceManager.getDevicesByServiceType(String type)
Gets a server representation of any UPnPManagedDevices
containing a service of the specified type, advertised by
this host.
|
UPnPManagedDevice[] |
UPnPDeviceManager.getDevicesByType(String type)
Gets a server representation of all UPnP devices of the
specified type advertised by this host.
|
UPnPManagedDevice[] |
UPnPDeviceManager.getDevicesByUDN(String UDN)
Gets a server representation of any UPnPManagedDevices of the
specified UDN advertised by this host.
|
boolean |
UPnPManagedDevice.setDeviceType(String type)
Sets the UPnP deviceType of this device.
|
boolean |
UPnPManagedDevice.setFriendlyName(String friendlyName)
Sets the UPnP friendlyName of this device.
|
boolean |
UPnPManagedDevice.setManufacturer(String manufacturer)
Sets the UPnP manufacturer of this device.
|
boolean |
UPnPManagedDevice.setManufacturerURL(String manufacturerURL)
Sets the UPnP manufacturer URL of this device.
|
boolean |
UPnPManagedDevice.setModelDescription(String modelDescription)
Sets the UPnP model description of this device.
|
boolean |
UPnPManagedDevice.setModelName(String modelName)
Sets the UPnP model name of this device.
|
boolean |
UPnPManagedDevice.setModelNumber(String modelNumber)
Sets the UPnP model number of this device.
|
boolean |
UPnPManagedDevice.setModelURL(String modelURL)
Sets the UPnP model URL of this device.
|
boolean |
UPnPManagedDevice.setSerialNumber(String serialNumber)
Sets the UPnP serial number of this device.
|
boolean |
UPnPManagedDevice.setUDN(String UDN)
Sets the UPnP Unique Device Number of this device.
|
boolean |
UPnPManagedDevice.setUPC(String UPC)
Sets the UPnP Universal Product Code of this device.
|
void |
UPnPManagedStateVariable.setValue(String value)
Sets the value of this state variable.
|
| Constructor and Description |
|---|
UPnPManagedDeviceIcon(String mimetype,
int width,
int height,
int colordepth,
byte[] data)
Construct the instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
MIBAppender.getOid() |
| Modifier and Type | Method and Description |
|---|---|
void |
MIBAppender.setOid(String oid)
Sets the OID that this MIBAppender should be attached to.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
OcapLocator.getComponentNames()
This method returns a component_name value of the OCAP URL
represented by this OcapLocator instance.
|
String[] |
OcapLocator.getLanguageCodes()
This method returns an ISO_639_language_code value of the OCAP URL
represented by this OcapLocator instance.
|
String |
OcapLocator.getPathSegments()
This method returns a path_segments string of the OCAP URL
represented by this OcapLocator instance.
|
String |
OcapLocator.getServiceName()
This method returns a service_name value of the OCAP URL represented
by this OcapLocator instance.
|
| Constructor and Description |
|---|
OcapLocator(int sourceID,
int[] PID,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://source_id[.+PID{&PID}][;event_id]{/path_segments}".
|
OcapLocator(int sourceID,
int eventID,
int[] componentTags,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://source_id[.@component_tag{&component_tag}][;event_id]{/path_segments}".
|
OcapLocator(int frequency,
int programNumber,
int modulationFormat,
int[] PID,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://(oobfdc|f=frequency).program_number[.m=modulation_format]
[.+PID{&PID}][;event_id]{/path_segments}".
|
OcapLocator(int frequency,
int programNumber,
int modulationFormat,
int eventID,
int[] componentTags,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://(oobfdc|f=frequency).program_number[.m=modulation_format]
[.@component_tag{&component_tag}][;event_id]{/path_segments}".
|
OcapLocator(int frequency,
int programNumber,
int modulationFormat,
short[] streamType,
int[] index,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://(oobfdc|f=frequency).program_number.[m=modulation_format]
[.stream_type[,index]{&stream_type[,index]}]
[;event_id]{/path_segments}".
|
OcapLocator(int frequency,
int programNumber,
int modulationFormat,
short[] streamType,
String[] ISO639LanguageCode,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://(oobfdc|f=frequency).program_number[.m=modulation_format]
[.stream_type[,ISO_639_language_code]
{&stream_type[,ISO_639_language_code]}][;event_id]{/path_segments}".
|
OcapLocator(int frequency,
int programNumber,
int modulationFormat,
short[] streamType,
String[] ISO639LanguageCode,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://(oobfdc|f=frequency).program_number[.m=modulation_format]
[.stream_type[,ISO_639_language_code]
{&stream_type[,ISO_639_language_code]}][;event_id]{/path_segments}".
|
OcapLocator(int frequency,
int programNumber,
int modulationFormat,
String[] componentName,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://(oobfdc|f=frequency).program_number[.m=modulation_format]
[.$component_name{&component_name}]
[;event_id]{/path_segments}".
|
OcapLocator(int frequency,
int programNumber,
int modulationFormat,
String[] componentName,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://(oobfdc|f=frequency).program_number[.m=modulation_format]
[.$component_name{&component_name}]
[;event_id]{/path_segments}".
|
OcapLocator(int sourceID,
short[] streamType,
int[] index,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://source_id[.stream_type[,index]{&stream_type[,index]}]
[;event_id]{/path_segments}".
|
OcapLocator(int sourceID,
short[] streamType,
String[] ISO639LanguageCode,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://source_id[.stream_type[,ISO_639_language_code]{&
stream_type[,ISO_639_language_code]}][;event_id]{/path_segments}".
|
OcapLocator(int sourceID,
short[] streamType,
String[] ISO639LanguageCode,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://source_id[.stream_type[,ISO_639_language_code]{&
stream_type[,ISO_639_language_code]}][;event_id]{/path_segments}".
|
OcapLocator(int sourceID,
String[] componentName,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://source_id[.$component_name{&component_name}]
[;event_id]{/path_segments}".
|
OcapLocator(int sourceID,
String[] componentName,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://source_id[.$component_name{&component_name}]
[;event_id]{/path_segments}".
|
OcapLocator(String url)
A constructor of this class for any form of OCAP URL.
|
OcapLocator(String serviceName,
int[] PID,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://n=service_name[.+PID{&PID}][;event_id]{/path_segments}".
|
OcapLocator(String serviceName,
int eventID,
int[] componentTags,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://n=service_name[.@component_tag{&component_tag}][;event_id]{/path_segments}".
|
OcapLocator(String serviceName,
short[] streamType,
int[] index,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://n=service_name[.stream_type[,index]{&stream_type[,index]}]
[;event_id]{/path_segments}".
|
OcapLocator(String serviceName,
short[] streamType,
String[] ISO639LanguageCode,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://n=service_name[.stream_type[,ISO_639_language_code]{&
stream_type[,ISO_639_language_code]}][;event_id]{/path_segments}".
|
OcapLocator(String serviceName,
short[] streamType,
String[] ISO639LanguageCode,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://n=service_name[.stream_type[,ISO_639_language_code]{&
stream_type[,ISO_639_language_code]}][;event_id]{/path_segments}".
|
OcapLocator(String serviceName,
String[] componentName,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://n=service_name[.$component_name{&component_name}]
[;event_id]{/path_segments}".
|
OcapLocator(String serviceName,
String[] componentName,
int eventID,
String pathSegments)
A constructor of this class corresponding to the OCAP URL form
"ocap://n=service_name[.$component_name{&component_name}]
[;event_id]{/path_segments}".
|
URLLocator(String url)
Construct an
URLLocator encapsulating the given URL. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
ResourceUsage.getResourceNames()
Gets the array of resource names associated with the resource reservation.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceProxy |
ResourceUsage.getResource(String resourceName)
Gets the instance of
ResourceProxy corresponding to a resource name returned
by the getResourceNames method of this ResourceUsage. |
void |
ResourceContentionManager.setResourceFilter(AppsDatabaseFilter filter,
String resourceProxy)
This method sets an instance of a concrete class that extends
AppsDatabaseFilter.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ServiceTypePermission.BROADCAST
Indicates an inband broadcast service provided by a content provider.
|
static String |
ServiceTypePermission.MFR
Indicates an abstract service provided by the Host device manufacturer.
|
static String |
ServiceTypePermission.MSO
Indicates an abstract service provided by the HFC network provider (i.e., MSO).
|
| Modifier and Type | Method and Description |
|---|---|
String |
ServiceTypePermission.getActions()
Returns the canonical representation of the actions string.
|
| Constructor and Description |
|---|
AbstractServiceType(String name)
Provides an instance of AbstractServiceType.
|
ServiceTypePermission(String type,
String actions)
Creates a new ServiceTypePermission object with the specified
service type name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
RecordingPermission.getActions()
Returns the actions as passed into the constructor.
|
String[] |
RecordingRequest.getKeys()
Get all keys for Application specific data associated with
this recording request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RecordingRequest.addAppData(String key,
Serializable data)
Add application specific private data.
|
Serializable |
RecordingRequest.getAppData(String key)
Get application data corresponding to specified key.
|
void |
RecordingRequest.removeAppData(String key)
Remove Application specific private data corresponding to the
specified key.
|
| Constructor and Description |
|---|
RecordedServiceType(String name)
Provides an instance of RecordedServiceType.
|
RecordingPermission(String name,
String action)
Creates a new RecordingPermission with the specified name and action.
|
| Modifier and Type | Method and Description |
|---|---|
String |
PMTElementaryStreamInfo.getLocatorString()
Get the locator for the elementary stream.
|
| Modifier and Type | Method and Description |
|---|---|
String |
StorageProxy.getDisplayName()
Gets a storage device name that can be displayed to a user for selection.
|
String |
StorageProxy.getName()
Gets the storage device name assigned by the implementation.
|
String |
LogicalStorageVolume.getPath()
Gets the absolute path of the volume.
|
| Modifier and Type | Method and Description |
|---|---|
LogicalStorageVolume |
StorageProxy.allocateGeneralPurposeVolume(String name,
ExtendedFileAccessPermissions fap)
Allocates a general purpose
LogicalStorageVolume. |
| Modifier and Type | Method and Description |
|---|---|
abstract String[] |
RegisteredApiManager.getNames()
Gets a list of registered APIs.
|
abstract String[] |
RegisteredApiManager.getUsedNames()
Gets a list of registered APIs that are in use by the caller.
|
abstract String |
RegisteredApiManager.getVersion(String name)
Gets the version of a registered API, or null if it is not registered.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
RegisteredApiManager.getVersion(String name)
Gets the version of a registered API, or null if it is not registered.
|
abstract void |
RegisteredApiManager.register(String name,
String version,
File scdf,
short storagePriority)
Registers an API with the implementation.
|
abstract void |
RegisteredApiManager.unregister(String name)
Unregisters an API from the implementation.
|
| Constructor and Description |
|---|
MonitorAppPermission(String name)
Constructor for the MonitorAppPermission
|
RegisteredApiUserPermission(String name)
Creates a new RegisteredApiUserPermission with the specified name.
|
RegisteredApiUserPermission(String name,
String actions)
Creates a new RegisteredApiUserPermission with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
SystemEvent.getMessage()
Gets the readable message.
|
String |
ErrorEvent.getMessage()
Gets the readable message String that was passed to a constructor explicitly or within
a Throwable object.
|
String |
ErrorEvent.getStackTrace()
Gets the stack trace from the Throwable object if a Throwable object was passed to the
appropriate constructor.
|
String[] |
ErrorEvent.getThrowableClasses()
Gets the class hierarchy from the Throwable object that was passed to the corresponding
constructor.
|
| Constructor and Description |
|---|
ErrorEvent(int typeCode,
String message)
Class constructor specifying the event type code and readable message.
|
ErrorEvent(int typeCode,
String message,
String stacktrace,
String[] throwableClasses,
long date,
AppID appId)
This constructor is provided for internal use by OCAP implementations;
applications SHOULD NOT call it.
|
ErrorEvent(int typeCode,
String message,
String stacktrace,
String[] throwableClasses,
long date,
AppID appId)
This constructor is provided for internal use by OCAP implementations;
applications SHOULD NOT call it.
|
RebootEvent(int typeCode,
String message)
System event constructor assigns an eventId, Date, and ApplicationIdentifier.
|
RebootEvent(int typeCode,
String message,
long date,
AppID appId)
This constructor is provided for internal use by OCAP implementations;
applications SHOULD NOT call it.
|
ResourceDepletionEvent(int typeCode,
String message)
System event constructor assigns an eventId, Date, and ApplicationIdentifier.
|
ResourceDepletionEvent(int typeCode,
String message,
long date,
AppID appId)
This constructor is provided for internal use by OCAP implementations;
applications SHOULD NOT call it.
|
SystemEvent(int typeCode,
String message)
System event constructor with message.
|
SystemEvent(int typeCode,
String message,
long date,
AppID appId)
This constructor is provided for internal use by OCAP implementations;
applications SHOULD NOT call it.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Element.getAttribute(String name)
Retrieves an attribute value by name.
|
String |
Element.getAttributeNS(String namespaceURI,
String localName)
Retrieves an attribute value by local name and namespace URI.
|
String |
ProcessingInstruction.getData()
The content of this processing instruction.
|
String |
CharacterData.getData()
The character data of the node that implements this interface.
|
String |
DocumentType.getInternalSubset()
The internal subset as a string, or
null if there is none. |
String |
Node.getLocalName()
Returns the local part of the qualified name of this node.
|
String |
DocumentType.getName()
The name of DTD; i.e., the name immediately following the
DOCTYPE keyword. |
String |
Attr.getName()
Returns the name of this attribute.
|
String |
Node.getNamespaceURI()
The namespace URI of this node, or
null if it is
unspecified. |
String |
Node.getNodeName()
The name of this node, depending on its type; see the table above.
|
String |
Node.getNodeValue()
The value of this node, depending on its type; see the table above.
|
String |
Entity.getNotationName()
For unparsed entities, the name of the notation for the entity.
|
String |
Node.getPrefix()
The namespace prefix of this node, or
null if it is
unspecified. |
String |
Notation.getPublicId()
The public identifier of this notation.
|
String |
Entity.getPublicId()
The public identifier associated with the entity, if specified.
|
String |
DocumentType.getPublicId()
The public identifier of the external subset.
|
String |
Notation.getSystemId()
The system identifier of this notation.
|
String |
Entity.getSystemId()
The system identifier associated with the entity, if specified.
|
String |
DocumentType.getSystemId()
The system identifier of the external subset.
|
String |
Element.getTagName()
The name of the element.
|
String |
ProcessingInstruction.getTarget()
The target of this processing instruction.
|
String |
Node.getTextContent()
This attribute returns the text content of this node and its
descendants.
|
String |
Attr.getValue()
Returns the value of this attribute.
|
String |
CharacterData.substringData(int offset,
int count)
Extracts a range of data from the node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CharacterData.appendData(String arg)
Append the string to the end of the character data of the node.
|
Attr |
Document.createAttribute(String name)
Creates an
Attr of the given name. |
Attr |
Document.createAttributeNS(String namespaceURI,
String qualifiedName)
Creates an attribute of the given qualified name and namespace URI.
|
CDATASection |
Document.createCDATASection(String data)
Creates a
CDATASection node whose value is the specified
string. |
Comment |
Document.createComment(String data)
Creates a
Comment node given the specified string. |
Document |
DOMImplementation.createDocument(String namespaceURI,
String qualifiedName,
DocumentType doctype)
Creates an XML
Document object of the specified type with
its document element. |
DocumentType |
DOMImplementation.createDocumentType(String qualifiedName,
String publicId,
String systemId)
Creates an empty
DocumentType node. |
Element |
Document.createElement(String tagName)
Creates an element of the type specified.
|
Element |
Document.createElementNS(String namespaceURI,
String qualifiedName)
Creates an element of the given qualified name and namespace URI.
|
EntityReference |
Document.createEntityReference(String name)
Creates an
EntityReference object. |
ProcessingInstruction |
Document.createProcessingInstruction(String target,
String data)
Creates a
ProcessingInstruction node given the specified
name and data strings. |
Text |
Document.createTextNode(String data)
Creates a
Text node given the specified string. |
String |
Element.getAttribute(String name)
Retrieves an attribute value by name.
|
Attr |
Element.getAttributeNode(String name)
Retrieves an attribute node by name.
|
Attr |
Element.getAttributeNodeNS(String namespaceURI,
String localName)
Retrieves an
Attr node by local name and namespace URI. |
String |
Element.getAttributeNS(String namespaceURI,
String localName)
Retrieves an attribute value by local name and namespace URI.
|
Element |
Document.getElementById(String elementId)
Returns the
Elementthat has an ID attribute with the
given value. |
NodeList |
Element.getElementsByTagName(String name)
Returns a
NodeList of all descendant Elements
with a given tag name, in document order. |
NodeList |
Document.getElementsByTagName(String tagname)
Returns a
NodeList of all the Elements with a
given tag name in the order in which they are encountered in a
preorder traversal of the Document tree. |
NodeList |
Element.getElementsByTagNameNS(String namespaceURI,
String localName)
Returns a
NodeList of all the descendant
Elements with a given local name and namespace URI in
document order. |
NodeList |
Document.getElementsByTagNameNS(String namespaceURI,
String localName)
Returns a
NodeList of all the Elements with a
given local name and namespace URI in document order. |
Object |
Node.getFeature(String feature,
String version)
This method returns a specialized object which implements the
specialized APIs of the specified feature and version, as specified
in
DOM Features.
|
Object |
DOMImplementation.getFeature(String feature,
String version)
This method returns a specialized object which implements the
specialized APIs of the specified feature and version, as specified
in DOM Features.
|
Node |
NamedNodeMap.getNamedItem(String name)
Retrieves a node specified by name.
|
Node |
NamedNodeMap.getNamedItemNS(String namespaceURI,
String localName)
Retrieves a node specified by local name and namespace URI.
|
Object |
Node.getUserData(String key)
Retrieves the object associated to a key on a this node.
|
void |
UserDataHandler.handle(short operation,
String key,
Object data,
Node src,
Node dst)
This method is called whenever the node for which this handler is
registered is imported or cloned.
|
boolean |
Element.hasAttribute(String name)
Returns
true when an attribute with a given name is
specified on this element or has a default value, false
otherwise. |
boolean |
Element.hasAttributeNS(String namespaceURI,
String localName)
Returns
true when an attribute with a given local name and
namespace URI is specified on this element or has a default value,
false otherwise. |
boolean |
DOMImplementation.hasFeature(String feature,
String version)
Test if the DOM implementation implements a specific feature.
|
void |
CharacterData.insertData(int offset,
String arg)
Insert a string at the specified 16-bit unit offset.
|
boolean |
Node.isSupported(String feature,
String version)
Tests whether the DOM implementation implements a specific feature and
that feature is supported by this node.
|
void |
Element.removeAttribute(String name)
Removes an attribute by name.
|
void |
Element.removeAttributeNS(String namespaceURI,
String localName)
Removes an attribute by local name and namespace URI.If a default
value for the removed attribute is defined in the DTD, a new
attribute immediately appears with the default value as well as the
corresponding namespace URI, local name, and prefix when applicable.
|
Node |
NamedNodeMap.removeNamedItem(String name)
Removes a node specified by name.
|
Node |
NamedNodeMap.removeNamedItemNS(String namespaceURI,
String localName)
Removes a node specified by local name and namespace URI.
|
void |
CharacterData.replaceData(int offset,
int count,
String arg)
Replace the characters starting at the specified 16-bit unit offset
with the specified string.
|
void |
Element.setAttribute(String name,
String value)
Adds a new attribute.
|
void |
Element.setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
Adds a new attribute.
|
void |
ProcessingInstruction.setData(String data)
The content of this processing instruction.
|
void |
CharacterData.setData(String data)
The character data of the node that implements this interface.
|
void |
Element.setIdAttribute(String name,
boolean isId)
If the parameter
isId is true, this method
declares the specified attribute to be a user-determined ID attribute
. |
void |
Element.setIdAttributeNS(String namespaceURI,
String localName,
boolean isId)
If the parameter
isId is true, this method
declares the specified attribute to be a user-determined ID attribute
. |
void |
Node.setNodeValue(String nodeValue)
The value of this node, depending on its type; see the table above.
|
void |
Node.setPrefix(String prefix)
The namespace prefix of this node, or
null if it is
unspecified. |
void |
Node.setTextContent(String textContent)
This attribute returns the text content of this node and its
descendants.
|
Object |
Node.setUserData(String key,
Object data,
UserDataHandler handler)
Associate an object to a key on this node.
|
void |
Attr.setValue(String value)
Sets the value of this attribute.
|
| Constructor and Description |
|---|
DOMException(short code,
String message)
Create a DOMException with the specified error code and message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
MutationEvent.getAttrName()
attrName indicates the name of the changed
Attr node in a DOMAttrModified event. |
String |
TextEvent.getData()
data holds the value of the characters generated by the
character device. |
String |
KeyboardEvent.getKeyIdentifier()
keyIdentifier holds the identifier of the key. |
String |
Event.getNamespaceURI()
The namespace URI associated with this event at creation time, or
null if it is unspecified. |
String |
MutationEvent.getNewValue()
newValue indicates the new value of the Attr
node in DOMAttrModified events, and of the CharacterData
node in DOMCharDataModified events. |
String |
MutationEvent.getPrevValue()
prevValue indicates the previous value of the
Attr node in DOMAttrModified events, and of the
CharacterData node in DOMCharDataModified events. |
String |
Event.getType()
The name of the event (case-sensitive).
|
| Modifier and Type | Method and Description |
|---|---|
void |
EventTarget.addEventListener(String type,
EventListener listener,
boolean useCapture)
This method allows the registration of event listeners on the event
target.
|
void |
EventTarget.addEventListenerNS(String namespaceURI,
String type,
EventListener listener,
boolean useCapture)
This method allows the registration of an event listener in a
specified group or the default group and, depending on the
useCapture parameter, on the capture phase of the DOM
event flow or its target and bubbling phases. |
boolean |
DocumentEvent.canDispatch(String namespaceURI,
String type)
Test if the implementation can generate events of a specified type.
|
Event |
DocumentEvent.createEvent(String eventType)
Create an Event.
|
void |
CustomEvent.initCustomEventNS(String namespaceURIArg,
String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
Object detailArg)
The
initCustomEventNS method is used to initialize the
value of a CustomEvent object and has the same behavior
as Event.initEventNS(). |
void |
Event.initEvent(String eventTypeArg,
boolean canBubbleArg,
boolean cancelableArg)
The
initEvent method is used to initialize the value of an
Event created through the DocumentEvent
interface. |
void |
Event.initEventNS(String namespaceURIArg,
String eventTypeArg,
boolean canBubbleArg,
boolean cancelableArg)
The
initEventNS method is used to initialize the value of
an Event object and has the same behavior as
Event.initEvent(). |
void |
KeyboardEvent.initKeyboardEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
String keyIdentifierArg,
int keyLocationArg,
String modifiersList)
The
initKeyboardEvent method is used to initialize the
value of a KeyboardEvent object and has the same
behavior as UIEvent.initUIEvent(). |
void |
KeyboardEvent.initKeyboardEventNS(String namespaceURIArg,
String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
String keyIdentifierArg,
int keyLocationArg,
String modifiersList)
The
initKeyboardEventNS method is used to initialize the
value of a KeyboardEvent object and has the same
behavior as UIEvent.initUIEventNS(). |
void |
MouseEvent.initMouseEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg,
int screenXArg,
int screenYArg,
int clientXArg,
int clientYArg,
boolean ctrlKeyArg,
boolean altKeyArg,
boolean shiftKeyArg,
boolean metaKeyArg,
short buttonArg,
EventTarget relatedTargetArg)
The
initMouseEvent method is used to initialize the value
of a MouseEvent object and has the same behavior as
UIEvent.initUIEvent(). |
void |
MouseEvent.initMouseEventNS(String namespaceURI,
String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg,
int screenXArg,
int screenYArg,
int clientXArg,
int clientYArg,
short buttonArg,
EventTarget relatedTargetArg,
String modifiersList)
The
initMouseEventNS method is used to initialize the
value of a MouseEvent object and has the same behavior
as UIEvent.initUIEventNS(). |
void |
MouseWheelEvent.initMouseWheelEventNS(String namespaceURIArg,
String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg,
int screenXArg,
int screenYArg,
int clientXArg,
int clientYArg,
short buttonArg,
EventTarget relatedTargetArg,
String modifiersListArg,
int wheelDeltaArg)
The
initMouseWheelEventNS method is used to initialize the
value of a MouseWheelEvent object and has the same
behavior as Event.initEventNS(). |
void |
MutationEvent.initMutationEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
Node relatedNodeArg,
String prevValueArg,
String newValueArg,
String attrNameArg,
short attrChangeArg)
The
initMutationEvent method is used to initialize the
value of a MutationEvent object and has the same
behavior as Event.initEvent(). |
void |
MutationEvent.initMutationEventNS(String namespaceURIArg,
String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
Node relatedNodeArg,
String prevValueArg,
String newValueArg,
String attrNameArg,
short attrChangeArg)
The
initMutationEventNS method is used to initialize the
value of a MutationEvent object and has the same
behavior as Event.initEventNS(). |
void |
ProgressEvent.initProgressEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
boolean lengthComputableArg,
int loadedArg,
int totalArg)
The initProgressEvent method is used to initialize the value of a
progress event created through the DocumentEvent interface.
|
void |
ProgressEvent.initProgressEventNS(String namespaceURIArg,
String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
boolean lengthComputableArg,
int loadedArg,
int totalArg)
The initProgressEventNS method is used to initialize the value of a
namespaced progress event created through the DocumentEvent interface.
|
void |
TextEvent.initTextEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
String dataArg)
The
initTextEvent method is used to initialize the value
of a TextEvent object and has the same behavior as
UIEvent.initUIEvent(). |
void |
TextEvent.initTextEventNS(String namespaceURIArg,
String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
String dataArg)
The
initTextEventNS method is used to initialize the
value of a TextEvent object and has the same behavior as
UIEvent.initUIEventNS(). |
void |
UIEvent.initUIEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg)
The
initUIEvent method is used to initialize the value of
a UIEvent object and has the same behavior as
Event.initEvent(). |
void |
UIEvent.initUIEventNS(String namespaceURI,
String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg)
The
initUIEventNS method is used to initialize the value
of a UIEvent object and has the same behavior as
Event.initEventNS(). |
void |
EventTarget.removeEventListener(String type,
EventListener listener,
boolean useCapture)
This method allows the removal of event listeners from the event
target.
|
void |
EventTarget.removeEventListenerNS(String namespaceURI,
String type,
EventListener listener,
boolean useCapture)
This method allows the removal of an event listener, independently of
the associated event group.
|
| Constructor and Description |
|---|
EventException(short code,
String message)
Create an EventException with the specified error code and message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
InputSource.getEncoding()
Get the character encoding for a byte stream or URI.
|
String |
Attributes.getLocalName(int index)
Look up an attribute's local name by index.
|
String |
SAXParseException.getPublicId()
Get the public identifier of the entity where the exception occurred.
|
String |
Locator.getPublicId()
Return the public identifier for the current document event.
|
String |
InputSource.getPublicId()
Get the public identifier for this input source.
|
String |
Attributes.getQName(int index)
Look up an attribute's XML qualified (prefixed) name by index.
|
String |
SAXParseException.getSystemId()
Get the system identifier of the entity where the exception occurred.
|
String |
Locator.getSystemId()
Return the system identifier for the current document event.
|
String |
InputSource.getSystemId()
Get the system identifier for this input source.
|
String |
Attributes.getType(int index)
Look up an attribute's type by index.
|
String |
Attributes.getType(String qName)
Look up an attribute's type by XML qualified (prefixed) name.
|
String |
Attributes.getType(String uri,
String localName)
Look up an attribute's type by Namespace name.
|
String |
Attributes.getURI(int index)
Look up an attribute's Namespace URI by index.
|
String |
Attributes.getValue(int index)
Look up an attribute's value by index.
|
String |
Attributes.getValue(String qName)
Look up an attribute's value by XML qualified (prefixed) name.
|
String |
Attributes.getValue(String uri,
String localName)
Look up an attribute's value by Namespace name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ContentHandler.endElement(String uri,
String localName,
String qName)
Receive notification of the end of an element.
|
void |
ContentHandler.endPrefixMapping(String prefix)
End the scope of a prefix-URI mapping.
|
boolean |
XMLReader.getFeature(String name)
Look up the value of a feature flag.
|
int |
Attributes.getIndex(String qName)
Look up the index of an attribute by XML qualified (prefixed) name.
|
int |
Attributes.getIndex(String uri,
String localName)
Look up the index of an attribute by Namespace name.
|
Object |
XMLReader.getProperty(String name)
Look up the value of a property.
|
String |
Attributes.getType(String qName)
Look up an attribute's type by XML qualified (prefixed) name.
|
String |
Attributes.getType(String uri,
String localName)
Look up an attribute's type by Namespace name.
|
String |
Attributes.getValue(String qName)
Look up an attribute's value by XML qualified (prefixed) name.
|
String |
Attributes.getValue(String uri,
String localName)
Look up an attribute's value by Namespace name.
|
void |
DTDHandler.notationDecl(String name,
String publicId,
String systemId)
Receive notification of a notation declaration event.
|
void |
XMLReader.parse(String systemId)
Parse an XML document from a system identifier (URI).
|
void |
ContentHandler.processingInstruction(String target,
String data)
Receive notification of a processing instruction.
|
InputSource |
EntityResolver.resolveEntity(String publicId,
String systemId)
Allow the application to resolve external entities.
|
void |
InputSource.setEncoding(String encoding)
Set the character encoding, if known.
|
void |
XMLReader.setFeature(String name,
boolean value)
Set the value of a feature flag.
|
void |
XMLReader.setProperty(String name,
Object value)
Set the value of a property.
|
void |
InputSource.setPublicId(String publicId)
Set the public identifier for this input source.
|
void |
InputSource.setSystemId(String systemId)
Set the system identifier for this input source.
|
void |
ContentHandler.skippedEntity(String name)
Receive notification of a skipped entity.
|
void |
ContentHandler.startElement(String uri,
String localName,
String qName,
Attributes atts)
Receive notification of the beginning of an element.
|
void |
ContentHandler.startPrefixMapping(String prefix,
String uri)
Begin the scope of a prefix-URI Namespace mapping.
|
void |
DTDHandler.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
Receive notification of an unparsed entity declaration event.
|
| Constructor and Description |
|---|
InputSource(String systemId)
Create a new input source with a system identifier.
|
SAXException(String message)
Create a new SAXException.
|
SAXNotRecognizedException(String message)
Construct a new exception with the given message.
|
SAXNotSupportedException(String message)
Construct a new exception with the given message.
|
SAXParseException(String message,
Locator locator)
Create a new SAXParseException from a message and a Locator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Attributes2.isDeclared(String qName)
Returns false unless the attribute was declared in the DTD.
|
boolean |
Attributes2.isDeclared(String uri,
String localName)
Returns false unless the attribute was declared in the DTD.
|
boolean |
Attributes2.isSpecified(String qName)
Returns true unless the attribute value was provided
by DTD defaulting.
|
boolean |
Attributes2.isSpecified(String uri,
String localName)
Returns true unless the attribute value was provided
by DTD defaulting.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultHandler.endElement(String uri,
String localName,
String qName)
Receive notification of the end of an element.
|
void |
DefaultHandler.endPrefixMapping(String prefix)
Receive notification of the end of a Namespace mapping.
|
void |
DefaultHandler.notationDecl(String name,
String publicId,
String systemId)
Receive notification of a notation declaration.
|
void |
DefaultHandler.processingInstruction(String target,
String data)
Receive notification of a processing instruction.
|
InputSource |
DefaultHandler.resolveEntity(String publicId,
String systemId)
Resolve an external entity.
|
void |
DefaultHandler.skippedEntity(String name)
Receive notification of a skipped entity.
|
void |
DefaultHandler.startElement(String uri,
String localName,
String qName,
Attributes attributes)
Receive notification of the start of an element.
|
void |
DefaultHandler.startPrefixMapping(String prefix,
String uri)
Receive notification of the start of a Namespace mapping.
|
void |
DefaultHandler.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
Receive notification of an unparsed entity declaration.
|
Copyright © 2013 CableLabs. All rights reserved.