Interface TrackingFileManager

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean delete​(java.io.File file)
      Deletes the specified properties file, if exists.
      java.util.Properties read​(java.io.File file)
      Reads up the specified properties file into Properties, if exists, otherwise null is returned.
      java.util.Properties update​(java.io.File file, java.util.Map<java.lang.String,​java.lang.String> updates)
      Applies updates to specified properties file and returns resulting Properties with contents same as in updated file, never null.
    • Method Detail

      • read

        java.util.Properties read​(java.io.File file)
        Reads up the specified properties file into Properties, if exists, otherwise null is returned.
      • update

        java.util.Properties update​(java.io.File file,
                                    java.util.Map<java.lang.String,​java.lang.String> updates)
        Applies updates to specified properties file and returns resulting Properties with contents same as in updated file, never null.
      • delete

        boolean delete​(java.io.File file)
        Deletes the specified properties file, if exists. If file existed and was deleted, returns true.
        Since:
        1.9.25