?? managedfileclassloader.java
字號:
package org.codehaus.classloader;
import java.io.File;
/**
* This class loader will delegate to the ClassLoaderManager object when a class or resource
* is not found within the realm of its own directory or jar file.
* <p>
* @author Ben Yu
* Aug 3, 2006 12:36:34 PM
*/
public class ManagedFileClassLoader extends ManagedURLClassLoader {
private final File file;
private final long timestamp;
public ManagedFileClassLoader(ClassLoaderManager man, File file,
ClassLoader parent) {
super(man, Util.toURLs(file), parent);
this.file = file;
this.timestamp = file.lastModified();
}
public ManagedFileClassLoader(ClassLoaderManager man, File file) {
super(man, Util.toURLs(file));
this.file = file;
this.timestamp = file.lastModified();
}
public File getFile() {
return file;
}
public long getTimestamp() {
return timestamp;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -