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>
- See Also:
-
Field Summary
Fields inherited from class java.util.Properties
defaults
-
Method Summary
Modifier and TypeMethodDescriptionstatic TempFileProps
getSubFilePath
(String name) Returns a path that points to a sub file/folder under the temp dirgetSubFilePath
(String name, boolean trailingFileSep) Returns a path that points to a sub file/folder under the temp dir, with an optional trailing file separator characterReturns the temporary directory as a File object, or null if the temp dir wasn't found and couldn't be createdboolean
Returns true iff getTempDir() will return non-null (the temp dir was created/found successfully)void
setMultipleProperties
(String[] keys, String[] values) setProperty
(String key, String value) Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
Method Details
-
getInstance
-
setProperty
- Overrides:
setProperty
in classProperties
-
setMultipleProperties
-
isTempDirAvailable
public boolean isTempDirAvailable()Returns true iff getTempDir() will return non-null (the temp dir was created/found successfully) -
getTempDir
Returns the temporary directory as a File object, or null if the temp dir wasn't found and couldn't be created -
getSubFilePath
Returns a path that points to a sub file/folder under the temp dir -
getSubFilePath
Returns a path that points to a sub file/folder under the temp dir, with an optional trailing file separator character
-