114 lines
3.2 KiB
Markdown
114 lines
3.2 KiB
Markdown
![]() |
# Class I2PChromiumProfileBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java)
|
||
|
|
||
|
> */
|
||
|
|
||
|
Access: public
|
||
|
Description:
|
||
|
> I2PChromiumProfileBuilder.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. I2PChromiumProfileBuilder is a that builds a profile directory which contains the I2P browser profile for the Chromium browser family. It manages the base profile directory and copies it's contents to the active profile directory which is actually used by Chromium.
|
||
|
|
||
|
Author: idk
|
||
|
Parent class: I2PCommonBrowser
|
||
|
package: net.i2p.i2pfirefox
|
||
|
|
||
|
## Dependencies
|
||
|
|
||
|
<details>
|
||
|
<summary>
|
||
|
Show dependencies
|
||
|
</summary>
|
||
|
<ul>
|
||
|
<li>java.io.File</li>
|
||
|
</ul>
|
||
|
</details>
|
||
|
|
||
|
## Member Variables
|
||
|
|
||
|
#### boolean usability [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L)
|
||
|
|
||
|
>
|
||
|
|
||
|
+ Access: public
|
||
|
+ Modifiers: static
|
||
|
|
||
|
## Methods
|
||
|
|
||
|
### profileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L31)
|
||
|
|
||
|
+ Description: get the profile directory creating it if necessary
|
||
|
+ Access: public
|
||
|
+ Modifiers: static
|
||
|
+ return: String
|
||
|
|
||
|
| Name | Type | Description |
|
||
|
| ----- | ----- | ----- |
|
||
|
| base | String | |
|
||
|
|
||
|
|
||
|
### baseProfileDir [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L35)
|
||
|
|
||
|
+ Description:
|
||
|
+ Access: private
|
||
|
+ Modifiers: static
|
||
|
+ return: String
|
||
|
|
||
|
| Name | Type | Description |
|
||
|
| ----- | ----- | ----- |
|
||
|
| file | String | |
|
||
|
| mode | String | |
|
||
|
|
||
|
|
||
|
### baseProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L59)
|
||
|
|
||
|
+ Description:
|
||
|
+ Access: public
|
||
|
+ Modifiers: static
|
||
|
+ return: String
|
||
|
|
||
|
| Name | Type | Description |
|
||
|
| ----- | ----- | ----- |
|
||
|
| mode | String | |
|
||
|
|
||
|
|
||
|
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L83)
|
||
|
|
||
|
+ 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]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L94)
|
||
|
|
||
|
+ 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.
|
||
|
|
||
|
|
||
|
### usabilityMode [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L109)
|
||
|
|
||
|
+ Description:
|
||
|
+ Access: public
|
||
|
+ Modifiers: static
|
||
|
+ return: String
|
||
|
|
||
|
This method has no parameters.
|
||
|
|
||
|
|
||
|
### copyBaseProfiletoProfile [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileBuilder.java#L120)
|
||
|
|
||
|
+ Description: Copy the inert base profile directory to the runtime profile directory
|
||
|
+ Access: public
|
||
|
+ Modifiers: static
|
||
|
+ return: boolean
|
||
|
|
||
|
This method has no parameters.
|
||
|
|
||
|
|