Class TempFileProps

java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
com.inductiveautomation.ignition.common.util.TempFileProps
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class TempFileProps extends Properties
See Also:
  • Method Details

    • getInstance

      public static TempFileProps getInstance()
    • setProperty

      public Object setProperty(String key, String value)
      Overrides:
      setProperty in class Properties
    • setMultipleProperties

      public void setMultipleProperties(String[] keys, String[] values)
    • isTempDirAvailable

      public boolean isTempDirAvailable()
      Returns true iff getTempDir() will return non-null (the temp dir was created/found successfully)
    • getTempDir

      public File getTempDir()
      Returns the temporary directory as a File object, or null if the temp dir wasn't found and couldn't be created
    • getSubFilePath

      public String getSubFilePath(String name)
      Returns a path that points to a sub file/folder under the temp dir
    • getSubFilePath

      public String getSubFilePath(String name, boolean trailingFileSep)
      Returns a path that points to a sub file/folder under the temp dir, with an optional trailing file separator character