tech.ferus.util.config.transformer.Transformer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ConfigKeys Show documentation
Show all versions of ConfigKeys Show documentation
ConfigKeys is a simple wrapper for zml's Configurate, providing a more stream-lined way to access configuration on-the-fly.
The newest version!
package tech.ferus.util.config.transformer;
import ninja.leaping.configurate.ConfigurationNode;
/**
* This interface can be implemented to create any number of transformers.
*
* @param the type of value to give back after converting
*/
public interface Transformer {
/**
* Transforms a given node into a specified format.
*
* @param node the given node to transform
* @return the transformed values from the node
* @throws TransformerException if an exception occurs during transformation.
*/
T transform(final ConfigurationNode node) throws TransformerException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy