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

org.schoellerfamily.gedbrowser.api.GedbrowserPropertiesService Maven / Gradle / Ivy

There is a newer version: 1.3.0-RC2
Show newest version
package org.schoellerfamily.gedbrowser.api;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * @author Dick Schoeller
 */
@Service
public class GedbrowserPropertiesService {
    /** */
    @Value("${gedbrowser.home:/var/lib/gedbrowser}")
    private transient String gedbrowserHome;

    /**
     * Get the location of the gedbrowser configuration directory.
     * Defaults to /var/lib/gedbrowser.
     * @return the location string
     */
    public String gedbrowserHome() {
        return gedbrowserHome;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy