Interface VaultMutator

    • Method Detail

      • adaptTo

        <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.
        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