public class ProtocolHandler extends Application
setup| Constructor and Description |
|---|
ProtocolHandler(AbstractSetupBuilder setup)
Construct the protocol handler
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addProtocolHandler(SetupBuilder parent,
java.util.List<ProtocolHandler> holder,
java.lang.Object scheme)
Add a protocol handler
|
java.util.List<java.lang.String> |
getSchemes()
Return the list of scheme
|
void |
scheme(java.lang.Object scheme)
Add one or a list of schemes
|
void |
setScheme(java.lang.Object scheme)
Set the scheme.
|
getDescription, getDisplayName, getExecutable, getIconForType, getIcons, getMainClass, getMainJar, getStartArguments, getWorkDir, setDescription, setDisplayName, setExecutable, setIcons, setMainClass, setMainJar, setStartArguments, setWorkDirpublic ProtocolHandler(AbstractSetupBuilder setup)
setup - the setuppublic java.util.List<java.lang.String> getSchemes()
public void setScheme(java.lang.Object scheme)
scheme - the scheme to setpublic void scheme(java.lang.Object scheme)
scheme - the scheme(s) to addpublic static void addProtocolHandler(SetupBuilder parent, java.util.List<ProtocolHandler> holder, java.lang.Object scheme)
parent - the setup builderholder - the list to add the entry toscheme - file file or closure