| Package | Description |
|---|---|
| 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
modules, classes and objects.
|
| 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).
|
| javax.swing |
Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
|
| org.w3c.dom.bootstrap | |
| org.xml.sax.helpers |
This package contains "helper" classes, including
support for bootstrapping SAX-based applications.
|
| Modifier and Type | Method | Description |
|---|---|---|
T |
Class.newInstance() |
Deprecated.
This method propagates any exception thrown by the
nullary constructor, including a checked exception. Use of
this method effectively bypasses the compile-time exception
checking that would otherwise be performed by the compiler.
The
Constructor.newInstance method avoids this problem by wrapping
any exception thrown by the constructor in a (checked) InvocationTargetException.
The call
can be replaced by
The latter sequence of calls is inferred to be able to throw
the additional exception types InvocationTargetException and NoSuchMethodException. Both of these exception types are
subclasses of ReflectiveOperationException. |
| Modifier and Type | Method | Description |
|---|---|---|
T |
Constructor.newInstance(Object... initargs) |
Uses the constructor represented by this
Constructor object to
create and initialize a new instance of the constructor's
declaring class, with the specified initialization parameters. |
| Modifier and Type | Method | Description |
|---|---|---|
ResourceBundle |
ResourceBundle.Control.newBundle(String baseName,
Locale locale,
String format,
ClassLoader loader,
boolean reload) |
Instantiates a resource bundle for the given bundle name of the
given format and locale, using the given class loader if
necessary.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
UIManager.setLookAndFeel(String className) |
Loads the
LookAndFeel specified by the given class
name, using the current thread's context class loader, and
passes it to setLookAndFeel(LookAndFeel). |
| Modifier and Type | Method | Description |
|---|---|---|
static DOMImplementationRegistry |
DOMImplementationRegistry.newInstance() |
Obtain a new instance of a
DOMImplementationRegistry. |
| Modifier and Type | Method | Description |
|---|---|---|
static Parser |
ParserFactory.makeParser() |
Deprecated.
Create a new SAX parser using the `org.xml.sax.parser' system property.
|
static Parser |
ParserFactory.makeParser(String className) |
Deprecated.
Create a new SAX parser object using the class name provided.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b153-2