Files
i2p.plugins.firefox/docs/I2PChromium.md

9.7 KiB

Class I2PChromium [src]

*/

Access: public
Description:

I2PChromium.java Copyright C 2022 idk hankhill19580@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the MIT License. See LICENSE.md for details. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Author: idk
Parent class: I2PChromiumProfileUnpacker
package: net.i2p.i2pfirefox

Dependencies

Show dependencies
  • java.io.File
  • java.io.FileOutputStream
  • java.io.FileWriter
  • java.io.IOException
  • java.io.OutputStream
  • java.io.PrintWriter
  • java.util.ArrayList
  • java.util.Arrays
  • java.util.List
  • java.util.stream.Collectors
  • java.util.stream.Stream

Member Variables

String[] CHROMIUM_SEARCH_PATHS [src]

  • Access: private
  • Modifiers: final

Process p [src]

  • Access: private

Methods

storeChromiumDefaults [src]

  • Description:
  • Access: public
  • return: void

This method has no parameters.

chromiumPathsUnix [src]

  • Description:
  • Access: private
  • return: String[]

This method has no parameters.

chromiumBinsUnix [src]

  • Description:
  • Access: private
  • return: String[]

This method has no parameters.

FIND_CHROMIUM_SEARCH_PATHS_UNIX [src]

  • Description:
  • Access: private
  • return: String[]

This method has no parameters.

chromiumPathsOSX [src]

  • Description:
  • Access: private
  • return: String[]

This method has no parameters.

FIND_CHROMIUM_SEARCH_PATHS_OSX [src]

  • Description:
  • Access: private
  • return: String[]

This method has no parameters.

chromiumPathsWindows [src]

  • Description:
  • Access: private
  • return: String[]

This method has no parameters.

chromiumBinsWindows [src]

  • Description:
  • Access: private
  • return: String[]

This method has no parameters.

FIND_CHROMIUM_SEARCH_PATHS_WINDOWS [src]

  • Description:
  • Access: private
  • return: String[]

This method has no parameters.

FIND_ALL_CHROMIUM_SEARCH_PATHS [src]

  • Description:
  • Access: private
  • return: String[]

This method has no parameters.

FIND_CHROMIUM_SEARCH_PATHS [src]

  • Description:
  • Access: private
  • return: String[]

This method has no parameters.

NEARBY_CHROMIUM_SEARCH_PATHS [src]

  • Description:
  • Access: private
  • return: String[]

This method has no parameters.

CHROMIUM_FINDER [src]

  • Description:
  • Access: private
  • return: String[]

This method has no parameters.

onlyValidChromiums [src]

  • Description: Check our list of chrome paths for a valid chrome binary. Just an existence check for now but should check versions in the future.
  • Access: public
  • return: a list of usable Chromiums or an empty list if none are found.

This method has no parameters.

topChromium [src]

  • Description: Return the best available Chromium from the list of Chromiums we have.
  • Access: public
  • return: the path to the best available Chromium or null if none are found.

This method has no parameters.

topChromium [src]

  • Description: Return the best available Chromium from the list of Chromiums we have. if override is passed it will be validated and if it validates it will be used.
  • Access: public
  • return: the path to the best available Chromium or null if none are found.
Name Type Description
overrideChromium String

defaultProcessBuilder [src]

  • Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
  • Access: public
  • return: a ProcessBuilder for the top Chromium binary and the default profile.

This method has no parameters.

defaultProcessBuilder [src]

  • Description: Build a ProcessBuilder for the top Chromium binary and the default profile. @args the arguments to pass to the Chromium binary
  • Access: public
  • return: a ProcessBuilder for the top Chromium binary and the default profile.
Name Type Description
args String[]

privateProcessBuilder [src]

  • Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
  • Access: public
  • return: a ProcessBuilder for the top Chromium binary and the default profile. Always passes the --incognito flag.

This method has no parameters.

privateProcessBuilder [src]

  • Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
  • Access: public
  • return: a ProcessBuilder for the top Chromium binary and the default profile. Always passes the --incognito flag.
Name Type Description
args String[] the arguments to pass to the Chromium binary.

appProcessBuilder [src]

  • Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
  • Access: public
  • return: a ProcessBuilder for the top Chromium binary and the default profile. Always passes the --app flag.

This method has no parameters.

appProcessBuilder [src]

  • Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
  • Access: public
  • return: a ProcessBuilder for the top Chromium binary and the default profile. Always passes the --app flag.
Name Type Description
args String[] the arguments to pass to the Chromium binary.

processBuilder [src]

  • Description: Build a ProcessBuilder for the top Chromium binary and the default profile with a specific set of extended arguments.
  • Access: public
  • return: a ProcessBuilder for the top Chromium binary and default profile with a specific set of extended arguments.
Name Type Description
args String[] the extended arguments to pass to the Chromium binary.

launchAndDetatch [src]

  • Description:
  • Access: public
  • return: Process
Name Type Description
privateWindow boolean
url String[]

launchAndDetatch [src]

  • Description:
  • Access: public
  • return: Process
Name Type Description
privateWindow int
url String[]

launch [src]

  • Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Chromium with the profile directory.
  • Access: public
  • return: void
Name Type Description
privateWindow boolean
url String[]

launch [src]

  • Description:
  • Access: public
  • return: void
Name Type Description
privateWindow int
url String[]

launch [src]

  • Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Chromium with the profile directory.
  • Access: public
  • return: void
Name Type Description
privateWindow boolean

launch [src]

  • Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Chromium with the profile directory.
  • Access: public
  • return: void

This method has no parameters.

ValidURL [src]

  • Description:
  • Access: private
  • return: String
Name Type Description
inUrl String

main [src]

  • Description:
  • Access: public
  • Modifiers: static
  • return: void
Name Type Description
args String[]