We cannot use a static logger instance here in this class as the Logger first needs to be configured in the Launcher#initLogging.
The configuration of tinylog will become immutable as soon as the first log entry is issued.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | detectProgramPath(String programName, String directoryName)
Implements abstract org.
|
| public Path | getApplicationDirectory()
Implements abstract org. Returns the path to the system's applications folder. |
| public void | openConsole(String absolutePath, DialogService dialogService)
Implements abstract org.
|
| public void | openFile(String filePath, String fileType, FilePreferences filePreferences)
Implements abstract org.
|
| public void | openFileWithApplication(String
The filename. filePath, String Link to the app that opens the file. application)Implements abstract org. Opens a file on an Operating System, using the given application. |
| public void | openFolderAndSelectFile(Path filePath)
Implements abstract org.
|
| DefaultDesktop | back to summary |
|---|---|
| public DefaultDesktop() | |
| detectProgramPath | back to summary |
|---|---|
| public String detectProgramPath(String programName, String directoryName) Implements abstract org.
| |
| getApplicationDirectory | back to summary |
|---|---|
| public Path getApplicationDirectory() Implements abstract org. Doc from org. Returns the path to the system's applications folder. | |
| openConsole | back to summary |
|---|---|
| public void openConsole(String absolutePath, DialogService dialogService) throws IOException Implements abstract org.
| |
| openFile | back to summary |
|---|---|
| public void openFile(String filePath, String fileType, FilePreferences filePreferences) throws IOException Implements abstract org.
| |
| openFileWithApplication | back to summary |
|---|---|
| public void openFileWithApplication(String filePath, String application) throws IOException Implements abstract org. Doc from org. Opens a file on an Operating System, using the given application. | |
| openFolderAndSelectFile | back to summary |
|---|---|
| public void openFolderAndSelectFile(Path filePath) throws IOException Implements abstract org.
| |