< prev index next >

modules/javafx.graphics/src/main/java/javafx/application/HostServices.java

Print this page
rev 10897 : 8199357: Remove references to applets and Java Web Start from FX
Reviewed-by:

*** 49,61 **** delegate = HostServicesDelegate.getInstance(app); } /** * Gets the code base URI for this application. ! * If the application was launched via a JNLP file, this method returns ! * the codebase parameter specified in the JNLP file. ! * If the application was launched in standalone mode, this method returns * the directory containing the application jar file. If the * application is not packaged in a jar file, this method * returns the empty string. * * @return the code base URI for this application. --- 49,59 ---- delegate = HostServicesDelegate.getInstance(app); } /** * Gets the code base URI for this application. ! * This method returns * the directory containing the application jar file. If the * application is not packaged in a jar file, this method * returns the empty string. * * @return the code base URI for this application.
*** 64,79 **** return delegate.getCodeBase(); } /** * Gets the document base URI for this application. ! * If the application is embedded in a browser, this method returns the ! * URI of the web page containing the application. ! * If the application was launched in webstart mode, this method returns ! * the the codebase parameter specified in the JNLP file (the document ! * base and the code base are the same in this mode). ! * If the application was launched in standalone mode, this method returns * the URI of the current directory. * * @return the document base URI for this application. */ public final String getDocumentBase() { --- 62,72 ---- return delegate.getCodeBase(); } /** * Gets the document base URI for this application. ! * This method returns * the URI of the current directory. * * @return the document base URI for this application. */ public final String getDocumentBase() {
< prev index next >