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
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 handledargs
- a List
of Argument
objects to format
- Returns:
- the formatted arguments as a
List
of String
s.
Copyright © 2006-2008. All Rights Reserved.