Nuxeo Enterprise Platform 5.1

org.nuxeo.runtime.jboss.deployment.preprocessor.install.commands
Class AppendCommand

java.lang.Object
  extended by org.nuxeo.runtime.jboss.deployment.preprocessor.install.commands.AppendCommand
All Implemented Interfaces:
Command

public class AppendCommand
extends Object
implements Command

Author:
Bogdan Stefanescu

Field Summary
protected  boolean addNewLine
           
protected  Path dst
           
protected  Path src
           
 
Constructor Summary
AppendCommand(Path src, Path dst)
           
AppendCommand(Path src, Path dst, boolean addNewLine)
           
 
Method Summary
 void exec(CommandContext ctx)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

src

protected final Path src

dst

protected final Path dst

addNewLine

protected final boolean addNewLine
Constructor Detail

AppendCommand

public AppendCommand(Path src,
                     Path dst,
                     boolean addNewLine)

AppendCommand

public AppendCommand(Path src,
                     Path dst)
Method Detail

exec

public void exec(CommandContext ctx)
          throws IOException
Specified by:
exec in interface Command
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.