java.lang.Object | |
↳ | com.sun.beans.finder.ClassFinder |
This is utility class that provides static
methods
to find a class with the specified name using the specified class loader.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the
Class object associated
with the class or interface with the given string name,
using the default class loader. | |||||||||||
Returns the
Class object associated with
the class or interface with the given string name,
using the given class loader. | |||||||||||
Returns the
Class object associated with
the class or interface with the given string name,
using the given class loader. | |||||||||||
Returns the
Class object associated
with the class or interface with the given string name,
using the default class loader. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns the Class
object associated
with the class or interface with the given string name,
using the default class loader.
The name
can denote an array class
(see getName()
for details).
name | fully qualified name of the desired class |
---|
ClassNotFoundException | if the class cannot be located by the specified class loader |
---|
Returns the Class
object associated with
the class or interface with the given string name,
using the given class loader.
The name
can denote an array class
(see getName()
for details).
If the parameter loader
is null,
the class is loaded through the default class loader.
name | fully qualified name of the desired class |
---|---|
loader | class loader from which the class must be loaded |
ClassNotFoundException | if the class cannot be located by the specified class loader |
---|
Returns the Class
object associated with
the class or interface with the given string name,
using the given class loader.
The name
can denote an array class
(see getName()
for details).
If the parameter loader
is null,
the class is loaded through the default class loader.
This method can be used to obtain
any of the Class
objects
representing void
or primitive Java types:
char
, byte
, short
,
int
, long
, float
,
double
and boolean
.
name | fully qualified name of the desired class |
---|---|
loader | class loader from which the class must be loaded |
ClassNotFoundException | if the class cannot be located by the specified class loader |
---|
findClass(String, ClassLoader)
Returns the Class
object associated
with the class or interface with the given string name,
using the default class loader.
The name
can denote an array class
(see getName()
for details).
This method can be used to obtain
any of the Class
objects
representing void
or primitive Java types:
char
, byte
, short
,
int
, long
, float
,
double
and boolean
.
name | fully qualified name of the desired class |
---|
ClassNotFoundException | if the class cannot be located by the specified class loader |
---|