Files
i2p.plugins.firefox/I2PFirefoxProfileBuilder.md
2022-08-27 13:27:28 -04:00

4.5 KiB

Class I2PFirefoxProfileBuilder [src]

*/

Access: public
Description:

I2PFirefoxProfileBuilder.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. I2PFirefoxProfileBuilder is a that builds a profile directory which contains the I2P browser profile for the Firefox browser family. It manages the base profile directory and copies it's contents to the active profile directory which is actually used by Firefox.

Author: idk
package: net.i2p.i2pfirefox

Dependencies

Show dependencies
  • java.io.File
  • java.io.FileInputStream
  • java.io.FileOutputStream
  • java.io.IOException
  • java.io.InputStream
  • java.io.OutputStream
  • java.nio.file.Files
  • java.nio.file.StandardCopyOption

Member Variables

boolean strict [src]

  • Access: private
  • Modifiers: static

Methods

profileDir [src]

  • Description:
  • Access: private
  • Modifiers: static
  • return: String
Name Type Description
file String

profileDirectory [src]

  • Description: get the profile directory creating it if necessary
  • Access: public
  • Modifiers: static
  • return: String

This method has no parameters.

baseProfileDir [src]

  • Description:
  • Access: private
  • Modifiers: static
  • return: String
Name Type Description
file String

baseProfileDirectory [src]

  • Description: get the base profile directory creating it if necessary
  • Access: public
  • Modifiers: static
  • return: String

This method has no parameters.

runtimeDirectory [src]

  • Description: get the runtime directory creating it if create=true
  • Access: public
  • Modifiers: static
  • return: the runtime directory or null if it could not be created
Name Type Description
create boolean if true create the runtime directory if it does not exist

runtimeDirectory [src]

  • Description: get the correct runtime directory
  • Access: public
  • Modifiers: static
  • return: the runtime directory or null if it could not be created or found

This method has no parameters.

copyBaseProfiletoProfile [src]

  • Description: Copy the inert base profile directory to the runtime profile directory
  • Access: public
  • Modifiers: static
  • return: boolean

This method has no parameters.

copyDirectory [src]

  • Description:
  • Access: private
  • Modifiers: static
  • return: void
Name Type Description
sourceDirectory File
destinationDirectory File

copyDirectoryCompatibityMode [src]

  • Description:
  • Access: public
  • Modifiers: static
  • return: void
Name Type Description
source File
destination File

copyFile [src]

  • Description:
  • Access: private
  • Modifiers: static
  • return: void
Name Type Description
sourceFile File
destinationFile File

copyStrictOptions [src]

  • Description: Copy the strict options from the base profile to the profile
  • Access: public
  • Modifiers: static
  • return: true if successful false otherwise

This method has no parameters.