Package org.omegat
Class MainClassLoader
- java.lang.Object
-
- java.lang.ClassLoader
-
- java.security.SecureClassLoader
-
- java.net.URLClassLoader
-
- org.omegat.MainClassLoader
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public final class MainClassLoader extends java.net.URLClassLoader
-
-
Constructor Summary
Constructors Constructor Description MainClassLoader()
MainClassLoader(java.lang.ClassLoader parent)
MainClassLoader(java.lang.String name, java.lang.ClassLoader parent)
Java9 compatible class loader constructor.MainClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MainClassLoader
findAncestor(java.lang.ClassLoader cl)
-
Methods inherited from class java.net.URLClassLoader
close, findResource, findResources, getResourceAsStream, getURLs, newInstance, newInstance
-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, getDefinedPackage, getDefinedPackages, getName, getParent, getPlatformClassLoader, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
-
-
-
-
Constructor Detail
-
MainClassLoader
public MainClassLoader(java.lang.String name, java.lang.ClassLoader parent)
Java9 compatible class loader constructor.- Parameters:
name
- name of class loaderparent
-
-
MainClassLoader
public MainClassLoader(java.lang.ClassLoader parent)
-
MainClassLoader
public MainClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent)
-
MainClassLoader
public MainClassLoader()
-
-
Method Detail
-
findAncestor
public static MainClassLoader findAncestor(java.lang.ClassLoader cl)
-
-