Examples of FileArgument


Examples of org.jnode.shell.syntax.FileArgument

        nameArg     = new StringArgument("name", Argument.OPTIONAL, help_name);
        inameArg    = new StringArgument("iname", Argument.OPTIONAL, help_iname);
        maxdepthArg = new LongArgument("maxdepth", Argument.OPTIONAL, help_max_depth);
        mindepthArg = new LongArgument("mindepth", Argument.OPTIONAL, help_min_depth);
        typeArg     = new StringArgument("type", Argument.OPTIONAL, help_type);
        dirArg      = new FileArgument("directory", Argument.OPTIONAL | Argument.MULTIPLE, help_dir);
        registerArguments(dirArg, mindepthArg, maxdepthArg, inameArg, nameArg, typeArg);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.FileArgument

   
    private final FileArgument argFile;

    public TouchCommand() {
        super(help_super);
        argFile = new FileArgument("file", Argument.MANDATORY, help_file);
        registerArguments(argFile);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.FileArgument

    private final FlagArgument humanReadableArg;

    public DirCommand() {
        super(help_super);
        humanReadableArg = new FlagArgument("humanReadable", Argument.OPTIONAL, help_humanReadable);
        argPath = new FileArgument("path", Argument.OPTIONAL | Argument.MULTIPLE | Argument.EXISTING, help_path);
        registerArguments(argPath, humanReadableArg);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.FileArgument

     * Default constructor.
     */
    public TeeCommand() {
        super(HELP_SUPER);
        int fileFlags = Argument.MULTIPLE;
        argFile = new FileArgument("files", fileFlags, HELP_FILE);
        argAppend = new FlagArgument("append", 0, HELP_APPEND);
        registerArguments(argFile, argAppend);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.FileArgument

    private FlagArgument argDumpAll;
   
    public SyntaxCommand() {
        super(help_super);
        argAlias   = new AliasArgument("alias", Argument.OPTIONAL, help_alias);
        argFile    = new FileArgument("file", Argument.OPTIONAL, help_file);
        argRemove  = new FlagArgument("remove", Argument.OPTIONAL, help_remove);
        argDump    = new FlagArgument("dump", Argument.OPTIONAL, help_dump);
        argDumpAll = new FlagArgument("dumpAll", Argument.OPTIONAL, help_dump_all);
        registerArguments(argAlias, argFile, argRemove, argDump, argDumpAll);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.FileArgument

    private ScreenBuffer currentBuffer;
   
   
    public PageCommand() {
        super(help_super);
        argFile = new FileArgument("file", Argument.OPTIONAL, help_file);
        registerArguments(argFile);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.FileArgument

    private final FileArgument argFile;
    private final StringArgument argArgs;
   
    public RunCommand() {
        super(help_super);
        argFile =  new FileArgument("file", Argument.MANDATORY | Argument.EXISTING, help_file);
        argArgs = new StringArgument("args", Argument.OPTIONAL | Argument.MULTIPLE, help_args);
        registerArguments(argFile, argArgs);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.FileArgument

        Test    = new FlagArgument("test", Argument.OPTIONAL, help_test);
        Move    = new FlagArgument("move", Argument.OPTIONAL, help_move);
        List    = new FlagArgument("list", Argument.OPTIONAL, help_list);
        NoPath  = new FlagArgument("no-path", Argument.OPTIONAL, help_no_path);
        Patterns = new StringArgument("patterns", Argument.OPTIONAL | Argument.MULTIPLE, help_patterns);
        Archive = new FileArgument("archive", Argument.MANDATORY, help_archive);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.FileArgument

        registerArguments(Archive, Patterns, NoPath, Delete, Freshen, Move, Update);
       
        FilesStdin   = new FlagArgument("files-stdin", Argument.OPTIONAL, help_files_stdin);
        NoDirEntry   = new FlagArgument("no-dirs", Argument.OPTIONAL, help_no_dir);
        Recurse      = new FlagArgument("recurse", Argument.OPTIONAL, help_recurse);
        TmpDir       = new FileArgument("tmp-dir", Argument.OPTIONAL | Argument.EXISTING, help_tmpdir);
        NoCompress   = new StringArgument("no-compress", Argument.OPTIONAL, help_no_compress);
        NewerThan    = new StringArgument("newer", Argument.OPTIONAL, help_newer_than);
        OlderThan    = new StringArgument("older", Argument.OPTIONAL, help_older_than);
        Exclude      = new StringArgument("exclude", Argument.OPTIONAL | Argument.MULTIPLE, help_exclude);
        Include      = new StringArgument("include", Argument.OPTIONAL | Argument.MULTIPLE, help_include);
View Full Code Here

Examples of org.jnode.shell.syntax.FileArgument

   
    public Log4jCommand() {
        super(help_super);
        argList     = new FlagArgument("list", Argument.OPTIONAL, help_list);
        argSetLevel = new FlagArgument("setLevel", Argument.OPTIONAL, help_set_level);
        argFile     = new FileArgument("file", Argument.OPTIONAL, help_file);
        argUrl      = new URLArgument("url", Argument.OPTIONAL, help_url);
        argLevel    = new Log4jLevelArgument("level", Argument.OPTIONAL, help_level);
        argLogger   = new Log4jLoggerArgument("logger", Argument.OPTIONAL, help_logger);
        registerArguments(argSetLevel, argList, argFile, argLevel, argLogger, argUrl);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.