KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > avalon > excalibur > source > SourceFactory


1 /*
2  * Copyright (C) The Apache Software Foundation. All rights reserved.
3  *
4  * This software is published under the terms of the Apache Software License
5  * version 1.1, a copy of which has been included with this distribution in
6  * the LICENSE.txt file.
7  */

8 package org.apache.avalon.excalibur.source;
9
10 import org.apache.avalon.framework.component.Component;
11
12 import java.io.IOException JavaDoc;
13 import java.net.MalformedURLException JavaDoc;
14
15 /**
16  * @author <a HREF="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
17  * @version $Id: SourceFactory.java,v 1.4 2001/12/11 09:53:36 jefft Exp $
18  */

19 public interface SourceFactory
20 extends Component {
21
22     String JavaDoc ROLE = "org.apache.avalon.excalibur.source.SourceFactory";
23
24     /**
25      * Get a <code>Source</code> object.
26      * @param parameters This is optional.
27      */

28     Source getSource(String JavaDoc location, SourceParameters parameters)
29     throws MalformedURLException JavaDoc, IOException JavaDoc;
30
31 }
32
Popular Tags