2022-08-08 13:17:25 -04:00
|
|
|
# Class I2PChromium [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java)
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
> */
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
Access: public
|
|
|
|
package: net.i2p.i2pfirefox
|
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary>
|
|
|
|
Show dependencies
|
|
|
|
</summary>
|
|
|
|
<ul>
|
|
|
|
<li>java.io.File</li>
|
|
|
|
<li>java.io.IOException</li>
|
|
|
|
<li>java.net.Socket</li>
|
|
|
|
<li>java.util.ArrayList</li>
|
|
|
|
</ul>
|
|
|
|
</details>
|
|
|
|
|
|
|
|
## Member Variables
|
|
|
|
|
|
|
|
#### String[] CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L)
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
+ Access: private
|
|
|
|
+ Modifiers: final
|
|
|
|
|
|
|
|
#### int DEFAULT_TIMEOUT [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L)
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
+ Access: private
|
|
|
|
+ Modifiers: final
|
|
|
|
|
|
|
|
## Methods
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### FIND_CHROMIUM_SEARCH_PATHS_UNIX [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L44)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: private
|
|
|
|
+ Modifiers: static
|
|
|
|
+ return: String[]
|
|
|
|
|
|
|
|
This method has no parameters.
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### FIND_CHROMIUM_SEARCH_PATHS_OSX [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L57)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: private
|
|
|
|
+ Modifiers: static
|
|
|
|
+ return: String[]
|
|
|
|
|
|
|
|
This method has no parameters.
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### FIND_CHROMIUM_SEARCH_PATHS_WINDOWS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L70)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: private
|
|
|
|
+ Modifiers: static
|
|
|
|
+ return: String[]
|
|
|
|
|
|
|
|
This method has no parameters.
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### FIND_ALL_CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L99)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: private
|
|
|
|
+ Modifiers: static
|
|
|
|
+ return: String[]
|
|
|
|
|
|
|
|
This method has no parameters.
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### FIND_CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L119)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: private
|
|
|
|
+ Modifiers: static
|
|
|
|
+ return: String[]
|
|
|
|
|
|
|
|
This method has no parameters.
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### NEARBY_CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L133)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: private
|
|
|
|
+ Modifiers: static
|
|
|
|
+ return: String[]
|
|
|
|
|
|
|
|
This method has no parameters.
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### CHROMIUM_FINDER [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L177)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: private
|
|
|
|
+ Modifiers: static
|
|
|
|
+ return: String[]
|
|
|
|
|
|
|
|
This method has no parameters.
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### getOperatingSystem [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L189)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: private
|
|
|
|
+ Modifiers: static
|
|
|
|
+ return: String
|
|
|
|
|
|
|
|
This method has no parameters.
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### onlyValidChromiums [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L211)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: public
|
|
|
|
+ return: String[]
|
|
|
|
|
|
|
|
This method has no parameters.
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### topChromium [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L231)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: public
|
|
|
|
+ return: String
|
|
|
|
|
|
|
|
This method has no parameters.
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### topChromium [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L260)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: public
|
|
|
|
+ return: String
|
|
|
|
|
|
|
|
| Name | Type | Description |
|
|
|
|
| ----- | ----- | ----- |
|
|
|
|
| overrideChromium | String | |
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L278)
|
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: public
|
|
|
|
+ return: ProcessBuilder
|
|
|
|
|
|
|
|
This method has no parameters.
|
|
|
|
|
|
|
|
|
|
|
|
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L291)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: public
|
|
|
|
+ return: ProcessBuilder
|
|
|
|
|
|
|
|
This method has no parameters.
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### processBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L328)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: public
|
|
|
|
+ return: ProcessBuilder
|
|
|
|
|
|
|
|
| Name | Type | Description |
|
|
|
|
| ----- | ----- | ----- |
|
|
|
|
| args | String[] | |
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L375)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: public
|
|
|
|
+ return: boolean
|
|
|
|
|
|
|
|
This method has no parameters.
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L387)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: public
|
|
|
|
+ return: boolean
|
|
|
|
|
|
|
|
| Name | Type | Description |
|
|
|
|
| ----- | ----- | ----- |
|
|
|
|
| timeout | int | |
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L399)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: public
|
|
|
|
+ return: boolean
|
|
|
|
|
|
|
|
| Name | Type | Description |
|
|
|
|
| ----- | ----- | ----- |
|
|
|
|
| timeout | int | |
|
|
|
|
| port | int | |
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L412)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: public
|
|
|
|
+ return: boolean
|
|
|
|
|
|
|
|
| Name | Type | Description |
|
|
|
|
| ----- | ----- | ----- |
|
|
|
|
| timeout | int | |
|
|
|
|
| port | int | |
|
|
|
|
| host | String | |
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L425)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: private
|
|
|
|
+ return: boolean
|
|
|
|
|
|
|
|
| Name | Type | Description |
|
|
|
|
| ----- | ----- | ----- |
|
|
|
|
| port | int | |
|
|
|
|
| host | String | |
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L444)
|
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: public
|
|
|
|
+ return: void
|
|
|
|
|
|
|
|
| Name | Type | Description |
|
|
|
|
| ----- | ----- | ----- |
|
|
|
|
| privateWindow | boolean | |
|
|
|
|
|
|
|
|
|
|
|
|
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L488)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: public
|
|
|
|
+ return: void
|
|
|
|
|
|
|
|
This method has no parameters.
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### main [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L492)
|
2022-08-08 13:17:25 -04:00
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: public
|
|
|
|
+ Modifiers: static
|
|
|
|
+ return: void
|
|
|
|
|
|
|
|
| Name | Type | Description |
|
|
|
|
| ----- | ----- | ----- |
|
|
|
|
| args | String[] | |
|
|
|
|
|
|
|
|
|
2022-08-22 00:40:38 -04:00
|
|
|
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L505)
|
|
|
|
|
|
|
|
+ Description:
|
|
|
|
+ Access: private
|
|
|
|
+ Modifiers: static
|
|
|
|
+ return: void
|
|
|
|
|
|
|
|
| Name | Type | Description |
|
|
|
|
| ----- | ----- | ----- |
|
|
|
|
| millis | int | |
|
|
|
|
|
|
|
|
|