gnu.classpath.tools.getopt
Class FileArgumentCallback

java.lang.Object
  extended by gnu.classpath.tools.getopt.FileArgumentCallback

public abstract class FileArgumentCallback
extends Object

This is a callback class which is used when a "file name" is found by the command-line parser. A file name is any command-line argument which does not start with a dash and which is not the argument of some preceding option.


Method Summary
abstract  void notifyFile(String fileArgument)
          This is called when a file argument is seen.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

notifyFile

public abstract void notifyFile(String fileArgument)
                         throws OptionException
This is called when a file argument is seen.

Parameters:
fileArgument - the file name
Throws:
OptionException