Class ConfoundAppDemo


  • public class ConfoundAppDemo
    extends java.lang.Object
    Demonstration of using Confound in an application.

    This application demonstrates using a single confound-app-provider dependency to automatically discover an application data directory in app.data.dir, indicated as a system property or as an environment variable. The directory can be absolute or relative to the user home directory. The configuration file will be discovered in that directory with the base filename config and an extension based upon the file format providers installed.

    By default properties files and XML properties files are supported.

    Author:
    Garret Wilson
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfoundAppDemo()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Main application entry point.
      • Methods inherited from class java.lang.Object

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

      • ConfoundAppDemo

        public ConfoundAppDemo()
    • Method Detail

      • main

        public static void main​(@Nonnull
                                java.lang.String[] args)
        Main application entry point.
        Parameters:
        args - Command-line arguments.