Class DefaultCommand
- java.lang.Object
-
- com.thebuzzmedia.exiftool.process.command.DefaultCommand
-
- All Implemented Interfaces:
Command
public final class DefaultCommand extends Object implements Command
Default implementation forCommand
interface. This implementation should only be used withCommandBuilder
builder.
-
-
Constructor Summary
Constructors Constructor Description DefaultCommand(String executable, List<String> arguments)
Create command line.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<String>
getArguments()
Command arguments: First item should be the command line executable value. Next items should be the command line arguments.int
hashCode()
String
toString()
-
-
-
Method Detail
-
getArguments
public List<String> getArguments()
Description copied from interface:Command
Command arguments:- First item should be the command line executable value.
- Next items should be the command line arguments.
- Specified by:
getArguments
in interfaceCommand
- Returns:
- Command arguments.
-
-