All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pw.mihou.dotenv.adapters.ReflectiveAdapter Maven / Gradle / Ivy

Go to download

A simple, dependency-free dotenv serializator and deserializator for Java.

The newest version!
package pw.mihou.dotenv.adapters;

import java.util.Map;

public interface ReflectiveAdapter {

    /**
     * This method allows you to parse the environment
     * value yourself that will be filled in by {@link pw.mihou.dotenv.types.ReflectiveDotenv}
     * if the field matches the type set here.
     *
     * @param value The value from the environment.
     * @param map The key-value pair map containing all the environment key-values.
     * @return The value to fill.
     */
    T parse(String value, Map map);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy