01: /* DataSetLoader.java
02: *
03: * DDSteps - Data Driven JUnit Test Steps
04: * Copyright (C) 2005 Jayway AB
05: * www.ddsteps.org
06: *
07: * This library is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU Lesser General Public
09: * License version 2.1 as published by the Free Software Foundation.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: * You should have received a copy of the GNU Lesser General Public
17: * License along with this library; if not, visit
18: * http://www.opensource.org/licenses/lgpl-license.php
19: */
20:
21: package org.ddsteps.dataset;
22:
23: /**
24: * @author adam
25: * @version $Id: DataSetLoader.java,v 1.1 2005/12/03 12:51:41 adamskogman Exp $
26: */
27: public interface DataSetLoader {
28:
29: /**
30: * Load a dataset based on a class name.
31: *
32: * @param clazz
33: * @return A dataset, or null if the class has no dataset
34: */
35: public abstract DataSet loadDataSet(Class clazz);
36:
37: }
|