Groovy 2.2.0

org.codehaus.groovy.tools.shell.commands
[Groovy] Class EditCommand

java.lang.Object
  org.codehaus.groovy.tools.shell.CommandSupport
      org.codehaus.groovy.tools.shell.commands.EditCommand

class EditCommand
extends CommandSupport

The 'edit' command.

Authors:
Jason Dillon
Version:
\$Id\$


Field Summary
 
Fields inherited from class CommandSupport
NEWLINE, io, log, messages, registry, shell
 
Constructor Summary
EditCommand(Groovysh shell)

 
Method Summary
Object execute(List args)

ProcessBuilder getEditorProcessBuilder(String editCommand, String tempFilename)

void replaceCurrentBuffer(List contents)

 
Methods inherited from class CommandSupport
alias, assertNoArguments, createCompleters, fail, fail, getBinding, getBuffer, getBuffers, getClassLoader, getCompleter, getDescription, getHelp, getHistory, getImports, getUsage, getVariables
 

Constructor Detail

EditCommand

EditCommand(Groovysh shell)


 
Method Detail

execute

Object execute(List args)


getEditorProcessBuilder

ProcessBuilder getEditorProcessBuilder(String editCommand, String tempFilename)


replaceCurrentBuffer

void replaceCurrentBuffer(List contents)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.