Package de.das.encrypter.model
Class KeyFiles
- All Implemented Interfaces:
Serializable,Cloneable,Map<Long,KeyFile>
A hash map with the key file objects of all detected keys.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StringThe name of the folder located in the root of drives that can contain keys. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKeyIdByKeyName(String name) Scans all drives form "C" to "Z".Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
FOLDER_NAME
The name of the folder located in the root of drives that can contain keys.
-
-
Constructor Details
-
KeyFiles
public KeyFiles()
-
-
Method Details
-
searchForDrives
Scans all drives form "C" to "Z".- Returns:
- a list with all root folders of all available drives.
-
getKeyIdByKeyName
- Throws:
Exception
-