|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.ClassLoader
java.security.SecureClassLoader
jp.carabiner.treeeditor.js.AppClassLoader
public class AppClassLoader
アプリケーションのクラスローダです。
| コンストラクタの概要 | |
|---|---|
AppClassLoader(ClassLoader parent)
構築します。 |
|
| メソッドの概要 | |
|---|---|
void |
addFile(File file)
検索対象を追加します。 |
void |
dispose()
破棄します。 |
protected Class<?> |
findClass(String name)
|
protected String |
findLibrary(String libname)
|
protected URL |
findResource(String name)
|
protected Enumeration<URL> |
findResources(String name)
|
ClassLoaderMetrics |
getMetrics()
測定情報を取得します。 |
void |
setLibraryPaths(File[] libraryPaths)
DLL検索対象を設定します。 |
boolean |
update(List<File> files)
更新します。 |
| クラス java.security.SecureClassLoader から継承されたメソッド |
|---|
defineClass, defineClass, getPermissions |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public AppClassLoader(ClassLoader parent)
parent - 親クラスローダ。| メソッドの詳細 |
|---|
public void dispose()
public ClassLoaderMetrics getMetrics()
HasClassLoaderMetrics の記述:
HasClassLoaderMetrics 内の getMetrics
public void addFile(File file)
throws IOException
file - 検索対象。nullは不可。
IOException - 入出力関係のエラー。
public boolean update(List<File> files)
throws IOException
files - ファイルリスト。nullは不可。
IOException - 入出力関係のエラー。public void setLibraryPaths(File[] libraryPaths)
libraryPaths - 検索対象。
protected Class<?> findClass(String name)
throws ClassNotFoundException
ClassLoader 内の findClassClassNotFoundExceptionprotected URL findResource(String name)
ClassLoader 内の findResource
protected Enumeration<URL> findResources(String name)
throws IOException
ClassLoader 内の findResourcesIOExceptionprotected String findLibrary(String libname)
ClassLoader 内の findLibrary
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||