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 SummaryFields inherited from class java.util.Propertiesdefaults
- 
Method SummaryModifier and TypeMethodDescriptionstatic TempFilePropsgetSubFilePath(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 createdbooleanReturns true iff getTempDir() will return non-null (the temp dir was created/found successfully)voidsetMultipleProperties(String[] keys, String[] values) setProperty(String key, String value) Methods inherited from class java.util.Propertiesclear, 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:
- setPropertyin class- Properties
 
- 
setMultipleProperties
- 
isTempDirAvailablepublic boolean isTempDirAvailable()Returns true iff getTempDir() will return non-null (the temp dir was created/found successfully)
- 
getTempDirReturns the temporary directory as a File object, or null if the temp dir wasn't found and couldn't be created
- 
getSubFilePathReturns a path that points to a sub file/folder under the temp dir
- 
getSubFilePathReturns a path that points to a sub file/folder under the temp dir, with an optional trailing file separator character
 
-