Interface HasExtensions

  • All Known Implementing Classes:

    public interface HasExtensions
    Used by classes to indicate that they can install and uninstall browser extensions on the fly.
    • Method Detail

      • installExtension

        java.lang.String installExtension​(java.nio.file.Path path)
        Installs an extension.
        path - absolute path to the extension file that should be installed.
        the unique identifier of the installed extension.
      • installExtension

        java.lang.String installExtension​(java.nio.file.Path path,
                                          java.lang.Boolean temporary)
      • uninstallExtension

        void uninstallExtension​(java.lang.String extensionId)
        Uninstall the extension by the given identifier. This value can be found in the extension's manifest, and typically ends with "".
        extensionId - The unique extension identifier returned by {installExtension(Path)}