Package edu.stanford.nlp.ui
Class JarFileChooser
- java.lang.Object
-
- edu.stanford.nlp.ui.JarFileChooser
-
public class JarFileChooser extends Object
This class shows a dialog which lets the user select a file from among a list of files contained in a given jar file. (This should work for zip files as well, actually.)- Author:
- John Bauer
-
-
Constructor Summary
Constructors Constructor Description JarFileChooser(String pattern, JPanel panel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getFiles(File jarFile)Stringshow(String filename, Point location)StringshowListSelectionDialog(List<String> files, Point location)
-
-
-
Method Detail
-
getFiles
public List<String> getFiles(File jarFile) throws ZipException, IOException
- Throws:
ZipExceptionIOException
-
-