org.apache.lenya.cms.publishing
Class AbstractFilePublisher

java.lang.Object
  extended by org.apache.lenya.cms.task.AbstractTask
      extended by org.apache.lenya.cms.publishing.AbstractPublisher
          extended by org.apache.lenya.cms.publishing.AbstractFilePublisher
All Implemented Interfaces:
org.apache.avalon.framework.parameters.Parameterizable, Publisher, Task
Direct Known Subclasses:
DefaultFilePublisher

Deprecated. use the publish ant task instead.

public abstract class AbstractFilePublisher
extends AbstractPublisher


Field Summary
 
Fields inherited from interface org.apache.lenya.cms.task.Task
DEFAULT_PREFIX, FAILURE, NAMESPACE, PARAMETER_CONTEXT_PREFIX, PARAMETER_PUBLICATION_ID, PARAMETER_SERVER_PORT, PARAMETER_SERVER_URI, PARAMETER_SERVLET_CONTEXT, SUCCESS
 
Constructor Summary
AbstractFilePublisher()
          Deprecated.  
 
Method Summary
protected  void copyFile(java.io.File source, java.io.File destination)
          Deprecated. Utility function to copy a source file to destination
 
Methods inherited from class org.apache.lenya.cms.task.AbstractTask
getParameters, getResult, parameterize, setLabel, setResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.lenya.cms.publishing.Publisher
publish
 
Methods inherited from interface org.apache.lenya.cms.task.Task
execute
 

Constructor Detail

AbstractFilePublisher

public AbstractFilePublisher()
Deprecated. 
Method Detail

copyFile

protected void copyFile(java.io.File source,
                        java.io.File destination)
                 throws java.io.IOException,
                        java.io.FileNotFoundException
Deprecated. 
Utility function to copy a source file to destination

Parameters:
source - a File value
destination - a File value
Throws:
java.io.IOException - if an error occurs
java.io.FileNotFoundException - DOCUMENT ME!


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.