org.apache.cocoon.maven.deployer.monolithic
Class XPatchDeployer

java.lang.Object
  extended by org.apache.cocoon.maven.deployer.monolithic.SingleFileDeployer
      extended by org.apache.cocoon.maven.deployer.monolithic.XPatchDeployer
All Implemented Interfaces:
FileDeployer

public class XPatchDeployer
extends SingleFileDeployer


Constructor Summary
XPatchDeployer(String outputDir)
           
 
Method Summary
 void addPatch(File file)
           
 void applyPatches(InputStream source, String fileName)
           
 OutputStream writeResource(String documentName)
           
 
Methods inherited from class org.apache.cocoon.maven.deployer.monolithic.SingleFileDeployer
getBasedir, getFileName, getLogger, getOutputDir, removeRootDirectory, setAlreadyDeployedFilesSet, setBasedir, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPatchDeployer

public XPatchDeployer(String outputDir)
Method Detail

writeResource

public OutputStream writeResource(String documentName)
                           throws IOException
Specified by:
writeResource in interface FileDeployer
Overrides:
writeResource in class SingleFileDeployer
Throws:
IOException

addPatch

public void addPatch(File file)
              throws IOException
Throws:
IOException

applyPatches

public void applyPatches(InputStream source,
                         String fileName)


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