Parent Directory | Revision Log | Patch
--- jakarta/commons/proper/cli/trunk/src/java/org/apache/commons/cli2/Option.java 2005/06/03 21:14:45 179891 +++ jakarta/commons/proper/cli/trunk/src/java/org/apache/commons/cli2/Option.java 2005/06/03 21:15:13 179892 @@ -1,5 +1,5 @@ /** - * Copyright 2003-2004 The Apache Software Foundation + * Copyright 2003-2005 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -65,7 +65,7 @@ public interface Option { * The argument to be tested * @return true if the argument can be processed by this Option */ - boolean canProcess(final String argument); + boolean canProcess(final WriteableCommandLine commandLine, final String argument); /** * Indicates whether this Option will be able to process the particular @@ -77,7 +77,7 @@ public interface Option { * the ListIterator over String arguments * @return true if the argument can be processed by this Option */ - boolean canProcess(final ListIterator arguments); + boolean canProcess(final WriteableCommandLine commandLine, final ListIterator arguments); /** * Identifies the argument prefixes that should trigger this option. This
infrastructure at apache.org | ViewVC Help |
Powered by ViewVC 1.1.26 |