Package de.mhus.lib.core.vault
Interface VaultMutator
-
- All Known Implementing Classes:
DefaultVaultMutator
public interface VaultMutator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TadaptTo(VaultEntry entry, Class<? extends T> ifc)Try to adapt the entry to the given class or interface.
-
-
-
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
-
-