On this page
[Groovy] Class DocCommand
- org.apache.groovy.groovysh.commands.DocCommand
Field Summary
Modifiers | Name | Description |
---|---|---|
static String |
COMMAND_NAME |
Fields inherited from class | Fields |
---|---|
class CommandSupport |
NEWLINE, io, log, messages, registry, shell |
Constructor Summary
Constructor and description |
---|
DocCommand(Groovysh shell) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected void |
browse(List urls) |
|
protected void |
browseWithAWT(List urls) |
|
protected void |
browseWithNativeBrowser(String browser, List urls) |
|
protected List<Completer> |
createCompleters() |
|
void |
doc(String className) |
|
Object |
execute(List<String> args) |
|
protected String |
getBrowserEnvironmentVariable() |
|
protected String |
normalizeClassName(String className) |
|
protected boolean |
sendHEADRequest(URL url) |
|
protected List |
urlsFor(String className) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class CommandSupport |
alias, assertNoArguments, createCompleters, fail, fail, getAliases, getBinding, getBuffer, getBuffers, getClassLoader, getCompleter, getDescription, getHelp, getHidden, getHistory, getImports, getName, getShortcut, getUsage, getVariables |
Field Detail
public static final String COMMAND_NAME
Constructor Detail
DocCommand(Groovysh shell)
Method Detail
protected void browse(List urls)
protected void browseWithAWT(List urls)
protected void browseWithNativeBrowser(String browser, List urls)
@Override protected List<Completer> createCompleters()
void doc(String className)
@Override Object execute(List<String> args)
protected String getBrowserEnvironmentVariable()
protected String normalizeClassName(String className)
protected boolean sendHEADRequest(URL url)
protected List urlsFor(String className)
© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/org/apache/groovy/groovysh/commands/DocCommand.html