public class ResourceOverridingShadowingClassLoader extends ShadowingClassLoader
DEFAULT_EXCLUDED_PACKAGES| コンストラクターと説明 |
|---|
ResourceOverridingShadowingClassLoader(ClassLoaderSE enclosingClassLoader) 指定された ClassLoader を装飾して、新しい ResourceOverridingShadowingClassLoader を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | copyOverrides(ResourceOverridingShadowingClassLoader other) 指定された ClassLoader からすべてのオーバーライドをコピーします。 |
URLSE | getResource(StringSE requestedPath) |
InputStreamSE | getResourceAsStream(StringSE requestedPath) |
EnumerationSE<URLSE> | getResources(StringSE requestedPath) |
void | override(StringSE oldPath, StringSE newPath) 古いパスにあるリソースを見つけようとして、新しいパスにあるリソース(存在する場合)を返します。 |
void | suppress(StringSE oldPath) 指定されたパスを持つリソースが見つからないことを確認してください。 |
addTransformer, copyTransformers, isEligibleForShadowing, loadClassexcludeClass, excludePackage, isExcludedclearAssertionStatusSE, defineClassSE, defineClassSE, defineClassSE, defineClassSE, definePackageSE, findClassSE, findLibrarySE, findLoadedClassSE, findResourceSE, findResourcesSE, findSystemClassSE, getClassLoadingLockSE, getPackageSE, getPackagesSE, getParentSE, getSystemClassLoaderSE, getSystemResourceSE, getSystemResourceAsStreamSE, getSystemResourcesSE, loadClassSE, registerAsParallelCapableSE, resolveClassSE, setClassAssertionStatusSE, setDefaultAssertionStatusSE, setPackageAssertionStatusSE, setSignersSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic ResourceOverridingShadowingClassLoader(ClassLoaderSE enclosingClassLoader)
enclosingClassLoader - ClassLoader を飾る public void override(StringSE oldPath, StringSE newPath)
oldPath - リクエストされたパス newPath - 検索する実際のパス public void suppress(StringSE oldPath)
oldPath - 親 ClassLoader に存在する場合でも非表示にするリソースのパス public void copyOverrides(ResourceOverridingShadowingClassLoader other)
other - コピー元のもう 1 つの ClassLoaderpublic URLSE getResource(StringSE requestedPath)
ShadowingClassLoader の getResource @Nullable public InputStreamSE getResourceAsStream(StringSE requestedPath)
ShadowingClassLoader の getResourceAsStream public EnumerationSE<URLSE> getResources(StringSE requestedPath) throws IOExceptionSE
ShadowingClassLoader の getResources IOExceptionSE