public class MkfileCommand extends Object implements Command
| Constructor and Description | 
|---|
| MkfileCommand(Path path,
             byte[] content)Constructor for mkfile command. | 
public MkfileCommand(Path path, byte[] content)
path - the path relative to the root containercontent - the file content as an array of bytespublic void exec(CommandContext ctx) throws IOException
exec in interface CommandIOExceptionpublic String toString(CommandContext ctx)
Copyright © 2014 Nuxeo SA. All rights reserved.