org.apache.cocoon.components.source
Class FileSourceFactory

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.source.FileSourceFactory
All Implemented Interfaces:
Composable, LogEnabled, ThreadSafe, SourceFactory

Deprecated. Use the new avalon source resolving instead

public class FileSourceFactory
extends AbstractLogEnabled
implements SourceFactory, Composable, ThreadSafe

A factory for 'file:' sources.

Version:
CVS $Id: FileSourceFactory.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Sylvain Wallez

Constructor Summary
FileSourceFactory()
          Deprecated.  
 
Method Summary
 void compose(ComponentManager manager)
          Deprecated.  
 Source getSource(Environment environment, String location)
          Deprecated. Get a Source object.
 Source getSource(Environment environment, URL base, String location)
          Deprecated. Get a Source object.
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSourceFactory

public FileSourceFactory()
Deprecated. 
Method Detail

compose

public void compose(ComponentManager manager)
             throws ComponentException
Deprecated. 
Specified by:
compose in interface Composable
Throws:
ComponentException

getSource

public Source getSource(Environment environment,
                        String location)
                 throws ProcessingException,
                        MalformedURLException,
                        IOException
Deprecated. 
Description copied from interface: SourceFactory
Get a Source object.

Specified by:
getSource in interface SourceFactory
Parameters:
environment - This is optional.
Throws:
ProcessingException
MalformedURLException
IOException

getSource

public Source getSource(Environment environment,
                        URL base,
                        String location)
                 throws ProcessingException,
                        MalformedURLException,
                        IOException
Deprecated. 
Description copied from interface: SourceFactory
Get a Source object.

Specified by:
getSource in interface SourceFactory
Parameters:
environment - This is optional.
Throws:
ProcessingException
MalformedURLException
IOException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.