public class JARClassProvider extends ClassProvider
Constructor and Description |
---|
JARClassProvider()
Costruttore.
|
Modifier and Type | Method and Description |
---|---|
void |
addJarPath(String strJarPath)
Aggiunge un path al provider.
|
protected byte[] |
readClass(String nameClass)
Legge una classe da uno dei jar in lista.
|
protected byte[] |
readResource(String nameResource)
Legge una risorsa da uno dei jar in lista.
|
void |
removeJarPath(String strJarPath)
Rimuove un path al provider.
|
finalize, loadClass, loadResource
public void addJarPath(String strJarPath)
public void removeJarPath(String strJarPath)
protected byte[] readClass(String nameClass) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
protected byte[] readResource(String nameResource) throws IOException
IOException