java.lang.Object
fxlauncher.AbstractLauncher<APP>
- Direct Known Subclasses:
HeadlessMainLauncher
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected voidCheck if the SSL connection needs to ignore the validity of the ssl certificate.protected abstract voidcreateApplication(Class<APP> appClass) protected voidprotected ClassLoadercreateClassLoader(Path cacheDir) protected abstract javafx.application.Application.ParametersgetPhase()protected abstract voidreportError(String title, Throwable error) voidprotected abstract voidsetupClassLoader(ClassLoader classLoader) protected voidprotected voidMake java.util.logger log to a file.protected booleanCheck if remote files are newer then local files.protected voidprotected voidprotected abstract voidupdateProgress(double progress)
-
Field Details
-
manifest
-
-
Constructor Details
-
AbstractLauncher
public AbstractLauncher()
-
-
Method Details
-
setupLogFile
Make java.util.logger log to a file. Default it will log to $TMPDIR/fxlauncher.log. This can be overriden by using comman line parameter--logfile=logfile- Throws:
IOException
-
checkSSLIgnoreflag
Check if the SSL connection needs to ignore the validity of the ssl certificate. -
createClassLoader
-
updateManifest
- Throws:
Exception
-
syncFiles
Check if remote files are newer then local files. Return true if files are updated, triggering the whatsnew option else false. Also return false and do not check for updates if the--offlinecommandline argument is set.- Returns:
- true if new files have been downloaded, false otherwise.
- Throws:
Exception
-
createApplicationEnvironment
- Throws:
Exception
-
syncManifest
- Throws:
Exception
-
setupIgnoreSSLCertificate
-
checkIgnoreUpdateErrorSetting
protected boolean checkIgnoreUpdateErrorSetting() -
getPhase
-
setPhase
-
getManifest
-
getParameters
protected abstract javafx.application.Application.Parameters getParameters() -
updateProgress
protected abstract void updateProgress(double progress) -
createApplication
-
reportError
-
setupClassLoader
-