org.apache.cocoon.components.source
Class FileSourceFactory
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLoggable
|
+--org.apache.cocoon.components.source.FileSourceFactory
- All Implemented Interfaces:
- org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.logger.Loggable, SourceFactory, org.apache.avalon.framework.thread.ThreadSafe
- public class FileSourceFactory
- extends org.apache.avalon.framework.logger.AbstractLoggable
- implements SourceFactory, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.thread.ThreadSafe
A factory for 'file:' sources.
- Version:
- $Id: FileSourceFactory.java,v 1.2 2002/03/14 12:55:10 sylvain Exp $
- Author:
- Sylvain Wallez
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSourceFactory
public FileSourceFactory()
compose
public void compose(org.apache.avalon.framework.component.ComponentManager manager)
throws org.apache.avalon.framework.component.ComponentException
- Specified by:
compose
in interface org.apache.avalon.framework.component.Composable
getSource
public Source getSource(Environment environment,
java.lang.String location)
throws ProcessingException,
java.net.MalformedURLException,
java.io.IOException
- Description copied from interface:
SourceFactory
- Get a
Source
object.
- Specified by:
getSource
in interface SourceFactory
- Following copied from interface:
org.apache.cocoon.components.source.SourceFactory
- Parameters:
environment
- This is optional.
getSource
public Source getSource(Environment environment,
java.net.URL base,
java.lang.String location)
throws ProcessingException,
java.net.MalformedURLException,
java.io.IOException
- Description copied from interface:
SourceFactory
- Get a
Source
object.
- Specified by:
getSource
in interface SourceFactory
- Following copied from interface:
org.apache.cocoon.components.source.SourceFactory
- Parameters:
environment
- This is optional.
Copyright � 1999-2002 Apache Software Foundation. All Rights Reserved.