org.overlord.sramp.shell.api
Class Arguments
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<String>
org.overlord.sramp.shell.api.Arguments
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<String>, Collection<String>, List<String>, RandomAccess
public class Arguments
- extends ArrayList<String>
A class that can parse the arguments that should be passed to a command.
- Author:
- eric.wittmann@redhat.com
- See Also:
- Serialized Form
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Arguments
public Arguments(String arguments)
- Constructor.
- Parameters:
arguments -
removeCommandName
public QName removeCommandName()
- Remove, decode, and return the command name.
Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.