Class TempFileProps
- java.lang.Object
- 
- java.util.Dictionary<K,V>
- 
- java.util.Hashtable<java.lang.Object,java.lang.Object>
- 
- java.util.Properties
- 
- com.inductiveautomation.ignition.common.util.TempFileProps
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable,- java.util.Map<java.lang.Object,java.lang.Object>
 
 public class TempFileProps extends java.util.Properties- See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TempFilePropsgetInstance()java.lang.StringgetSubFilePath(java.lang.String name)Returns a path that points to a sub file/folder under the temp dirjava.lang.StringgetSubFilePath(java.lang.String name, boolean trailingFileSep)Returns a path that points to a sub file/folder under the temp dir, with an optional trailing file separator characterjava.io.FilegetTempDir()Returns the temporary directory as a File object, or null if the temp dir wasn't found and couldn't be createdbooleanisTempDirAvailable()Returns true iff getTempDir() will return non-null (the temp dir was created/found successfully)voidsetMultipleProperties(java.lang.String[] keys, java.lang.String[] values)java.lang.ObjectsetProperty(java.lang.String key, java.lang.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 Detail- 
getInstancepublic static TempFileProps getInstance() 
 - 
setPropertypublic java.lang.Object setProperty(java.lang.String key, java.lang.String value)- Overrides:
- setPropertyin class- java.util.Properties
 
 - 
setMultiplePropertiespublic void setMultipleProperties(java.lang.String[] keys, java.lang.String[] values)
 - 
isTempDirAvailablepublic boolean isTempDirAvailable() Returns true iff getTempDir() will return non-null (the temp dir was created/found successfully)
 - 
getTempDirpublic java.io.File getTempDir() Returns the temporary directory as a File object, or null if the temp dir wasn't found and couldn't be created
 - 
getSubFilePathpublic java.lang.String getSubFilePath(java.lang.String name) Returns a path that points to a sub file/folder under the temp dir
 - 
getSubFilePathpublic java.lang.String getSubFilePath(java.lang.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
 
- 
 
-