edu.stanford.nlp.ui
Class JarFileChooser

java.lang.Object
  extended by 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
JarFileChooser(String pattern, JPanel panel)
           
 
Method Summary
 List<String> getFiles(File jarFile)
           
 String show(String filename, Point location)
           
 String showListSelectionDialog(List<String> files, Point location)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarFileChooser

public JarFileChooser(String pattern,
                      JPanel panel)
Method Detail

show

public String show(String filename,
                   Point location)

showListSelectionDialog

public String showListSelectionDialog(List<String> files,
                                      Point location)

getFiles

public List<String> getFiles(File jarFile)
                      throws ZipException,
                             IOException
Throws:
ZipException
IOException


Stanford NLP Group