| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| private Server | |
| private Server | |
| pack-priv Server |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| pack-priv void | |
| private void | |
| public void | runTool(String...
the command line arguments args)Implements abstract org. This tool starts the H2 Console (web-) server, as well as the TCP and PG server. |
| pack-priv void | |
| public void |
| isWindows | back to summary |
|---|---|
| pack-priv boolean isWindows | |
| pg | back to summary |
|---|---|
| private Server pg | |
| tcp | back to summary |
|---|---|
| private Server tcp | |
| web | back to summary |
|---|---|
| pack-priv Server web | |
| Console | back to summary |
|---|---|
| public Console() | |
| main | back to summary | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void main(String... args) throws SQLException When running without options, -tcp, -web, -browser and -pg are started. Options are case sensitive.
| |||||||||||||||||||||
| openBrowser | back to summary |
|---|---|
| pack-priv void openBrowser(String url) Open a new browser tab or window with the given URL.
| |
| printProblem | back to summary |
|---|---|
| private void printProblem(Exception e, Server server) | |
| runTool | back to summary |
|---|---|
| public void runTool(String... args) throws SQLException Implements abstract org. This tool starts the H2 Console (web-) server, as well as the TCP and PG server. A system tray icon is created, for platforms that support it. Otherwise, a small window opens.
| |
| show | back to summary |
|---|---|
| pack-priv void show() Overridden by GUIConsole to show a window | |
| shutdown | back to summary |
|---|---|
| public void shutdown() Implements org. INTERNAL. Stop all servers that were started using the console.
| |