|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanecho.JamochaMUD.PlugInInstaller
public class PlugInInstaller
| Constructor Summary | |
|---|---|
PlugInInstaller()
|
|
| Method Summary | |
|---|---|
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); } } |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlugInInstaller()
| Method Detail |
|---|
public void install()
public void actionPerformed(java.awt.event.ActionEvent buttonEvent)
actionPerformed in interface java.awt.event.ActionListenerbuttonEvent - public void remove()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||