Skip navigation links
unlimited.fc.server.api

Class FCServerCLIWrapper

    • Constructor Detail

      • FCServerCLIWrapper

        public FCServerCLIWrapper()
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws java.lang.Exception
        Main method. Parses out command line arguments
        Parameters:
        args - String[]
        Throws:
        java.lang.Exception
      • parseCommands

        protected static void parseCommands(java.lang.String[] args,
                                            FCServerIfc fcserver)
                                     throws java.lang.Exception
        CLI parser called by MAIN method to execute commands if not using API. Should only be called by MAIN() methods and unit testers.
        Parameters:
        args - String[]
        Throws:
        java.lang.Exception
      • parseAndGetConnectionArguments

        protected static FCServerCLIWrapper.ConnectionData parseAndGetConnectionArguments(java.lang.String[] args)
                                                                                   throws java.lang.NumberFormatException
        Parse and get the arguments for a connection
        Parameters:
        args - Arguments to use
        Throws:
        java.lang.NumberFormatException
      • usage

        public static void usage()
        Spits out usage for command-line tool usage. Triggered by including the flag -help || --help || -? || --? via the command-line.

Copyright © 2015 Unlimi-Tech Sofware Inc. All Rights Reserved.