public class AppendCommand extends Object implements Command
Modifier and Type | Field and Description |
---|---|
protected boolean |
addNewLine |
protected Path |
dst |
protected FileNamePattern |
pattern |
protected Path |
src |
Constructor and Description |
---|
AppendCommand(Path src,
Path dst) |
AppendCommand(Path src,
Path dst,
boolean addNewLine,
FileNamePattern pattern) |
Modifier and Type | Method and Description |
---|---|
void |
exec(CommandContext ctx) |
String |
toString() |
String |
toString(CommandContext ctx) |
protected final boolean addNewLine
protected final FileNamePattern pattern
public AppendCommand(Path src, Path dst, boolean addNewLine, FileNamePattern pattern)
public AppendCommand(Path src, Path dst)
public void exec(CommandContext ctx) throws IOException
exec
in interface Command
IOException
public String toString(CommandContext ctx)
Copyright © 2019 Nuxeo. All rights reserved.