|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Class | |
|---|---|
| java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. |
| java.awt.datatransfer | Provides interfaces and classes for transferring data between and within applications. |
| java.awt.dnd | Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. |
| java.awt.image.renderable | Provides classes and interfaces for producing rendering-independent images. |
| java.beans | Contains classes related to developing beans -- components based on the JavaBeansTM architecture. |
| java.beans.beancontext | Provides classes and interfaces relating to bean context. |
| java.io | Provides for system input and output through data streams, serialization and the file system. |
| java.lang | Provides classes that are fundamental to the design of the Java programming language. |
| java.lang.annotation | Provides library support for the Java programming language annotation facility. |
| java.lang.instrument | Provides services that allow Java programming language agents to instrument programs running on the JVM. |
| java.lang.management | Provides the management interface for monitoring and management of the Java virtual machine as well as the operating system on which the Java virtual machine is running. |
| java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects. |
| java.net | Provides the classes for implementing networking applications. |
| java.rmi.server | Provides classes and interfaces for supporting the server side of RMI. |
| java.security | Provides the classes and interfaces for the security framework. |
| java.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. |
| 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.concurrent.atomic | A small toolkit of classes that support lock-free thread-safe programming on single variables. |
| java.util.prefs | This package allows applications to store and retrieve user and system preference and configuration data. |
| javax.crypto | Provides the classes and interfaces for cryptographic operations. |
| javax.imageio.metadata | A package of the Java Image I/O API dealing with reading and writing metadata. |
| javax.imageio.spi | A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. |
| javax.management | Provides the core classes for the Java Management Extensions. |
| javax.management.loading | Provides the classes which implement advanced dynamic loading. |
| javax.naming.spi | Provides the means for dynamically plugging in support for accessing naming and directory services through the javax.naming and related packages. |
| javax.print | Provides the principal classes and interfaces for the JavaTM Print Service API. |
| javax.print.attribute | Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets. |
| javax.print.attribute.standard | Package javax.print.attribute.standard contains classes for specific printing attributes. |
| javax.rmi | Contains user APIs for RMI-IIOP. |
| javax.rmi.CORBA | Contains portability APIs for RMI-IIOP. |
| javax.security.auth | This package provides a framework for authentication and authorization. |
| javax.sound.midi | Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data. |
| javax.sound.sampled | Provides interfaces and classes for capture, processing, and playback of sampled audio data. |
| javax.sql | Provides the API for server side data source access and processing from the JavaTM programming language. |
| javax.sql.rowset | Standard interfaces and base classes for JDBC RowSet
implementations. |
| javax.sql.rowset.serial | Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language. |
| javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
| javax.swing.event | Provides for events fired by Swing components. |
| javax.swing.plaf.synth | Synth is a skinnable look and feel in which all painting is delegated. |
| javax.swing.table | Provides classes and interfaces for dealing with
javax.swing.JTable. |
| javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components. |
| javax.swing.tree | Provides classes and interfaces for dealing with
javax.swing.JTree. |
| org.omg.CORBA | Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class ORB, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB). |
| org.omg.CORBA_2_3.portable | Provides methods for the input and output of value types, and contains
other updates to the org/omg/CORBA/portable package. |
| org.omg.CORBA.portable | Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB. |
| org.omg.DynamicAny | Provides classes and interfaces that enable traversal of the data value
associated with an any at
runtime, and extraction of the primitive constituents of the data value. |
| org.omg.PortableServer | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs. |
| Uses of Class in java.awt |
|---|
| Methods in java.awt with parameters of type Class | ||
|---|---|---|
|
Toolkit.createDragGestureRecognizer(Class<T> abstractRecognizerClass,
DragSource ds,
Component c,
int srcActions,
DragGestureListener dgl)
Creates a concrete, platform dependent, subclass of the abstract DragGestureRecognizer class requested, and associates it with the DragSource, Component and DragGestureListener specified. |
|
|
CheckboxMenuItem.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListeners
upon this CheckboxMenuItem. |
|
|
Choice.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListeners
upon this Choice. |
|
|
Scrollbar.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListeners
upon this Scrollbar. |
|
|
Checkbox.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListeners
upon this Checkbox. |
|
|
List.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListeners
upon this List. |
|
|
TextComponent.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListeners
upon this TextComponent. |
|
|
TextField.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListeners
upon this TextField. |
|
|
Button.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListeners
upon this Button. |
|
|
MenuItem.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListeners
upon this MenuItem. |
|
|
Component.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListeners
upon this Component. |
|
|
Container.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListeners
upon this Container. |
|
|
Window.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListeners
upon this Window. |
|
static
|
AWTEventMulticaster.getListeners(EventListener l,
Class<T> listenerType)
Returns an array of all the objects chained as FooListeners by the specified
java.util.EventListener. |
|
protected static void |
AWTKeyStroke.registerSubclass(Class<?> subclass)
Registers a new class which the factory methods in AWTKeyStroke will use when generating new
instances of AWTKeyStrokes. |
|
| Uses of Class in java.awt.datatransfer |
|---|
| Methods in java.awt.datatransfer that return Class | |
|---|---|
Class<?> |
DataFlavor.getDefaultRepresentationClass()
|
Class<?> |
DataFlavor.getRepresentationClass()
Returns the Class which objects supporting this
DataFlavor will return when this DataFlavor
is requested. |
protected static Class<?> |
DataFlavor.tryToLoadClass(String className,
ClassLoader fallback)
Tries to load a class from: the bootstrap loader, the system loader, the context loader (if one is present) and finally the loader specified. |
| Constructors in java.awt.datatransfer with parameters of type Class | |
|---|---|
DataFlavor(Class<?> representationClass,
String humanPresentableName)
Constructs a DataFlavor that represents a Java class. |
|
| Uses of Class in java.awt.dnd |
|---|
| Methods in java.awt.dnd with parameters of type Class | ||
|---|---|---|
|
DragSource.createDragGestureRecognizer(Class<T> recognizerAbstractClass,
Component c,
int actions,
DragGestureListener dgl)
Creates a new DragGestureRecognizer
that implements the specified
abstract subclass of
DragGestureRecognizer, and
sets the specified Component
and DragGestureListener on
the newly created object. |
|
|
DragSource.getListeners(Class<T> listenerType)
Gets all the objects currently registered as FooListeners upon this DragSource. |
|
| Uses of Class in java.awt.image.renderable |
|---|
| Methods in java.awt.image.renderable that return Class | |
|---|---|
Class[] |
ParameterBlock.getParamClasses()
Returns an array of Class objects describing the types of the parameters. |
| Uses of Class in java.beans |
|---|
| Methods in java.beans that return Class | |
|---|---|
Class<?> |
BeanDescriptor.getBeanClass()
Gets the bean's Class object. |
Class<?> |
BeanDescriptor.getCustomizerClass()
Gets the Class object for the bean's customizer. |
Class<?> |
IndexedPropertyDescriptor.getIndexedPropertyType()
Gets the Class object of the indexed properties' type. |
Class<?> |
EventSetDescriptor.getListenerType()
Gets the Class object for the target interface. |
Class<?> |
PropertyDescriptor.getPropertyEditorClass()
Gets any explicit PropertyEditor Class that has been registered for this property. |
Class<?> |
PropertyDescriptor.getPropertyType()
Gets the Class object for the property. |
| Methods in java.beans with parameters of type Class | ||
|---|---|---|
static
|
EventHandler.create(Class<T> listenerInterface,
Object target,
String action)
Creates an implementation of listenerInterface in which
all of the methods in the listener interface apply
the handler's action to the target. |
|
static
|
EventHandler.create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName)
Creates an implementation of listenerInterface in which
all of the methods pass the value of the event
expression, eventPropertyName, to the final method in the
statement, action, which is applied to the target. |
|
static
|
EventHandler.create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName,
String listenerMethodName)
Creates an implementation of listenerInterface in which
the method named listenerMethodName
passes the value of the event expression, eventPropertyName,
to the final method in the statement, action, which
is applied to the target. |
|
static PropertyEditor |
PropertyEditorManager.findEditor(Class<?> targetType)
Locate a value editor for a given target type. |
|
static void |
Introspector.flushFromCaches(Class<?> clz)
Flush the Introspector's internal cached information for a given class. |
|
static BeanInfo |
Introspector.getBeanInfo(Class<?> beanClass)
Introspect on a Java Bean and learn about all its properties, exposed methods, and events. |
|
static BeanInfo |
Introspector.getBeanInfo(Class<?> beanClass,
Class<?> stopClass)
Introspect on a Java bean and learn all about its properties, exposed methods, below a given "stop" point. |
|
static BeanInfo |
Introspector.getBeanInfo(Class<?> beanClass,
Class<?> stopClass)
Introspect on a Java bean and learn all about its properties, exposed methods, below a given "stop" point. |
|
static BeanInfo |
Introspector.getBeanInfo(Class<?> beanClass,
int flags)
Introspect on a Java bean and learn about all its properties, exposed methods, and events, subject to some control flags. |
|
static Object |
Beans.getInstanceOf(Object bean,
Class<?> targetType)
From a given bean, obtain an object representing a specified type view of that source object. |
|
PersistenceDelegate |
Encoder.getPersistenceDelegate(Class<?> type)
Returns the persistence delegate for the given type. |
|
protected void |
DefaultPersistenceDelegate.initialize(Class<?> type,
Object oldInstance,
Object newInstance,
Encoder out)
This default implementation of the initialize method assumes
all state held in objects of this type is exposed via the
matching pairs of "setter" and "getter" methods in the order
they are returned by the Introspector. |
|
protected void |
PersistenceDelegate.initialize(Class<?> type,
Object oldInstance,
Object newInstance,
Encoder out)
Produce a series of statements with side effects on newInstance
so that the new instance becomes equivalent to oldInstance. |
|
static boolean |
Beans.isInstanceOf(Object bean,
Class<?> targetType)
Check if a bean can be viewed as a given target type. |
|
static void |
PropertyEditorManager.registerEditor(Class<?> targetType,
Class<?> editorClass)
Register an editor class to be used to edit values of a given target class. |
|
static void |
PropertyEditorManager.registerEditor(Class<?> targetType,
Class<?> editorClass)
Register an editor class to be used to edit values of a given target class. |
|
void |
Encoder.setPersistenceDelegate(Class<?> type,
PersistenceDelegate persistenceDelegate)
Sets the persistence delegate associated with this type to
persistenceDelegate. |
|
void |
PropertyDescriptor.setPropertyEditorClass(Class<?> propertyEditorClass)
Normally PropertyEditors will be found using the PropertyEditorManager. |
|
| Constructors in java.beans with parameters of type Class | |
|---|---|
BeanDescriptor(Class<?> beanClass)
Create a BeanDescriptor for a bean that doesn't have a customizer. |
|
BeanDescriptor(Class<?> beanClass,
Class<?> customizerClass)
Create a BeanDescriptor for a bean that has a customizer. |
|
BeanDescriptor(Class<?> beanClass,
Class<?> customizerClass)
Create a BeanDescriptor for a bean that has a customizer. |
|
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String listenerMethodName)
Creates an EventSetDescriptor assuming that you are following the most simple standard design pattern where a named event "fred" is (1) delivered as a call on the single method of interface FredListener, (2) has a single argument of type FredEvent, and (3) where the FredListener may be registered with a call on an addFredListener method of the source component and removed with a call on a removeFredListener method. |
|
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String listenerMethodName)
Creates an EventSetDescriptor assuming that you are following the most simple standard design pattern where a named event "fred" is (1) delivered as a call on the single method of interface FredListener, (2) has a single argument of type FredEvent, and (3) where the FredListener may be registered with a call on an addFredListener method of the source component and removed with a call on a removeFredListener method. |
|
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName)
Creates an EventSetDescriptor from scratch using string names. |
|
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName)
Creates an EventSetDescriptor from scratch using string names. |
|
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName,
String getListenerMethodName)
This constructor creates an EventSetDescriptor from scratch using string names. |
|
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName,
String getListenerMethodName)
This constructor creates an EventSetDescriptor from scratch using string names. |
|
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod)
Creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects. |
|
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod,
Method getListenerMethod)
This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects. |
|
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
MethodDescriptor[] listenerMethodDescriptors,
Method addListenerMethod,
Method removeListenerMethod)
Creates an EventSetDescriptor from scratch using java.lang.reflect.MethodDescriptor and java.lang.Class objects. |
|
IndexedPropertyDescriptor(String propertyName,
Class<?> beanClass)
This constructor constructs an IndexedPropertyDescriptor for a property that follows the standard Java conventions by having getFoo and setFoo accessor methods, for both indexed access and array access. |
|
IndexedPropertyDescriptor(String propertyName,
Class<?> beanClass,
String readMethodName,
String writeMethodName,
String indexedReadMethodName,
String indexedWriteMethodName)
This constructor takes the name of a simple property, and method names for reading and writing the property, both indexed and non-indexed. |
|
PropertyDescriptor(String propertyName,
Class<?> beanClass)
Constructs a PropertyDescriptor for a property that follows the standard Java convention by having getFoo and setFoo accessor methods. |
|
PropertyDescriptor(String propertyName,
Class<?> beanClass,
String readMethodName,
String writeMethodName)
This constructor takes the name of a simple property, and method names for reading and writing the property. |
|
| Uses of Class in java.beans.beancontext |
|---|
| Fields in java.beans.beancontext declared as Class | |
|---|---|
protected Class |
BeanContextServiceRevokedEvent.serviceClass
A Class reference to the service that is being revoked. |
protected Class |
BeanContextServiceAvailableEvent.serviceClass
A Class reference to the newly available service |
| Methods in java.beans.beancontext that return Class | |
|---|---|
Class |
BeanContextServiceRevokedEvent.getServiceClass()
Gets the service class that is the subject of this notification |
Class |
BeanContextServiceAvailableEvent.getServiceClass()
Gets the service class that is the subject of this notification. |
| Methods in java.beans.beancontext with parameters of type Class | |
|---|---|
boolean |
BeanContextServicesSupport.addService(Class serviceClass,
BeanContextServiceProvider bcsp)
add a service |
boolean |
BeanContextServices.addService(Class serviceClass,
BeanContextServiceProvider serviceProvider)
Adds a service to this BeanContext. |
protected boolean |
BeanContextServicesSupport.addService(Class serviceClass,
BeanContextServiceProvider bcsp,
boolean fireEvent)
add a service |
protected static boolean |
BeanContextSupport.classEquals(Class first,
Class second)
Tests to see if two class objects, or their names are equal. |
protected static boolean |
BeanContextSupport.classEquals(Class first,
Class second)
Tests to see if two class objects, or their names are equal. |
protected BeanContextServicesSupport.BCSSServiceProvider |
BeanContextServicesSupport.createBCSSServiceProvider(Class sc,
BeanContextServiceProvider bcsp)
subclasses can override this method to create new subclasses of BCSSServiceProvider without having to overrride addService() in order to instantiate. |
protected void |
BeanContextServicesSupport.fireServiceAdded(Class serviceClass)
Fires a BeanContextServiceEvent notifying of a new service. |
protected void |
BeanContextServicesSupport.fireServiceRevoked(Class serviceClass,
boolean revokeNow)
Fires a BeanContextServiceRevokedEvent indicating that a particular service is no longer available. |
Iterator |
BeanContextServicesSupport.BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices bcs,
Class serviceClass)
|
Iterator |
BeanContextServiceProvider.getCurrentServiceSelectors(BeanContextServices bcs,
Class serviceClass)
Invoked by BeanContextServices, this method
gets the current service selectors for the specified service. |
Iterator |
BeanContextServicesSupport.getCurrentServiceSelectors(Class serviceClass)
|
Iterator |
BeanContextServices.getCurrentServiceSelectors(Class serviceClass)
Gets the list of service dependent service parameters (Service Selectors) for the specified service, by calling getCurrentServiceSelectors() on the underlying BeanContextServiceProvider. |
Object |
BeanContextServicesSupport.getService(BeanContextChild child,
Object requestor,
Class serviceClass,
Object serviceSelector,
BeanContextServiceRevokedListener bcsrl)
obtain a service which may be delegated |
Object |
BeanContextServices.getService(BeanContextChild child,
Object requestor,
Class serviceClass,
Object serviceSelector,
BeanContextServiceRevokedListener bcsrl)
A BeanContextChild, or any arbitrary object
associated with a BeanContextChild, may obtain
a reference to a currently registered service from its
nesting BeanContextServices
via invocation of this method. |
Object |
BeanContextServicesSupport.BCSSProxyServiceProvider.getService(BeanContextServices bcs,
Object requestor,
Class serviceClass,
Object serviceSelector)
|
Object |
BeanContextServiceProvider.getService(BeanContextServices bcs,
Object requestor,
Class serviceClass,
Object serviceSelector)
Invoked by BeanContextServices, this method
requests an instance of a
service from this BeanContextServiceProvider. |
boolean |
BeanContextServicesSupport.hasService(Class serviceClass)
has a service, which may be delegated |
boolean |
BeanContextServices.hasService(Class serviceClass)
Reports whether or not a given service is currently available from this context. |
boolean |
BeanContextServiceRevokedEvent.isServiceClass(Class service)
Checks this event to determine whether or not the service being revoked is of a particular class. |
void |
BeanContextServicesSupport.revokeService(Class serviceClass,
BeanContextServiceProvider bcsp,
boolean revokeCurrentServicesNow)
remove a service |
void |
BeanContextServices.revokeService(Class serviceClass,
BeanContextServiceProvider serviceProvider,
boolean revokeCurrentServicesNow)
BeanContextServiceProviders wishing to remove a currently registered service from this context may do so via invocation of this method. |
| Constructors in java.beans.beancontext with parameters of type Class | |
|---|---|
BeanContextServiceAvailableEvent(BeanContextServices bcs,
Class sc)
Construct a BeanContextAvailableServiceEvent. |
|
BeanContextServiceRevokedEvent(BeanContextServices bcs,
Class sc,
boolean invalidate)
Construct a BeanContextServiceEvent. |
|
| Uses of Class in java.io |
|---|
| Methods in java.io that return Class | |
|---|---|
Class<?> |
ObjectStreamClass.forClass()
Return the class in the local VM that this version is mapped to. |
Class<?> |
ObjectStreamField.getType()
Get the type of the field. |
protected Class<?> |
ObjectInputStream.resolveClass(ObjectStreamClass desc)
Load the local class equivalent of the specified stream class description. |
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. |
| Methods in java.io with parameters of type Class | |
|---|---|
protected void |
ObjectOutputStream.annotateClass(Class<?> cl)
Subclasses may implement this method to allow class data to be stored in the stream. |
protected void |
ObjectOutputStream.annotateProxyClass(Class<?> cl)
Subclasses may implement this method to store custom data in the stream along with descriptors for dynamic proxy classes. |
static ObjectStreamClass |
ObjectStreamClass.lookup(Class<?> cl)
Find the descriptor for a class that can be serialized. |
| Constructors in java.io with parameters of type Class | |
|---|---|
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. |
|
| Uses of Class in java.lang |
|---|
| Fields in java.lang declared as Class | |
|---|---|
static Class<Void> |
Void.TYPE
The Class object representing the primitive Java type void. |
static Class<Double> |
Double.TYPE
The Class instance representing the primitive type
double. |
static Class<Float> |
Float.TYPE
The Class instance representing the primitive type
float. |
static Class<Short> |
Short.TYPE
The Class instance representing the primitive type
short. |
static Class<Byte> |
Byte.TYPE
The Class instance representing the primitive type
byte. |
static Class<Integer> |
Integer.TYPE
The Class instance representing the primitive type
int. |
static Class<Character> |
Character.TYPE
The Class instance representing the primitive type
char. |
static Class<Boolean> |
Boolean.TYPE
The Class object representing the primitive type boolean. |
static Class<Long> |
Long.TYPE
The Class instance representing the primitive type
long. |
| Methods in java.lang that return Class | ||
|---|---|---|
|
Class.asSubclass(Class<U> clazz)
Casts this Class object to represent a subclass of the class represented by the specified class object. |
|
protected Class<?> |
SecurityManager.currentLoadedClass()
Deprecated. This type of security checking is not recommended. It is recommended that the checkPermission
call be used instead. |
|
protected Class<?> |
ClassLoader.defineClass(byte[] b,
int off,
int len)
Deprecated. Replaced by defineClass(String, byte[], int, int) |
|
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 Class<?> |
ClassLoader.defineClass(String name,
ByteBuffer b,
ProtectionDomain protectionDomain)
Converts a ByteBuffer
into an instance of class Class,
with an optional ProtectionDomain. |
|
Class<? extends Enum> |
EnumConstantNotPresentException.enumType()
Returns the type of the missing enum constant. |
|
protected Class<?> |
ClassLoader.findClass(String name)
Finds the class with the specified binary name. |
|
protected Class<?> |
ClassLoader.findLoadedClass(String name)
Returns the class with the given binary name if this loader has been recorded by the Java virtual machine as an initiating loader of a class with that binary name. |
|
protected Class<?> |
ClassLoader.findSystemClass(String name)
Finds a class with the specified binary 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. |
|
Class<? extends Object> |
Object.getClass()
Returns the runtime class of an object. |
|
protected Class[] |
SecurityManager.getClassContext()
Returns the current execution stack as an array of classes. |
|
Class[] |
Class.getClasses()
Returns an array containing Class objects representing all
the public classes and interfaces that are members of the class
represented by this Class object. |
|
Class<?> |
Class.getComponentType()
Returns the Class representing the component type of an
array. |
|
Class[] |
Class.getDeclaredClasses()
Returns an array of Class objects reflecting all the
classes and interfaces declared as members of the class represented by
this Class object. |
|
Class<E> |
Enum.getDeclaringClass()
Returns the Class object corresponding to this enum constant's enum type. |
|
Class<?> |
Class.getDeclaringClass()
If the class or interface represented by this Class object
is a member of another class, returns the Class object
representing the class in which it was declared. |
|
Class<?> |
Class.getEnclosingClass()
Returns the immediately enclosing class of the underlying class. |
|
Class[] |
Class.getInterfaces()
Determines the interfaces implemented by the class or interface represented by this object. |
|
Class<? super T> |
Class.getSuperclass()
Returns the Class representing the superclass of the entity
(class, interface, primitive type or void) represented by this
Class. |
|
Class<?> |
ClassLoader.loadClass(String name)
Loads the class with the specified binary name. |
|
protected Class<?> |
ClassLoader.loadClass(String name,
boolean resolve)
Loads the class with the specified binary name. |
|
| Methods in java.lang with parameters of type Class | ||
|---|---|---|
|
Class.asSubclass(Class<U> clazz)
Casts this Class object to represent a subclass of the class represented by the specified class object. |
|
void |
SecurityManager.checkMemberAccess(Class<?> clazz,
int which)
Throws a SecurityException if the
calling thread is not allowed to access members. |
|
static boolean |
Compiler.compileClass(Class<?> clazz)
Compiles the specified class. |
|
|
Package.getAnnotation(Class<A> annotationClass)
|
|
|
Class.getAnnotation(Class<A> annotationClass)
Returns this element's annotation for the specified type if such an annotation is present, else null. |
|
Constructor<T> |
Class.getConstructor(Class... parameterTypes)
Returns a Constructor object that reflects the specified
public constructor of the class represented by this Class
object. |
|
Constructor<T> |
Class.getDeclaredConstructor(Class... parameterTypes)
Returns a Constructor object that reflects the specified
constructor 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. |
|
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. |
|
boolean |
Pa | |