uk.ac.ncl.cs.instantsoap.commandlineprocessor.commandFormat
Interface CommandFormatter

All Known Implementing Classes:
DefaultFormatter

public interface CommandFormatter

Format a commandline using a command format.

Author:
Matthew Pocock

Method Summary
 List<String> format(CommandFormat format, List<Argument<String>> args)
          Convert a command format and a list of string arguments into a list of strings making up all of the individual components of a command line.
 

Method Detail

format

List<String> format(CommandFormat format,
                    List<Argument<String>> args)
Convert a command format and a list of string arguments into a list of strings making up all of the individual components of a command line.

Parameters:
format - the commandFormat specifying how options are to be handled
args - a List of Argument objects to format
Returns:
the formatted arguments as a List of Strings.


Copyright © 2006-2008. All Rights Reserved.