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.


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

Constructor Detail

FileArgumentCallback

protected FileArgumentCallback()
Create a new instance.

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