Class KeyFiles

All Implemented Interfaces:
Serializable, Cloneable, Map<Long,KeyFile>

public class KeyFiles extends HashMap<Long,KeyFile>
A hash map with the key file objects of all detected keys.
See Also:
  • Field Details

    • FOLDER_NAME

      public static String 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

      public static ArrayList<File> searchForDrives()
      Scans all drives form "C" to "Z".
      Returns:
      a list with all root folders of all available drives.
    • getKeyIdByKeyName

      public Long getKeyIdByKeyName(String name) throws Exception
      Throws:
      Exception