|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.tools.shell.CommandSupport org.codehaus.groovy.tools.shell.commands.DocCommand
class DocCommand extends CommandSupport
The 'doc' command.
Field Summary |
---|
Fields inherited from class CommandSupport | |
---|---|
NEWLINE, io, log, messages, registry, shell |
Property Summary | |
---|---|
static String |
ENV_BROWSER
|
static String |
ENV_BROWSER_GROOVYSH
|
static int |
TIMEOUT_CONN
|
static int |
TIMEOUT_READ
|
static def |
desktop
|
static boolean |
hasAWTDesktopPlatformSupport
|
Constructor Summary | |
DocCommand(Shell shell)
Check for java.awt.Desktop#browse platform support |
Method Summary | |
---|---|
protected void
|
browse(List urls)
|
protected void
|
browseWithAWT(List urls)
|
protected void
|
browseWithNativeBrowser(String browser, List urls)
|
void
|
doc(String className)
|
Object
|
execute(List args)
|
protected String
|
getBrowserEnvironmentVariable()
|
Completer
|
getCompleter()
|
protected String
|
normalizeClassName(String className)
|
protected boolean
|
sendHEADRequest(URL url)
|
protected List
|
urlsFor(String className)
|
Methods inherited from class CommandSupport | |
---|---|
alias, assertNoArguments, createCompleters, fail, fail, getBinding, getBuffer, getBuffers, getClassLoader, getCompleter, getDescription, getHelp, getHistory, getImports, getUsage, getVariables |
Property Detail |
---|
static String ENV_BROWSER
static String ENV_BROWSER_GROOVYSH
static int TIMEOUT_CONN
static int TIMEOUT_READ
static def desktop
static boolean hasAWTDesktopPlatformSupport
Constructor Detail |
---|
DocCommand(Shell shell)
Method Detail |
---|
protected void browse(List urls)
protected void browseWithAWT(List urls)
protected void browseWithNativeBrowser(String browser, List urls)
void doc(String className)
Object execute(List args)
protected String getBrowserEnvironmentVariable()
@Override Completer getCompleter()
protected String normalizeClassName(String className)
protected boolean sendHEADRequest(URL url)
protected List urlsFor(String className)
Copyright © 2003-2013 The Codehaus. All rights reserved.