Class KPPBaseKeychainsProvider

    • Constructor Detail

      • KPPBaseKeychainsProvider

        public KPPBaseKeychainsProvider()
    • Method Detail

      • update

        public void update()
        Description copied from class: KPPBaseProvider
        Update provider from config and content of upload folder. If you override this method, call super after your implementation.
        Overrides:
        update in class KPPBaseProvider
      • getKeychains

        public List<KPPKeychain> getKeychains()
        Get a list with all keychains.
        Returns:
        all keychains.
      • updateKeychainsFromSave

        public void updateKeychainsFromSave​(List<KPPKeychain> keychainsFromSave)
        Call this method to update keychains from save action. The keychains from save action are merged into current keychains list. Then this list is sychnronized with the upload folder.
      • isKeychainFile

        public boolean isKeychainFile​(org.apache.commons.fileupload.FileItem item)
        Checks if a given file item is a keychain file.
        Returns:
        true, if it is a keychain file.