All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.beigesoft.lang.IUrlClassLoader Maven / Gradle / Ivy

Go to download

A-Jetty Base can run on Android Java as well as on standard Java 7+ and it can run precompiled JSP/JSTL.

There is a newer version: 1.0.5
Show newest version
package org.beigesoft.lang;

/*
 * Beigesoft ™
 *
 * Licensed under the Apache License, Version 2.0
 *
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 */

import java.util.Enumeration;
import java.io.IOException;
import java.net.URL;

/**
 * 

Cross platform abstraction of UrlClassLoader.

* * @author Yury Demidenko */ public interface IUrlClassLoader { /** *

Find class.

* @param pName class name * @return class if exist * @throws ClassNotFoundException ClassNotFoundException **/ Class findClass(String pName) throws ClassNotFoundException; /** *

Add URL.

* @param pUrl URL **/ void addUrl(URL pUrl); /** *

Get resources.

* @param pName class name * @return resources * @throws IOException IOException **/ Enumeration getResources(String pName) throws IOException; /** *

Get resource.

* @param pName class name * @return resource **/ URL getResource(String pName); /** *

Load class.

* @param pName class name * @return class * @throws ClassNotFoundException ClassNotFoundException **/ Class loadClass(String pName) throws ClassNotFoundException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy