Class ProjectionCLI

  • All Implemented Interfaces:
    CLIModule

    public class ProjectionCLI
    extends java.lang.Object
    implements CLIModule
    Command line interface for projecting coordinates.
    Since:
    12792
    • Constructor Summary

      Constructors 
      Constructor Description
      ProjectionCLI()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static CustomProjection createProjection​(java.lang.String params)  
      java.lang.String getActionKeyword()
      Get the action keyword that the user needs to provide as first command line argument to invoke this module.
      private static java.lang.String getHelp()  
      static void main​(java.lang.String[] args)
      Main class to run just the projection CLI.
      private static double parseDouble​(java.lang.String s)  
      private EastNorth parseEastNorth​(java.lang.String s, java.util.function.ToDoubleFunction<java.lang.String> parser)  
      void processArguments​(java.lang.String[] argArray)
      Process the remaining command line arguments and run any of the requested actions.
      private void processInput​(CustomProjection fromProj, CustomProjection toProj, java.io.BufferedReader reader)  
      private void run​(java.lang.String fromStr, java.lang.String toStr, java.util.List<java.lang.String> files)  
      private static void showHelp()
      Displays help on the console
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait