ingo@1022: /* ingo@1022: * Copyright (c) 2010 by Intevation GmbH ingo@1022: * ingo@1022: * This program is free software under the LGPL (>=v2.1) ingo@1022: * Read the file LGPL.txt coming with the software for details ingo@1022: * or visit http://www.gnu.org/licenses/ if it does not exist. ingo@1022: */ ingo@1022: tim@3: package de.intevation.gnv.propertiesreader; tim@36: tim@3: /** ingo@690: * An interface that defines a single method to retrieve properties specified by ingo@690: * a key. ingo@690: * sascha@684: * @author Tim Englich tim@3: */ tim@3: public interface PropertiesReader { tim@36: ingo@690: /** ingo@690: * Retrieves a property by the given ke<. ingo@690: * ingo@690: * @param key The key of a property. ingo@690: * @param defaultValue The default value which is returned if no property ingo@690: * is found by key. ingo@690: * @return the value of a property. ingo@690: */ tim@3: public String getPropertieValue(String key, String defaultValue); tim@3: } sascha@700: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :