@@ -0,0 +1,1608 @@
+/*%0A *%0A *  Copyright 2018 Netflix, Inc.%0A *%0A *     Licensed under the Apache License, Version 2.0 (the %22License%22);%0A *     you may not use this file except in compliance with the License.%0A *     You may obtain a copy of the License at%0A *%0A *         http://www.apache.org/licenses/LICENSE-2.0%0A *%0A *     Unless required by applicable law or agreed to in writing, software%0A *     distributed under the License is distributed on an %22AS IS%22 BASIS,%0A *     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A *     See the License for the specific language governing permissions and%0A *     limitations under the License.%0A *%0A */%0A%0Apackage com.netflix.genie.agent.cli;%0A%0Aimport com.beust.jcommander.IStringConverter;%0Aimport com.beust.jcommander.ParameterException;%0A%0Aimport java.io.File;%0Aimport java.net.URI;%0Aimport java.net.URISyntaxException;%0A%0A/**%0A * Utilities to convert arguments during parsing.%0A * @author mprimi%0A * @since 4.0.0%0A */%0Afinal class ArgumentConverters %7B%0A%0A    /**%0A     * Hide constructor.%0A     */%0A    private ArgumentConverters() %7B%0A    %7D%0A%0A    static final class FileConverter implements IStringConverter%3CFile%3E %7B%0A        @Override%0A        public File convert(final String value) %7B%0A            return new File(value);%0A        %7D%0A    %7D%0A%0A    static final class URIConverter implements IStringConverter%3CURI%3E %7B%0A        @Override%0A        public URI convert(final String value) %7B%0A            try %7B%0A                return new URI(value);%0A            %7D catch (final URISyntaxException e) %7B%0A                throw new ParameterException(%22Invalid URI: %22 + value, e);%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A

Add ArgumentConverters for shared argument converters