Class DefaultVaultMutator

    • Constructor Detail

      • DefaultVaultMutator

        public DefaultVaultMutator()
    • Method Detail

      • adaptTo

        public <T> T adaptTo​(VaultEntry entry,
                             Class<? extends T> ifc)
                      throws ParseException,
                             de.mhus.lib.errors.NotSupportedException
        Try to adapt the entry to the given class or interface.
        Specified by:
        adaptTo in interface VaultMutator
        Parameters:
        entry -
        ifc -
        Returns:
        The requested interface or class.
        Throws:
        de.mhus.lib.errors.NotSupportedException - Thrown if the entry can't be adapted to the interface.
        ParseException