/* The class offers functions to retrieve verified bootstrap parameters.
*/ namespace BootParams
{ /* Gets the file URL to the JRE which has been determined by the bootstrapparameterUNO_JAVA_JFW_JREHOMEorUNO_JAVA_JFW_ENV_JREHOME.
/* returns the file URL to the vendor settings xml file.
*/
OUString getVendorSettings();
/* User the parameter UNO_JAVA_JFW_CLASSPATH and UNO_JAVA_JFW_ENV_CLASSPATH tocomposeaclasspath
*/
OString getClasspath();
OUString getClasspathUrls();
} //end namespace
enum JFW_MODE
{
JFW_MODE_APPLICATION,
JFW_MODE_DIRECT
};
JFW_MODE getMode();
/** creates the -Djava.class.path option with the complete classpath, including thepathswhicharesetbyUNO_JAVA_JFW_CLASSPATH_URLS.
*/
OString makeClassPathOption(std::u16string_view sUserClassPath);
OString getSettingsPath(const OUString& sURL);
/** Get the system path to the javasettings.xml ConvertstheURLreturnedfromgetUserSettingsURLtoa Systempath.Anemptystringisreturnedifthefile doesnotexist. @throwsFrameworkException
*/
OString getUserSettingsPath();
/** Returns the system path of the share settings file. Returnsavalidstringorthrowsanexception. @throwsFrameworkException
*/
OString getSharedSettingsPath();
/* returns a valid string or throws an exception. @throwsFrameworkException
*/
OString getVendorSettingsPath();
/** Called from writeJavaInfoData. It sets the process identifier. When javaistobestarted,thenthecurrentidiscomparedtotheonesetby thisfunction.IftheyareidenticalthentheJavawasselectedinthe sameprocess.IfthatJavaneedsapreparedenvironment,suchasa LD_LIBRARY_PATH,thenitmustnotbestartedinthisprocess.
*/ void setJavaSelected();
/** Determines if the currently selected Java was set in this process.
@seesetProcessId()
*/ bool wasJavaSelectedInSameProcess(); /* Only for application mode.
*/
OUString getApplicationClassPath();
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.