Class RelativeFilePathConverter

  • All Implemented Interfaces:
    org.aesh.command.converter.Converter<RelativeFile,​org.aesh.command.converter.ConverterInvocation>

    public class RelativeFilePathConverter
    extends Object
    implements org.aesh.command.converter.Converter<RelativeFile,​org.aesh.command.converter.ConverterInvocation>
    A converter that builds a RelativeFile that contains both absolute and relative paths.
    Author:
    jdenise@redhat.com
    • Constructor Detail

      • RelativeFilePathConverter

        public RelativeFilePathConverter()
    • Method Detail

      • convert

        public RelativeFile convert​(org.aesh.command.converter.ConverterInvocation converterInvocation)
                             throws org.aesh.command.validator.OptionValidatorException
        Specified by:
        convert in interface org.aesh.command.converter.Converter<RelativeFile,​org.aesh.command.converter.ConverterInvocation>
        Throws:
        org.aesh.command.validator.OptionValidatorException