站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.1.8, Java 2 SDK 英文文档

"D" Fields and Methods - JDK 5 Documentation v1.1.8, Java 2 SDK 英文文档

All Packages  Class Hierarchy Index of Fields and Methods
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

D

darker(). Method in class java.awt.Color
Creates a darker version of this color.
darkGray. Static variable in class java.awt.Color
The color dark gray.
DASH_PUNCTUATION. Static variable in class java.lang.Character
dataDefinitionCausesTransactionCommit(). Method in interface java.sql.DatabaseMetaData
Does a data definition statement within a transaction force the transaction to commit?
dataDefinitionIgnoredInTransactions(). Method in interface java.sql.DatabaseMetaData
Is a data definition statement within a transaction ignored?
DataFlavor(Class, String). Constructor for class java.awt.datatransfer.DataFlavor
Construct a DataFlavor that represents a Java class

The returned DataFlavor will have the following characteristics

representationClass = representationClass
mimeType = application/x-java-serialized-object

DataFlavor(String, String). Constructor for class java.awt.datatransfer.DataFlavor
Construct a DataFlavor that represents a MimeType

The returned DataFlavor will have the following characteristics:

If the mimeType is "application/x-java-serialized-object; class=", the result is the same as calling new DataFlavor(Class:forName() as above

otherwise:

representationClass = InputStream
mimeType = mimeType

DataFormatException(). Constructor for class java.util.zip.DataFormatException
Constructs a DataFormatException with no detail message.
DataFormatException(String). Constructor for class java.util.zip.DataFormatException
Constructs a DataFormatException with the specified detail message.
DatagramPacket(byte[], int). Constructor for class java.net.DatagramPacket
Constructs a DatagramPacket for receiving packets of length ilength.
DatagramPacket(byte[], int, InetAddress, int). Constructor for class java.net.DatagramPacket
Constructs a datagram packet for sending packets of length ilength to the specified port number on the specified host.
DatagramSocket(). Constructor for class java.net.DatagramSocket
Constructs a datagram socket and binds it to any available port on the local host machine.
DatagramSocket(int). Constructor for class java.net.DatagramSocket
Constructs a datagram socket and binds it to the specified port on the local host machine.
DatagramSocket(int, InetAddress). Constructor for class java.net.DatagramSocket
Creates a datagram socket, bound to the specified local address.
DatagramSocketImpl(). Constructor for class java.net.DatagramSocketImpl
DataInputStream(InputStream). Constructor for class java.io.DataInputStream
Creates a new data input stream to read data from the specified input stream.
DataOutputStream(OutputStream). Constructor for class java.io.DataOutputStream
Creates a new data output stream to write data to the specified underlying output stream.
DataTruncation(int, boolean, boolean, int, int). Constructor for class java.sql.DataTruncation

Create a DataTruncation object.

DATE. Static variable in class java.util.Calendar
Useful constant for date and time.
DATE. Static variable in class java.sql.Types
Date(). Constructor for class java.util.Date
Allocates a Date object and initializes it so that it represents the time at which it was allocated measured to the nearest millisecond.
Date(int, int, int). Constructor for class java.sql.Date
Construct a Date
Date(int, int, int). Constructor for class java.util.Date
Allocates a Date object and initializes it so that it represents midnight, local time, at the beginning of the day specified by the year, month, and date arguments.
Date(int, int, int, int, int). Constructor for class java.util.Date
Allocates a Date object and initializes it so that it represents the specified hour and minute, local time, of the date specified by the year, month, date, hrs, and min arguments.
Date(int, int, int, int, int, int). Constructor for class java.util.Date
Allocates a Date object and initializes it so that it represents the specified hour, minute, and second, local time of the date specified by the year, month, date, hrs, min, and sec arguments.
Date(long). Constructor for class java.sql.Date
Construct a Date using a milliseconds time value
Date(long). Constructor for class java.util.Date
Allocates a Date object and initializes it to represent the specified number of milliseconds since January 1, 1970, 00:00:00 GMT.
Date(String). Constructor for class java.util.Date
Allocates a Date object and initializes it so that it represents the date and time indicated by the string s, which is interpreted as if by the parse method.
DATE_FIELD. Static variable in class java.text.DateFormat
Useful constant for DATE field alignment.
DateFormat(). Constructor for class java.text.DateFormat
DateFormatSymbols(). Constructor for class java.text.DateFormatSymbols
Construct a DateFormatSymbols object by loading format data from resources for the default locale.
DateFormatSymbols(Locale). Constructor for class java.text.DateFormatSymbols
Construct a DateFormatSymbols object by loading format data from resources for the given locale.
DAY_OF_MONTH. Static variable in class java.util.Calendar
Useful constant for date and time.
DAY_OF_WEEK. Static variable in class java.util.Calendar
Useful constant for date and time.
DAY_OF_WEEK_FIELD. Static variable in class java.text.DateFormat
Useful constant for DAY_OF_WEEK field alignment.
DAY_OF_WEEK_IN_MONTH. Static variable in class java.util.Calendar
Useful constant for date and time.
DAY_OF_WEEK_IN_MONTH_FIELD. Static variable in class java.text.DateFormat
Useful constant for DAY_OF_WEEK_IN_MONTH field alignment.
DAY_OF_YEAR. Static variable in class java.util.Calendar
Useful constant for date and time.
DAY_OF_YEAR_FIELD. Static variable in class java.text.DateFormat
Useful constant for DAY_OF_YEAR field alignment.
decapitalize(String). Static method in class java.beans.Introspector
Utility method to take a string and convert it to normal Java variable name capitalization.
DECEMBER. Static variable in class java.util.Calendar
Useful constant for month.
DECIMAL. Static variable in class java.sql.Types
DECIMAL_DIGIT_NUMBER. Static variable in class java.lang.Character
DecimalFormat(). Constructor for class java.text.DecimalFormat
Create a DecimalFormat using the default pattern and symbols for the default locale.
DecimalFormat(String). Constructor for class java.text.DecimalFormat
Create a DecimalFormat from the given pattern and the symbols for the default locale.
DecimalFormat(String, DecimalFormatSymbols). Constructor for class java.text.DecimalFormat
Create a DecimalFormat from the given pattern and symbols.
DecimalFormatSymbols(). Constructor for class java.text.DecimalFormatSymbols
Create a DecimalFormatSymbols object for the default locale.
DecimalFormatSymbols(Locale). Constructor for class java.text.DecimalFormatSymbols
Create a DecimalFormatSymbols object for the given locale.
DECLARED. Static variable in interface java.lang.reflect.Member
Identifies the set of declared members of a class or interface.
decode(InputStream). Method in interface java.security.Certificate
Decodes a certificate from an input stream.
decode(String). Static method in class java.lang.Byte
Decodes a String into a Byte.
decode(String). Static method in class java.awt.Color
Converts a string to an integer and returns the specified color.
decode(String). Static method in class java.awt.Font
Gets the specified font using the name passed in.
decode(String). Static method in class java.lang.Integer
Decodes a string into an Integer.
decode(String). Static method in class java.lang.Short
Decodes a String into a Short.
def. Variable in class java.util.zip.DeflaterOutputStream
Compressor for this stream.
DEFAULT. Static variable in class java.text.DateFormat
Constant for default style pattern.
DEFAULT_COMPRESSION. Static variable in class java.util.zip.Deflater
Default compression level.
DEFAULT_CURSOR. Static variable in class java.awt.Cursor
The default cursor type (gets set if no cursor is defined).
DEFAULT_CURSOR. Static variable in class java.awt.Frame
DEFAULT_STRATEGY. Static variable in class java.util.zip.Deflater
Default compression strategy.
defaultConstraints. Variable in class java.awt.GridBagLayout
defaultReadObject(). Method in class java.io.ObjectInputStream
Read the non-static and non-transient fields of the current class from this stream.
defaults. Variable in class java.util.Properties
A property list that contains default values for any keys not found in this property list.
defaultWriteObject(). Method in class java.io.ObjectOutputStream
Write the non-static and non-transient fields of the current class to this stream.
defineClass(byte[], int, int). Method in class java.lang.ClassLoader
Converts an array of bytes into an instance of class Class.
defineClass(String, byte[], int, int). Method in class java.lang.ClassLoader
Converts an array of bytes to an instance of class Class.
deflate(). Method in class java.util.zip.DeflaterOutputStream
Writes next block of compressed data to the output stream.
deflate(byte[]). Method in class java.util.zip.Deflater
Fills specified buffer with compressed data.
deflate(byte[], int, int). Method in class java.util.zip.Deflater
Fills specified buffer with compressed data.
DEFLATED. Static variable in class java.util.zip.Deflater
Compression method for the deflate algorithm (the only one currently supported).
DEFLATED. Static variable in class java.util.zip.ZipEntry
Compression method for compressed (deflated) entries.
DEFLATED. Static variable in class java.util.zip.ZipOutputStream
Compression method for compressed (DEFLATED) entries.
Deflater(). Constructor for class java.util.zip.Deflater
Creates a new compressor with the default compression level.
Deflater(int). Constructor for class java.util.zip.Deflater
Creates a new compressor using the specified compression level.
Deflater(int, boolean). Constructor for class java.util.zip.Deflater
Creates a new compressor using the specified compression level.
DeflaterOutputStream(OutputStream). Constructor for class java.util.zip.DeflaterOutputStream
Creates a new output stream with a defaul compressor and buffer size.
DeflaterOutputStream(OutputStream, Deflater). Constructor for class java.util.zip.DeflaterOutputStream
Creates a new output stream with the specified compressor and a default buffer size.
DeflaterOutputStream(OutputStream, Deflater, int). Constructor for class java.util.zip.DeflaterOutputStream
Creates a new output stream with the specified compressor and buffer size.
DELETE. Static variable in class java.awt.Event
The Delete key.
delete(). Method in class java.io.File
Deletes the file specified by this object.
deleteObserver(Observer). Method in class java.util.Observable
Deletes an observer from the set of observers of this object.
deleteObservers(). Method in class java.util.Observable
Clears the observer list so that this object no longer has any observers.
deleteOwner(Principal, Principal). Method in interface java.security.acl.Owner
Deletes an owner.
deleteShortcut(). Method in class java.awt.MenuItem
Delete any MenuShortcut object associated with this menu item.
deleteShortcut(MenuShortcut). Method in class java.awt.MenuBar
Deletes the specified menu shortcut.
delItem(int). Method in class java.awt.List
Removes the item at the specified position from this list.
delItems(int, int). Method in class java.awt.List
deliverEvent(Event). Method in class java.awt.Component
deliverEvent(Event). Method in class java.awt.Container
deregisterDriver(Driver). Static method in class java.sql.DriverManager
Drop a Driver from the DriverManager's list.
description. Variable in class java.sql.DriverPropertyInfo
A brief description of the property.
deselect(int). Method in class java.awt.List
Deselects the item at the specified index.
DESELECTED. Static variable in class java.awt.event.ItemEvent
The item de-selected state change type.
DESKTOP. Static variable in class java.awt.SystemColor
The array index for the desktop background color.
desktop. Static variable in class java.awt.SystemColor
The color of the desktop background.
destHeight. Variable in class java.awt.image.ReplicateScaleFilter
destroy(). Method in class java.applet.Applet
Called by the browser or applet viewer to inform this applet that it is being reclaimed and that it should destroy any resources that it has allocated.
destroy(). Method in class java.lang.Process
Kills the subprocess.
destroy(). Method in class java.lang.Thread
Destroys this thread, without any cleanup.
destroy(). Method in class java.lang.ThreadGroup
Destroys this thread group and all of its subgroups.
destWidth. Variable in class java.awt.image.ReplicateScaleFilter
detail. Variable in class java.rmi.RemoteException
detail. Variable in class java.rmi.server.ServerCloneException
detail. Variable in class java.io.WriteAbortedException
DGC_ID. Static variable in class java.rmi.server.ObjID
well-known id for the distributed garbage collector
Dialog(Frame). Constructor for class java.awt.Dialog
Constructs an initially invisible Dialog with an empty title.
Dialog(Frame, boolean). Constructor for class java.awt.Dialog
Constructs an initially invisible Dialog with an empty title.
Dialog(Frame, String). Constructor for class java.awt.Dialog
Constructs an initially invisible Dialog with a title.
Dialog(Frame, String, boolean). Constructor for class java.awt.Dialog
Constructs an initially invisible Dialog with a title.
Dictionary(). Constructor for class java.util.Dictionary
digest. Variable in class java.security.DigestInputStream
The message digest associated with this stream.
digest. Variable in class java.security.DigestOutputStream
The message digest associated with this stream.
digest(). Method in class java.security.MessageDigest
Completes the hash computation by performing final operations such as padding.
digest(byte[]). Method in class java.security.MessageDigest
Performs a final update on the digest using the specified array of bytes, then completes the digest computation.
DigestException(). Constructor for class java.security.DigestException
Constructs a DigestException with no detail message.
DigestException(String). Constructor for class java.security.DigestException
Constructs a DigestException with the specified detail message.
DigestInputStream(InputStream, MessageDigest). Constructor for class java.security.DigestInputStream
Creates a digest input stream, using the specified input stream and message digest.
DigestOutputStream(OutputStream, MessageDigest). Constructor for class java.security.DigestOutputStream
Creates a digest output stream, using the specified output stream and message digest.
digit(char, int). Static method in class java.lang.Character
Returns the numeric value of the character ch in the specified radix.
Dimension(). Constructor for class java.awt.Dimension
Creates an instance of Dimension with a width of zero and a height of zero.
Dimension(Dimension). Constructor for class java.awt.Dimension
Creates an instance of Dimension whose width and height are the same as for the specified dimension.
Dimension(int, int). Constructor for class java.awt.Dimension
Constructs a Dimension and initializes it to the specified width and specified height.
DirectColorModel(int, int, int, int). Constructor for class java.awt.image.DirectColorModel
Constructs a DirectColorModel from the given masks specifying which bits in the pixel contain the red, green and blue color components.
DirectColorModel(int, int, int, int, int). Constructor for class java.awt.image.DirectColorModel
Constructs a DirectColorModel from the given masks specifying which bits in the pixel contain the alhpa, red, green and blue color components.
dirty(ObjID[], long, Lease). Method in interface java.rmi.dgc.DGC
The dirty call requests leases for the remote object references associated with the object identifiers contained in the array 'ids'.
disable(). Static method in class java.lang.Compiler
Cause the Compiler to cease operation.
disable(). Method in class java.awt.Component
disable(). Method in class java.awt.MenuItem
disableEvents(long). Method in class java.awt.Component
Disables the events defined by the specified event mask parameter from being delivered to this component.
disableEvents(long). Method in class java.awt.MenuItem
Disables event delivery to this menu item for events defined by the specified event mask parameter.
disconnect(). Method in class java.net.HttpURLConnection
Close the connection to the server.
dispatch(Remote, RemoteCall, int, long). Method in interface java.rmi.server.Skeleton
Unmarshals arguments, calls the actual remote object implementation, and marshals the return value or any exception.
dispatchEvent(AWTEvent). Method in class java.awt.Component
Dispatches an event to this component or one of its sub components.
dispatchEvent(AWTEvent). Method in class java.awt.MenuComponent
dispose(). Method in class java.awt.Frame
Disposes of the Frame.
dispose(). Method in class java.awt.Graphics
Disposes of this graphics context and releases any system resources that it is using.
dispose(). Method in class java.awt.Window
Disposes of this window.
divide(BigDecimal, int). Method in class java.math.BigDecimal
Returns a BigDecimal whose value is (this / val), and whose scale is this.scale().
divide(BigDecimal, int, int). Method in class java.math.BigDecimal
Returns a BigDecimal whose value is (this / val), and whose scale is as specified.
divide(BigInteger). Method in class java.math.BigInteger
Returns a BigInteger whose value is (this / val).
divideAndRemainder(BigInteger). Method in class java.math.BigInteger
Returns an array of two BigIntegers.
doesMaxRowSizeIncludeBlobs(). Method in interface java.sql.DatabaseMetaData
Did getMaxRowSize() include LONGVARCHAR and LONGVARBINARY blobs?
doInput. Variable in class java.net.URLConnection
This variable is set by the setDoInput method.
doLayout(). Method in class java.awt.Component
Prompts the layout manager to lay out this component.
doLayout(). Method in class java.awt.Container
Causes this container to lay out its components.
doLayout(). Method in class java.awt.ScrollPane
Lays out this container by resizing its child to its preferred size.
DONE. Static variable in class java.text.BreakIterator
DONE is returned by previous() and next() after all valid boundaries have been returned.
DONE. Static variable in interface java.text.CharacterIterator
Constant that is returned when the iterator has reached either the end or the beginning of the text.
done(). Method in interface java.rmi.server.RemoteCall
Allow cleanup after the remote call has completed.
done(RemoteCall). Method in interface java.rmi.server.RemoteRef
Allows the remote reference to clean up (or reuse) the connection.
dontUseGui(). Method in interface java.beans.Visibility
This method instructs the bean that it should not use the Gui.
doOutput. Variable in class java.net.URLConnection
This variable is set by the setDoOutput method.
DOUBLE. Static variable in class java.sql.Types
Double(double). Constructor for class java.lang.Double
Constructs a newly allocated Double object that represents the primitive double argument.
Double(String). Constructor for class java.lang.Double
Constructs a newly allocated Double object that represents the floating- point value of type double represented by the string.
doubleToLongBits(double). Static method in class java.lang.Double
Returns a representation of the specified floating-point value according to the IEEE 754 floating-point "double format" bit layout.
doubleValue(). Method in class java.math.BigDecimal
Converts the number to a double.
doubleValue(). Method in class java.math.BigInteger
Converts the number to a double.
doubleValue(). Method in class java.lang.Byte
Returns the value of this Byte as a double.
doubleValue(). Method in class java.lang.Double
Returns the double value of this Double.
doubleValue(). Method in class java.lang.Float
Returns the double value of this Float.
doubleValue(). Method in class java.lang.Integer
Returns the value of this Integer as a double.
doubleValue(). Method in class java.lang.Long
Returns the value of this Long as a double.
doubleValue(). Method in class java.lang.Number
Returns the value of the specified number as a double.
doubleValue(). Method in class java.lang.Short
Returns the value of this Short as a double.
DOWN. Static variable in class java.awt.Event
The Down Arrow key, a non-ASCII action key.
drain(). Method in class java.io.ObjectOutputStream
Drain any buffered data in ObjectOutputStream.
draw3DRect(int, int, int, int, boolean). Method in class java.awt.Graphics
Draws a 3-D highlighted outline of the specified rectangle.
drawArc(int, int, int, int, int, int). Method in class java.awt.Graphics
Draws the outline of a circular or elliptical arc covering the specified rectangle.
drawBytes(byte[], int, int, int, int). Method in class java.awt.Graphics
Draws the text given by the specified byte array, using this graphics context's current font and color.
drawChars(char[], int, int, int, int). Method in class java.awt.Graphics
Draws the text given by the specified character array, using this graphics context's current font and color.
drawImage(Image, int, int, Color, ImageObserver). Method in class java.awt.Graphics
Draws as much of the specified image as is currently available.
drawImage(Image, int, int, ImageObserver). Method in class java.awt.Graphics
Draws as much of the specified image as is currently available.
drawImage(Image, int, int, int, int, Color, ImageObserver). Method in class java.awt.Graphics
Draws as much of the specified image as has already been scaled to fit inside the specified rectangle.
drawImage(Image, int, int, int, int, ImageObserver). Method in class java.awt.Graphics
Draws as much of the specified image as has already been scaled to fit inside the specified rectangle.
drawImage(Image, int, int, int, int, int, int, int, int, Color, ImageObserver). Method in class java.awt.Graphics
Draws as much of the specified area of the specified image as is currently available, scaling it on the fly to fit inside the specified area of the destination drawable surface.
drawImage(Image, int, int, int, int, int, int, int, int, ImageObserver). Method in class java.awt.Graphics
Draws as much of the specified area of the specified image as is currently available, scaling it on the fly to fit inside the specified area of the destination drawable surface.
drawLine(int, int, int, int). Method in class java.awt.Graphics
Draws a line, using the current color, between the points (x1, y1) and (x2, y2) in this graphics context's coordinate system.
drawOval(int, int, int, int). Method in class java.awt.Graphics
Draws the outline of an oval.
drawPolygon(int[], int[], int). Method in class java.awt.Graphics
Draws a closed polygon defined by arrays of x and y coordinates.
drawPolygon(Polygon). Method in class java.awt.Graphics
Draws the outline of a polygon defined by the specified Polygon object.
drawPolyline(int[], int[], int). Method in class java.awt.Graphics
Draws a sequence of connected lines defined by arrays of x and y coordinates.
drawRect(int, int, int, int). Method in class java.awt.Graphics
Draws the outline of the specified rectangle.
drawRoundRect(int, int, int, int, int, int). Method in class java.awt.Graphics
Draws an outlined round-cornered rectangle using this graphics context's current color.
drawString(String, int, int). Method in class java.awt.Graphics
Draws the text given by the specified string, using this graphics context's current font and color.
DriverPropertyInfo(String, String). Constructor for class java.sql.DriverPropertyInfo
Constructor a DriverPropertyInfo with a name and value; other members default to their initial values.
DST_OFFSET. Static variable in class java.util.Calendar
Useful constant for date and time.
dumpStack(). Static method in class java.lang.Thread
Prints a stack trace of the current thread.

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
All Packages  Class Hierarchy Index of Fields and Methods


Submit a bug or feature - Version 1.1.8 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1995-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.