|
||||||||||
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.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.net | Provides the classes for implementing networking applications. |
java.security | Provides the classes and interfaces for the security framework. |
org.dvb.spi | This package defines a central registry for all DVB Service Provider Interface (SPI) providers. |
Uses of Class in java.awt |
---|
Methods in java.awt with parameters of type Class | |
---|---|
static EventListener[] |
AWTEventMulticaster.getListeners(EventListener l,
Class listenerType)
Returns an array of all the objects chained as FooListener s by the specified
java.util.EventListener . |
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. |
Methods in java.io with parameters of type Class | |
---|---|
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 |
Boolean.TYPE
The Class object representing the primitive type boolean. |
static Class |
Character.TYPE
The Class instance representing the primitive type
char . |
static Class |
Float.TYPE
The Class instance representing the primitive type
float . |
static Class |
Double.TYPE
The Class instance representing the primitive type
double . |
static Class |
Byte.TYPE
The Class instance representing the primitive type
byte . |
static Class |
Short.TYPE
The Class instance representing the primitive type
short . |
static Class |
Integer.TYPE
The Class instance representing the primitive type
int . |
static Class |
Long.TYPE
The Class instance representing the primitive type
long . |
static Class |
Void.TYPE
The Class object representing the primitive Java type void. |
Methods in java.lang that return Class | |
---|---|
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 |
Object.getClass()
Returns the runtime class of an object. |
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 |
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.getInterfaces()
Determines the interfaces implemented by the class or interface represented by this object. |
Class |
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 name. |
Methods in java.lang with parameters of type Class | |
---|---|
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. |
Constructor |
Class.getConstructor(Class[] parameterTypes)
Returns a Constructor object that reflects the specified
public constructor of the class represented by this Class
object. |
Constructor |
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 |
Class.isAssignableFrom(Class cls)
Determines if the class or interface represented by this Class object is either the same as, or is a superclass or
superinterface of, the class or interface represented by the specified
Class parameter. |
Uses of Class in java.lang.reflect |
---|
Methods in java.lang.reflect that return Class | |
---|---|
Class |
Member.getDeclaringClass()
Returns the Class object representing the class or interface that declares the member or constructor represented by this Member. |
Class |
Field.getDeclaringClass()
Returns the Class object representing the class or interface
that declares the field represented by this Field object. |
Class |
Method.getDeclaringClass()
Returns the Class object representing the class or interface
that declares the method represented by this Method object. |
Class |
Constructor.getDeclaringClass()
Returns the Class object representing the class that declares
the constructor represented by this Constructor object. |
Class[] |
Method.getExceptionTypes()
Returns an array of Class objects that represent
the types of the exceptions declared to be thrown
by the underlying method
represented by this Method object. |
Class[] |
Constructor.getExceptionTypes()
Returns an array of Class objects that represent the types of
of exceptions declared to be thrown by the underlying constructor
represented by this Constructor object. |
Class[] |
Method.getParameterTypes()
Returns an array of Class objects that represent the formal
parameter types, in declaration order, of the method
represented by this Method object. |
Class[] |
Constructor.getParameterTypes()
Returns an array of Class objects that represent the formal
parameter types, in declaration order, of the constructor
represented by this Constructor object. |
static Class |
Proxy.getProxyClass(ClassLoader loader,
Class[] interfaces)
Returns the java.lang.Class object for a proxy class
given a class loader and an array of interfaces. |
Class |
Method.getReturnType()
Returns a Class object that represents the formal return type
of the method represented by this Method object. |
Class |
Field.getType()
Returns a Class object that identifies the
declared type for the field represented by this
Field object. |
Methods in java.lang.reflect with parameters of type Class | |
---|---|
static Class |
Proxy.getProxyClass(ClassLoader loader,
Class[] interfaces)
Returns the java.lang.Class object for a proxy class
given a class loader and an array of interfaces. |
static boolean |
Proxy.isProxyClass(Class cl)
Returns true if and only if the specified class was dynamically generated to be a proxy class using the getProxyClass
method or the newProxyInstance method. |
static Object |
Array.newInstance(Class componentType,
int length)
Creates a new array with the specified component type and length. |
static Object |
Array.newInstance(Class componentType,
int[] dimensions)
Creates a new array with the specified component type and dimensions. |
static Object |
Proxy.newProxyInstance(ClassLoader loader,
Class[] interfaces,
InvocationHandler h)
Returns an instance of a proxy class for the specified interfaces that dispatches method invocations to the specified invocation handler. |
Uses of Class in java.net |
---|
Methods in java.net with parameters of type Class | |
---|---|
Object |
URL.getContent(Class[] classes)
Gets the contents of this URL. |
Object |
URLConnection.getContent(Class[] classes)
Retrieves the contents of this URL connection. |
Object |
ContentHandler.getContent(URLConnection urlc,
Class[] classes)
Given a URL connect stream positioned at the beginning of the representation of an object, this method reads that stream and creates an object that matches one of the types specified. |
Uses of Class in java.security |
---|
Methods in java.security with parameters of type Class | |
---|---|
KeySpec |
KeyFactory.getKeySpec(Key key,
Class keySpec)
Returns a specification (key material) of the given key object. |
AlgorithmParameterSpec |
AlgorithmParameters.getParameterSpec(Class paramSpec)
Returns a (transparent) specification of this parameter object. |
Uses of Class in org.dvb.spi |
---|
Methods in org.dvb.spi that return Class | |
---|---|
Class[] |
Provider.getServiceProviderInterfaces()
Gives a list of the SPI's implemented by this provider. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |