Class FileNameArgument

  • All Implemented Interfaces:

    
    public class FileNameArgument
    extends StringArgument<S, R>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final int minLength
      public final int maxLength
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      List<String> tab(@NonNull() Context<CommandSender, Unit> context, @NonNull() String remaining)
      • Methods inherited from class pers.neige.colonel.arguments.impl.StringArgument

        builder, getMaxLength, getMinLength, isReadAll, parse
      • Methods inherited from class pers.neige.colonel.arguments.Argument

        getDefaultValue, getFailExecutor, hasDefaultValue, parse, setDefaultValue, setFailExecutor, setNullFailExecutor
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileNameArgument

        FileNameArgument(File directory)
      • FileNameArgument

        FileNameArgument(File directory, boolean readAll)
    • Method Detail

      • tab

        @NonNull() List<String> tab(@NonNull() Context<CommandSender, Unit> context, @NonNull() String remaining)