| Modifier and Type | Class and Description |
|---|---|
| private class | VersionHelper.
Given an enumeration of URLs, an instance of this class represents an enumeration of their InputStreams. |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| private static final VersionHelper | |
| public static final int | |
| public static final int | |
| pack-priv static final String[] | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv ClassLoader | |
| pack-priv InputStream | |
| pack-priv String[] | |
| pack-priv String | |
| pack-priv InputStream | |
| pack-priv NamingEnumeration | |
| public static VersionHelper | |
| public Class | |
| pack-priv Class | |
| pack-priv Class | |
| public Class | |
| private static String |
| CONTROL_FACTORIES | back to summary |
|---|---|
| public static final int CONTROL_FACTORIES | |
| DNS_URL | back to summary |
|---|---|
| public static final int DNS_URL | |
| helper | back to summary |
|---|---|
| private static final VersionHelper helper | |
| INITIAL_CONTEXT_FACTORY | back to summary |
|---|---|
| public static final int INITIAL_CONTEXT_FACTORY | |
| OBJECT_FACTORIES | back to summary |
|---|---|
| public static final int OBJECT_FACTORIES | |
| PROPS | back to summary |
|---|---|
| pack-priv static final String[] PROPS | |
| PROVIDER_URL | back to summary |
|---|---|
| public static final int PROVIDER_URL | |
| STATE_FACTORIES | back to summary |
|---|---|
| public static final int STATE_FACTORIES | |
| URL_PKG_PREFIXES | back to summary |
|---|---|
| public static final int URL_PKG_PREFIXES | |
| VersionHelper | back to summary |
|---|---|
| private VersionHelper() | |
| getContextClassLoader | back to summary |
|---|---|
| pack-priv ClassLoader getContextClassLoader() Package private. This internal method returns Thread Context Class Loader (TCCL), if null, returns the system Class Loader. Please don't expose this method as public.
| |
| getJavaHomeConfStream | back to summary |
|---|---|
| pack-priv InputStream getJavaHomeConfStream(String filename) | |
| getJndiProperties | back to summary |
|---|---|
| pack-priv String[] getJndiProperties() | |
| getJndiProperty | back to summary |
|---|---|
| pack-priv String getJndiProperty(int i) | |
| getResourceAsStream | back to summary |
|---|---|
| pack-priv InputStream getResourceAsStream(Class<?> c, String name) | |
| getResources | back to summary |
|---|---|
| pack-priv NamingEnumeration | |
| getVersionHelper | back to summary |
|---|---|
| public static VersionHelper getVersionHelper() | |
| loadClass | back to summary |
|---|---|
| public Class | |
| loadClass | back to summary |
|---|---|
| pack-priv Class Package private. This internal method is used with Thread Context Class Loader (TCCL), please don't expose this method as public. | |
| loadClass | back to summary |
|---|---|
| pack-priv Class | |
| loadClassWithoutInit | back to summary |
|---|---|
| public Class | |
| resolveName | back to summary |
|---|---|
| private static String resolveName(Class<?> c, String name) | |
| Modifier and Type | Field and Description |
|---|---|
| private InputStream | |
| private final Enumeration |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private InputStream | |
| public boolean | hasMore()
Implements javax. Determines whether there are any more elements in the enumeration. |
| public boolean | hasMoreElements()
Implements java. Tests if this enumeration contains more elements. |
| public InputStream | next()
Implements javax. Retrieves the next element in the enumeration. |
| public InputStream | nextElement()
Implements java. Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
| nextElement | back to summary |
|---|---|
| private InputStream nextElement | |
| urls | back to summary |
|---|---|
| private final Enumeration<URL> urls | |
| InputStreamEnumeration | back to summary |
|---|---|
| pack-priv InputStreamEnumeration(Enumeration<URL> urls) | |
| close | back to summary |
|---|---|
| public void close() Implements javax. Doc from javax. Closes this enumeration.
After this method has been invoked on this enumeration, the
enumeration becomes invalid and subsequent invocation of any of
its methods will yield undefined results.
This method is intended for aborting an enumeration to free up resources.
If an enumeration proceeds to the end--that is, until
This method indicates to the service provider that it is free
to release resources associated with the enumeration, and can
notify servers to cancel any outstanding requests. The | |
| getNextElement | back to summary |
|---|---|
| private InputStream getNextElement() | |
| hasMore | back to summary |
|---|---|
| public boolean hasMore() Implements javax. Doc from javax. Determines whether there are any more elements in the enumeration. This method allows naming exceptions encountered while determining whether there are more elements to be caught and handled by the application. | |
| hasMoreElements | back to summary |
|---|---|
| public boolean hasMoreElements() Implements java. Doc from java. Tests if this enumeration contains more elements. | |
| next | back to summary |
|---|---|
| public InputStream next() Implements javax. Doc from javax. Retrieves the next element in the enumeration. This method allows naming exceptions encountered while retrieving the next element to be caught and handled by the application.
Note that | |
| nextElement | back to summary |
|---|---|
| public InputStream nextElement() Implements java. Doc from java. Returns the next element of this enumeration if this enumeration object has at least one more element to provide. | |