java.awt.event.ActionListener, java.util.EventListenerpublic class PlugInInstaller
extends java.lang.Object
implements java.awt.event.ActionListener
| Constructor | Description |
|---|---|
PlugInInstaller() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
actionPerformed(java.awt.event.ActionEvent buttonEvent) |
This method is used solely for the AWT dialogue
|
void |
install() |
Display a file dialogue so a user may install a new plug-in.
|
void |
remove() |
private void unzipMethod(String destPath, Vector entryList) {
FileOutputStream outStream;
BufferedOutputStream buffOutStream;
while ((count = zin.read(data, 0, buffer)) != -1) {
System.out.println("Extracting: " + entryName);
outStream = new FileOutputStream(destPath + pathSep + entryName.getName());
buffOutStream = new BufferedOutputStream(outStream, buffer);
int count;
byte data[] = new byte[buffer];
//System.out.write(x);
buffOutStream.write(data, 0, count);
}
}
|
public void install()
public void actionPerformed(java.awt.event.ActionEvent buttonEvent)
actionPerformed in interface java.awt.event.ActionListenerbuttonEvent - public void remove()