org.apache.geronimo.kernel.repository
Class CopyArtifactTypeHandler

java.lang.Object
  extended by org.apache.geronimo.kernel.repository.CopyArtifactTypeHandler
All Implemented Interfaces:
ArtifactTypeHandler

public class CopyArtifactTypeHandler
extends Object
implements ArtifactTypeHandler

Version:
$Rev: 476049 $ $Date: 2006-11-17 15:35:17 +1100 (Fri, 17 Nov 2006) $

Constructor Summary
CopyArtifactTypeHandler()
           
 
Method Summary
 void install(File source, Artifact artifactId, FileWriteMonitor monitor, File target)
           
 void install(InputStream source, int size, Artifact artifact, FileWriteMonitor monitor, File target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyArtifactTypeHandler

public CopyArtifactTypeHandler()
Method Detail

install

public void install(InputStream source,
                    int size,
                    Artifact artifact,
                    FileWriteMonitor monitor,
                    File target)
             throws IOException
Specified by:
install in interface ArtifactTypeHandler
Throws:
IOException

install

public void install(File source,
                    Artifact artifactId,
                    FileWriteMonitor monitor,
                    File target)
             throws IOException
Specified by:
install in interface ArtifactTypeHandler
Parameters:
source - a file or a directory
Throws:
IOException


Copyright © 2003-2013 The Apache Geronimo development community. All Rights Reserved.