Annotation Type PropertyFile

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String fileName
      The name of the physical file.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<? extends Converters> converter
      Optional: The Converters implementation to be used for converting values to strings and back.
      String fileDir
      Optional: An absolute or relative path leading to the folder containing the physical file.
      Class<? extends Storage> storage
      Optional: The Storage implementation to be used for writing and loading the physical file.
    • Element Detail

      • fileName

        String fileName
        The name of the physical file.

        E.g. mysettings.file

      • fileDir

        String fileDir
        Optional: An absolute or relative path leading to the folder containing the physical file.

        Defaults to the working directory.

        Default:
        "."
      • converter

        Class<? extends Converters> converter
        Optional: The Converters implementation to be used for converting values to strings and back.

        Defaults to DefaultConvertersImpl.

        Default:
        org.crumbleworks.forge.crumbprops.DefaultConvertersImpl.class
      • storage

        Class<? extends Storage> storage
        Optional: The Storage implementation to be used for writing and loading the physical file.

        Defaults to DefaultStorageImpl.

        Default:
        org.crumbleworks.forge.crumbprops.DefaultStorageImpl.class