1 /*
2 * Copyright (c) 2001 by
3 * Siegfried GOESCHL <mailto:siegfried.goeschl@itserv.at>
4 * and Dima STADNIK <mailto:5d5@mail.ru>
5 *
6 * This program is free software.
7 *
8 * You may redistribute it and/or modify it under the terms of the GNU
9 * General Public License as published by the Free Software Foundation.
10 * Version 2 of the license should be included with this distribution in
11 * the file LICENSE, as well as License.html. If the license is not
12 * included with this distribution, you may find a copy at the FSF web
13 * site at 'www.gnu.org' or 'www.fsf.org', or you may write to the
14 * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139 USA.
15 *
16 * THIS SOFTWARE IS PROVIDED AS-IS WITHOUT WARRANTY OF ANY KIND,
17 * NOT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY. THE AUTHOR
18 * OF THIS SOFTWARE, ASSUMES _NO_ RESPONSIBILITY FOR ANY
19 * CONSEQUENCE RESULTING FROM THE USE, MODIFICATION, OR
20 * REDISTRIBUTION OF THIS SOFTWARE.
21 */
22
23 package junit.extensions.conf;
24
25
26 /***
27 * Provides access to configuration database.
28 *
29 * @author Siegfried GOESCHL
30 */
31 public interface Configuration {
32
33 boolean getBoolean(Object base, String modifier, String key) throws IllegalArgumentException;
34
35 byte getByte(Object base, String modifier, String key) throws IllegalArgumentException;
36
37 char getChar(Object base, String modifier, String key) throws IllegalArgumentException;
38
39 double getDouble(Object base, String modifier, String key) throws IllegalArgumentException;
40
41 float getFloat(Object base, String modifier, String key) throws IllegalArgumentException;
42
43 int getInteger(Object base, String modifier, String key) throws IllegalArgumentException;
44
45 long getLong(Object base, String modifier, String key) throws IllegalArgumentException;
46
47 short getShort(Object base, String modifier, String key) throws IllegalArgumentException;
48
49 String getString(Object base, String modifier, String key) throws IllegalArgumentException;
50
51 String[] getStrings(Object base, String modifier, String key) throws IllegalArgumentException;
52 }
53
This page was automatically generated by Maven