Home >> All |
Page 1 2 3 4
| java.applet.* (4) | | java.awt.* (328) | | java.beans.* (55) | | java.io.* (80) |
| java.lang.* (140) | | java.math.* (2) | | java.net.* (68) | | java.nio.* (84) |
| java.rmi.* (68) | | java.security.* (147) |
Package Samples:
java.lang.ref: Core classes including wrappers for primitive types, classes, packages and class loaders, representations of the system, processes, threads and the core exception hierarchy.
java.lang.annotation: Core classes including wrappers for primitive types, classes, packages and class loaders, representations of the system, processes, threads and the core exception hierarchy.
java.nio.channels.spi: Classes for creating, selecting and non-blocking reading and writing of buffers from files and sockets.
java.nio.charset.spi: Classes to manipulate, encode and decode different character sets from and to bytes.
java.nio.channels: Abstract classes for manipulating buffers of different primitive types.
java.awt.dnd.peer: Events and listeners for drag and drop sources and targets.
java.beans.beancontext: Listeners and descriptors for managing beans.
java.awt.image.renderable: Image consumers, producers and filters.
java.awt.color: Abstract Window Toolkit classes.
java.awt.print: Abstract Window Toolkit classes.
java.awt.im.spi: Support for text input methods.
java.rmi.activation
java.security.cert
java.net
java.applet
java.awt
java.awt.datatransfer
java.awt.dnd
java.awt.event
java.awt.font
Classes:
Proxy: This class allows you to dynamically create an instance of any (or even multiple) interfaces by reflection, and decide at runtime how that instance will behave by giving it an appropriate InvocationHandler . Proxy classes serialize specially, so that the proxy object can be reused between VMs, without requiring a persistent copy of the generated class code. Creation To create a proxy for some interface Foo: InvocationHandler handler = new MyInvocationHandler(...); Class proxyClass = Proxy.getProxyClass( Foo.class.getClassLoader(), new Class[] { Foo.class }); Foo f = (Foo) proxyClass .getConstructor(new ...
VariableInfo: Information on the scripting variables that are created/modified by a tag (at run-time). This information is provided by TagExtraInfo classes and it is used by the translation phase of JSP. Scripting variables generated by a custom action have an associated scope of either AT_BEGIN, NESTED, or AT_END. The class name (VariableInfo.getClassName) in the returned objects is used to determine the types of the scripting variables. Note that because scripting variables are assigned their values from scoped attributes which cannot be of primitive types, "boxed" types such as java.lang.Integer ...
FileHandler: A FileHandler publishes log records to a set of log files. A maximum file size can be specified; as soon as a log file reaches the size limit, it is closed and the next file in the set is taken. Configuration: Values of the subsequent LogManager properties are taken into consideration when a FileHandler is initialized. If a property is not defined, or if it has an invalid value, a default is taken without an exception being thrown. java.util.FileHandler.level - specifies the initial severity level threshold. Default value: Level.ALL . java.util.FileHandler.filter - specifies the name of a Filter ...
lr_parser: This class implements a skeleton table driven LR parser. In general, LR parsers are a form of bottom up shift-reduce parsers. Shift-reduce parsers act by shifting input onto a parse stack until the Symbols matching the right hand side of a production appear on the top of the stack. Once this occurs, a reduce is performed. This involves removing the Symbols corresponding to the right hand side of the production (the so called "handle") and replacing them with the non-terminal from the left hand side of the production. To control the decision of whether to shift or reduce at any given point, the ...
RuntimePermission: A RuntimePermission contains a permission name, but no actions list. This means you either have the permission or you don't. Permission names have the follow the hierarchial property naming convention. In addition, an asterisk may appear at the end of a name if following a period or by itself. Valid names Invalid names "accessClassInPackage.*","*" "**", "*x", "*.a" The following table provides a list of all the possible RuntimePermission permission names with a description of what that permission allows. Permission Name Permission Allows Risks createClassLoader creation of a class loader a class ...
Introspector: Introspector is the class that does the bulk of the design-time work in Java Beans. Every class must have a BeanInfo in order for an RAD tool to use it; but, as promised, you don't have to write the BeanInfo class yourself if you don't want to. All you have to do is call getBeanInfo() in the Introspector and it will use standard JavaBeans-defined method signatures to determine the information about your class. Don't worry about it too much, though: you can provide JavaBeans with as much customized information as you want, or as little as you want, using the BeanInfo interface (see BeanInfo for ...
TreeManager: The TreeManager serves as a FileT factory. Clients obtain FileTs by requesting a FileT from the manager and by creating empty FileTs through the manager. Clients change the writability of FileTs by opening and closing TreeTransactions. For the sake of transaction consistency, a FileT belongs to exactly one TreeManager for the lifetime of the FileT. The TreeManager owns a single lockable resource (which may be itself) which must, at the minumum, provide the functionality of a read-write lock. Each FileT is tied to a single lockable resource (which may be itself) which is defined by the owning IDE ...
SecurityPermission: This class provides a mechanism for specified named permissions related to the Java security framework. These permissions have no associated actions list. They are either granted or not granted. The list of valid permission names is: Permission Name Permission Allows Risks createAccessControlContext Allows creation of an AccessControlContext The new control context can have a rogue DomainCombiner, leading to a privacy leak getDomainCombiner Get a DomainCombiner from an AccessControlContext Access to a DomainCombiner can lead to a privacy leak getPolicy Allows retrieval of the system security policy ...
GregorianCalendar: This class represents the Gregorian calendar, that is used in most countries all over the world. It does also handle the Julian calendar for dates smaller than the date of the change to the Gregorian calendar. The Gregorian calendar differs from the Julian calendar by a different leap year rule (no leap year every 100 years, except if year is divisible by 400). This change date is different from country to country, and can be changed with setGregorianChange . The first countries to adopt the Gregorian calendar did so on the 15th of October, 1582. This date followed October the 4th, 1582 in the ...
RuleBasedCollator: This class is a concrete subclass of Collator suitable for string collation in a wide variety of languages. An instance of this class is normally returned by the getInstance method of Collator with rules predefined for the requested locale. However, an instance of this class can be created manually with any desired rules. Rules take the form of a String with the following syntax Modifier: '@' Relation: '<' | ';' | ',' | '=' : <text> Reset: '&' : <text> The modifier character indicates that accents sort backward as is the case with French. The modifier applies to all rules after ...
BeanContext: Acts as a container for sub-beans and as a sub-bean, so that an entire hierarchy of beans can be made up of BeanContext s. Since I can't sprinkle the Collections interface documentation with special information for BeanContext implementors, I'll have to document special requirements for implementors of those functions here. add() or addAll() : May add any Object into the hierarchy as well as a BeanContextChild , BeanContext or BeanContextProxy object. This way, any Bean can be in the hierarchy. Must synchronize on BeanContext.globalHierarchyLock . Don't add the Object if it's already there (only ...
DocFlavor: DocFlavor provides a description of the format in which the print data will be supplied in a print job to the print service. A doc flavor consists of two parts: The MIME type (Multipurpose Internet Mail Extensions types as described in RFC 2045/2046) specifying the media format of the print data. The representation class name which is the fully qualified name of the class providing the print data to the print job. For example if the print data is supplied as a byte array the representation class name will be "[B" or for an input stream "java.io.InputStream" . The DocFlavor class is therefore used ...
URI: A URI instance represents that defined by RFC3986 , with some deviations. At its highest level, a URI consists of: [ scheme : ] scheme-specific-part [ # fragment ] where # and : are literal characters, and those parts enclosed in square brackets are optional. There are two main types of URI. An opaque URI is one which just consists of the above three parts, and is not further defined. An example of such a URI would be mailto: URI. In contrast, hierarchical URIs give further definition to the scheme-specific part, so as represent some part of a hierarchical structure. [ // authority ][ path ] [ ...
BodyTag: The BodyTag interface extends IterationTag by defining additional methods that let a tag handler manipulate the content of evaluating its body. It is the responsibility of the tag handler to manipulate the body content. For example the tag handler may take the body content, convert it into a String using the bodyContent.getString method and then use it. Or the tag handler may take the body content and write it out into its enclosing JspWriter using the bodyContent.writeOut method. A tag handler that implements BodyTag is treated as one that implements IterationTag, except that the doStartTag method ...
AbstractButton: Provides an abstract implementation of common button behaviour, data model and look & feel. This class is supposed to serve as a base class for several kinds of buttons with similar but non-identical semantics: toggle buttons (radio buttons and checkboxes), simple push buttons, menu items, etc. Buttons have many properties, some of which are stored in this class while others are delegated to the button's model. The following properties are available: Property Stored in Bound? action button no actionCommand model no borderPainted button yes contentAreaFilled button yes disabledIcon button yes ...
PropertyEditor: PropertyEditors are custom GUI editors for specific types of values. A PropertyEditor can be used, for example, if you are editing a type of value that can be more easily represented graphically, such as a Point, or one that can be more easily represented by a list, such as a boolean (true/false). A PropertyEditor must be able to display its contents when asked to and be able to allow the user to change its underlying field value. However, it is not the PropertyEditor's responsibility to make the change to the underlying Object; in fact, the PropertyEditor does not even know about the Object it ...
CipherSpi: This class represents the Service Provider Interface ( SPI ) for cryptographic ciphers. Providers of cryptographic ciphers must subclass this for every cipher they implement, implementing the abstract methods as appropriate, then provide an entry that points to the subclass in their implementation of java.security.Provider . CipherSpi objects are instantiated along with Cipher s when the Cipher.getInstance(java.lang.String) 55 methods are invoked. Particular ciphers are referenced by a transformation , which is a String consisting of the cipher's name or the ciper's name followed by a mode and ...
JList: This class is a facade over three separate objects: ListModel , ListSelectionModel and javax.swing.plaf.ListUI . The facade represents a unified "list" concept, with independently replacable (possibly client-provided) models for its contents and its current selection. In addition, each element in the list is rendered via a strategy class ListCellRenderer . Lists have many properties, some of which are stored in this class while others are delegated to the list's model or selection. The following properties are available: Property Stored in Bound? accessibleContext list no anchorSelectionIndex selection ...
AttachmentPart: A single attachment to a SOAPMessage object. A SOAPMessage object may contain zero, one, or many AttachmentPart objects. Each AttachmentPart object consists of two parts, application-specific content and associated MIME headers. The MIME headers consists of name/value pairs that can be used to identify and describe the content. An AttachmentPart object must conform to certain standards. It must conform to MIME [RFC2045] standards It MUST contain content The header portion MUST include the following header: Content-Type This header identifies the type of data in the content of an AttachmentPart ...
SOAPEnvelope: The container for the SOAPHeader and SOAPBody portions of a SOAPPart object. By default, a SOAPMessage object is created with a SOAPPart object that has a SOAPEnvelope object. The SOAPEnvelope object by default has an empty SOAPBody object and an empty SOAPHeader object. The SOAPBody object is required, and the SOAPHeader object, though optional, is used in the majority of cases. If the SOAPHeader object is not needed, it can be deleted, which is shown later. A client can access the SOAPHeader and SOAPBody objects by calling the methods SOAPEnvelope.getHeader and SOAPEnvelope.getBody . The following ...
SaslClient: Performs SASL authentication as a client. A protocol library such as one for LDAP gets an instance of this class in order to perform authentication defined by a specific SASL mechanism. Invoking methods on the SaslClient instance process challenges and create responses according to the SASL mechanism implemented by the SaslClient . As the authentication proceeds, the instance encapsulates the state of a SASL client's authentication exchange. Here's an example of how an LDAP library might use a SaslClient . It first gets an instance of a SaslClient: SaslClient sc = Sasl.createSaslClient(mechanisms, ...
AuthPermission: A permission controlling access to authentication service. The actions field of auth permission objects is ignored; the whole of the permission is defined by the target . The authentication permission targets recognized are: doAs Allows access to the Subject#doAs(javax.security.auth.Subject java.security.PrivilegedAction) methods. doAsPrivileged Allows access to the Subject.doAsPrivileged(javax.security.auth.Subject, java.security.PrivilegedAction, java.security.AccessControlContext) 55 methods. getSubject Allows access to the Subject associated with a thread. getSubjectFromDomainCombiner Allows ...
XMLDecoder: The XMLDecoder reads XML data that is structured according to this DTD and creates objects according to the content. Usually such data is generated using the XMLEncoder class. An example XML document might look like this: <java> <string>Hello World</string> <int>200</int> </java> To read the String and the Integer instance the following can be used (assume the XML data can be obtained from the InputStream): XMLDecoder decoder = new XMLDecoder(inputStreamContainingXMLData); String message = (String) decoder.readObject(); Integer number = (Integer) decoder.readObject(); ...
X509Certificate: X509Certificate is the abstract class for X.509 certificates. This provides a stanard class interface for accessing all the attributes of X.509 certificates. In June 1996, the basic X.509 v3 format was finished by ISO/IEC and ANSI X.9. The ASN.1 DER format is below: Certificate ::= SEQUENCE { tbsCertificate TBSCertificate, signatureAlgorithm AlgorithmIdentifier, signatureValue BIT STRING } These certificates are widely used in various Internet protocols to support authentication. It is used in Privacy Enhanced Mail (PEM), Transport Layer Security (TLS), Secure Sockets Layer (SSL), code signing ...
JLayeredPane: A container that adds depth to the usual Container semantics. Each child component of a Layered Pane is placed within one of several layers. JLayeredPane defines a set of standard layers. The pre-defined sets are (in the order from button to top): DEFAULT_LAYER 55 The layer where most of the normal components are placed. This is the bottommost layer. PALETTE_LAYER 55 Palette windows are placed in this layer. MODAL_LAYER 55 The layer where internal modal dialog windows are placed. POPUP_LAYER 55 The layer for popup menus DRAG_LAYER 55 Components that are beeing dragged are temporarily placed in ...
Home | Contact Us | Privacy Policy | Terms of Service |