update index.html
This commit is contained in:
112
I2PChromium.md
112
I2PChromium.md
@ -18,8 +18,6 @@ package: net.i2p.i2pfirefox
|
|||||||
</summary>
|
</summary>
|
||||||
<ul>
|
<ul>
|
||||||
<li>java.io.File</li>
|
<li>java.io.File</li>
|
||||||
<li>java.io.IOException</li>
|
|
||||||
<li>java.net.Socket</li>
|
|
||||||
<li>java.util.ArrayList</li>
|
<li>java.util.ArrayList</li>
|
||||||
</ul>
|
</ul>
|
||||||
</details>
|
</details>
|
||||||
@ -33,13 +31,6 @@ package: net.i2p.i2pfirefox
|
|||||||
+ Access: private
|
+ Access: private
|
||||||
+ Modifiers: final
|
+ Modifiers: final
|
||||||
|
|
||||||
#### int DEFAULT_TIMEOUT [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L)
|
|
||||||
|
|
||||||
>
|
|
||||||
|
|
||||||
+ Access: private
|
|
||||||
+ Modifiers: final
|
|
||||||
|
|
||||||
#### Process p [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L)
|
#### Process p [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L)
|
||||||
|
|
||||||
>
|
>
|
||||||
@ -48,7 +39,7 @@ package: net.i2p.i2pfirefox
|
|||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
### FIND_CHROMIUM_SEARCH_PATHS_UNIX [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L54)
|
### FIND_CHROMIUM_SEARCH_PATHS_UNIX [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L51)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -58,7 +49,7 @@ package: net.i2p.i2pfirefox
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### FIND_CHROMIUM_SEARCH_PATHS_OSX [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L70)
|
### FIND_CHROMIUM_SEARCH_PATHS_OSX [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L67)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -68,7 +59,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### FIND_CHROMIUM_SEARCH_PATHS_WINDOWS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L88)
|
### FIND_CHROMIUM_SEARCH_PATHS_WINDOWS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L85)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -78,7 +69,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### FIND_ALL_CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L125)
|
### FIND_ALL_CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L122)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -88,7 +79,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### FIND_CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L145)
|
### FIND_CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L142)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -98,7 +89,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### NEARBY_CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L159)
|
### NEARBY_CHROMIUM_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L156)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -108,7 +99,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### CHROMIUM_FINDER [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L213)
|
### CHROMIUM_FINDER [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L210)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -118,7 +109,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### getOperatingSystem [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L225)
|
### getOperatingSystem [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L222)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -128,7 +119,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### onlyValidChromiums [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L247)
|
### onlyValidChromiums [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L244)
|
||||||
|
|
||||||
+ 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.
|
+ 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
|
+ Access: public
|
||||||
@ -137,7 +128,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### topChromium [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L267)
|
### topChromium [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L264)
|
||||||
|
|
||||||
+ Description: Return the best available Chromium from the list of Chromiums we have.
|
+ Description: Return the best available Chromium from the list of Chromiums we have.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -146,7 +137,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### topChromium [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L296)
|
### topChromium [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L293)
|
||||||
|
|
||||||
+ 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.
|
+ 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
|
+ Access: public
|
||||||
@ -157,7 +148,7 @@ This method has no parameters.
|
|||||||
| overrideChromium | String | |
|
| overrideChromium | String | |
|
||||||
|
|
||||||
|
|
||||||
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L314)
|
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L311)
|
||||||
|
|
||||||
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
|
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -166,7 +157,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L327)
|
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L324)
|
||||||
|
|
||||||
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile. @args the arguments to pass to the Chromium binary
|
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile. @args the arguments to pass to the Chromium binary
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -177,7 +168,7 @@ This method has no parameters.
|
|||||||
| args | String[] | |
|
| args | String[] | |
|
||||||
|
|
||||||
|
|
||||||
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L339)
|
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L336)
|
||||||
|
|
||||||
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
|
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -186,7 +177,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L352)
|
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L349)
|
||||||
|
|
||||||
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
|
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -197,7 +188,7 @@ This method has no parameters.
|
|||||||
| args | String[] | the arguments to pass to the Chromium binary. |
|
| args | String[] | the arguments to pass to the Chromium binary. |
|
||||||
|
|
||||||
|
|
||||||
### processBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L399)
|
### processBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L396)
|
||||||
|
|
||||||
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile with a specific set of extended arguments.
|
+ Description: Build a ProcessBuilder for the top Chromium binary and the default profile with a specific set of extended arguments.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -208,64 +199,7 @@ This method has no parameters.
|
|||||||
| args | String[] | the extended arguments to pass to the Chromium binary. |
|
| args | String[] | the extended arguments to pass to the Chromium binary. |
|
||||||
|
|
||||||
|
|
||||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L493)
|
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L483)
|
||||||
|
|
||||||
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of 200 seconds.
|
|
||||||
+ Access: public
|
|
||||||
+ return: true if the proxy is ready false if it is not.
|
|
||||||
|
|
||||||
This method has no parameters.
|
|
||||||
|
|
||||||
|
|
||||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L503)
|
|
||||||
|
|
||||||
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of the specified number of seconds.
|
|
||||||
+ Access: public
|
|
||||||
+ return: true if the proxy is ready false if it is not.
|
|
||||||
|
|
||||||
| Name | Type | Description |
|
|
||||||
| ----- | ----- | ----- |
|
|
||||||
| timeout | int | the number of seconds to wait for the proxy to be ready. |
|
|
||||||
|
|
||||||
|
|
||||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L515)
|
|
||||||
|
|
||||||
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
|
|
||||||
+ Access: public
|
|
||||||
+ return: true if the proxy is ready false if it is not.
|
|
||||||
|
|
||||||
| Name | Type | Description |
|
|
||||||
| ----- | ----- | ----- |
|
|
||||||
| timeout | int | the number of seconds to wait for the proxy to be ready. |
|
|
||||||
| port | int | the port to wait for the proxy to be ready on. |
|
|
||||||
|
|
||||||
|
|
||||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L528)
|
|
||||||
|
|
||||||
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
|
|
||||||
+ Access: public
|
|
||||||
+ return: true if the proxy is ready false if it is not.
|
|
||||||
|
|
||||||
| Name | Type | Description |
|
|
||||||
| ----- | ----- | ----- |
|
|
||||||
| timeout | int | the number of seconds to wait for the proxy to be ready. |
|
|
||||||
| port | int | the port to wait for the proxy to be ready on. |
|
|
||||||
| host | String | the host to wait for the proxy to be ready on. |
|
|
||||||
|
|
||||||
|
|
||||||
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L541)
|
|
||||||
|
|
||||||
+ Description:
|
|
||||||
+ Access: private
|
|
||||||
+ return: boolean
|
|
||||||
|
|
||||||
| Name | Type | Description |
|
|
||||||
| ----- | ----- | ----- |
|
|
||||||
| port | int | |
|
|
||||||
| host | String | |
|
|
||||||
|
|
||||||
|
|
||||||
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L551)
|
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -277,7 +211,7 @@ This method has no parameters.
|
|||||||
| url | String[] | |
|
| url | String[] | |
|
||||||
|
|
||||||
|
|
||||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L598)
|
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L530)
|
||||||
|
|
||||||
+ 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.
|
+ 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
|
+ Access: public
|
||||||
@ -289,7 +223,7 @@ This method has no parameters.
|
|||||||
| url | String[] | |
|
| url | String[] | |
|
||||||
|
|
||||||
|
|
||||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L623)
|
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L555)
|
||||||
|
|
||||||
+ 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.
|
+ 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
|
+ Access: public
|
||||||
@ -300,7 +234,7 @@ This method has no parameters.
|
|||||||
| privateWindow | boolean | |
|
| privateWindow | boolean | |
|
||||||
|
|
||||||
|
|
||||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L632)
|
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L564)
|
||||||
|
|
||||||
+ 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.
|
+ 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
|
+ Access: public
|
||||||
@ -309,7 +243,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L634)
|
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L566)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -321,7 +255,7 @@ This method has no parameters.
|
|||||||
| inUrl | String | |
|
| inUrl | String | |
|
||||||
|
|
||||||
|
|
||||||
### main [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L644)
|
### main [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L576)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -333,7 +267,7 @@ This method has no parameters.
|
|||||||
| args | String[] | |
|
| args | String[] | |
|
||||||
|
|
||||||
|
|
||||||
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L672)
|
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PChromium.java#L608)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
|
@ -22,6 +22,7 @@ package: net.i2p.i2pfirefox
|
|||||||
<li>java.io.IOException</li>
|
<li>java.io.IOException</li>
|
||||||
<li>java.io.InputStream</li>
|
<li>java.io.InputStream</li>
|
||||||
<li>java.io.OutputStream</li>
|
<li>java.io.OutputStream</li>
|
||||||
|
<li>java.net.Socket</li>
|
||||||
<li>java.nio.file.Files</li>
|
<li>java.nio.file.Files</li>
|
||||||
<li>java.nio.file.StandardCopyOption</li>
|
<li>java.nio.file.StandardCopyOption</li>
|
||||||
<li>java.util.logging.FileHandler</li>
|
<li>java.util.logging.FileHandler</li>
|
||||||
@ -34,51 +35,23 @@ package: net.i2p.i2pfirefox
|
|||||||
|
|
||||||
## Member Variables
|
## Member Variables
|
||||||
|
|
||||||
## Methods
|
#### [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L36)
|
||||||
|
|
||||||
### validateUserDir [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L52)
|
> static FileHandler fh;
|
||||||
|
|
||||||
+ Description:
|
+ Access: private
|
||||||
+ Access: public
|
+ Modifiers: final
|
||||||
+ Modifiers: static
|
|
||||||
+ return: void
|
|
||||||
|
|
||||||
This method has no parameters.
|
#### [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L37)
|
||||||
|
|
||||||
|
> // private final int DEFAULT_TIMEOUT = 200;
|
||||||
|
|
||||||
### isWindows [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L98)
|
|
||||||
|
|
||||||
+ Description:
|
|
||||||
+ Access: protected
|
|
||||||
+ Modifiers: static
|
|
||||||
+ return: boolean
|
|
||||||
|
|
||||||
This method has no parameters.
|
|
||||||
|
|
||||||
|
|
||||||
### println [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L110)
|
|
||||||
|
|
||||||
+ Description:
|
|
||||||
+ Access: public
|
|
||||||
+ Modifiers: static
|
|
||||||
+ return: void
|
|
||||||
|
|
||||||
| Name | Type | Description |
|
|
||||||
| ----- | ----- | ----- |
|
|
||||||
| line | String | |
|
|
||||||
|
|
||||||
|
|
||||||
### logFile [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L112)
|
|
||||||
|
|
||||||
+ Description:
|
|
||||||
+ Access: private
|
+ Access: private
|
||||||
+ Modifiers: static
|
+ Modifiers: static
|
||||||
+ return: File
|
|
||||||
|
|
||||||
This method has no parameters.
|
## Methods
|
||||||
|
|
||||||
|
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L131)
|
||||||
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L128)
|
|
||||||
|
|
||||||
+ Description: get the runtime directory creating it if create=true
|
+ Description: get the runtime directory creating it if create=true
|
||||||
+ Access: protected
|
+ Access: protected
|
||||||
@ -91,7 +64,7 @@ This method has no parameters.
|
|||||||
| override | String | |
|
| override | String | |
|
||||||
|
|
||||||
|
|
||||||
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L145)
|
### runtimeDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L148)
|
||||||
|
|
||||||
+ Description: get the correct runtime directory
|
+ Description: get the correct runtime directory
|
||||||
+ Access: protected
|
+ Access: protected
|
||||||
@ -103,7 +76,7 @@ This method has no parameters.
|
|||||||
| override | String | |
|
| override | String | |
|
||||||
|
|
||||||
|
|
||||||
### profileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L192)
|
### profileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L195)
|
||||||
|
|
||||||
+ Description: get the profile directory creating it if necessary
|
+ Description: get the profile directory creating it if necessary
|
||||||
+ Access: protected
|
+ Access: protected
|
||||||
@ -116,7 +89,7 @@ This method has no parameters.
|
|||||||
| browser | String | |
|
| browser | String | |
|
||||||
|
|
||||||
|
|
||||||
### profileDir [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L204)
|
### profileDir [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L207)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: protected
|
+ Access: protected
|
||||||
@ -129,7 +102,7 @@ This method has no parameters.
|
|||||||
| browser | String | |
|
| browser | String | |
|
||||||
|
|
||||||
|
|
||||||
### unpackProfile [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L210)
|
### unpackProfile [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L213)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: protected
|
+ Access: protected
|
||||||
@ -142,7 +115,7 @@ This method has no parameters.
|
|||||||
| base | String | |
|
| base | String | |
|
||||||
|
|
||||||
|
|
||||||
### copyDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L256)
|
### copyDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L259)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: protected
|
+ Access: protected
|
||||||
@ -157,7 +130,7 @@ This method has no parameters.
|
|||||||
| base | String | |
|
| base | String | |
|
||||||
|
|
||||||
|
|
||||||
### copyDirectoryCompatibityMode [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L272)
|
### copyDirectoryCompatibityMode [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L275)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -172,7 +145,7 @@ This method has no parameters.
|
|||||||
| base | String | |
|
| base | String | |
|
||||||
|
|
||||||
|
|
||||||
### copyFile [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L281)
|
### copyFile [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L284)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -185,7 +158,7 @@ This method has no parameters.
|
|||||||
| destinationFile | File | |
|
| destinationFile | File | |
|
||||||
|
|
||||||
|
|
||||||
### validateProfileFirstRun [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L292)
|
### validateProfileFirstRun [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L295)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -197,3 +170,71 @@ This method has no parameters.
|
|||||||
| profileDirectory | String | |
|
| profileDirectory | String | |
|
||||||
|
|
||||||
|
|
||||||
|
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L321)
|
||||||
|
|
||||||
|
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of 200 seconds.
|
||||||
|
+ Access: public
|
||||||
|
+ return: true if the proxy is ready false if it is not.
|
||||||
|
|
||||||
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
|
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L331)
|
||||||
|
|
||||||
|
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of the specified number of seconds.
|
||||||
|
+ Access: public
|
||||||
|
+ return: true if the proxy is ready false if it is not.
|
||||||
|
|
||||||
|
| Name | Type | Description |
|
||||||
|
| ----- | ----- | ----- |
|
||||||
|
| timeout | int | the number of seconds to wait for the proxy to be ready. |
|
||||||
|
|
||||||
|
|
||||||
|
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L343)
|
||||||
|
|
||||||
|
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
|
||||||
|
+ Access: public
|
||||||
|
+ return: true if the proxy is ready false if it is not.
|
||||||
|
|
||||||
|
| Name | Type | Description |
|
||||||
|
| ----- | ----- | ----- |
|
||||||
|
| timeout | int | the number of seconds to wait for the proxy to be ready. |
|
||||||
|
| port | int | the port to wait for the proxy to be ready on. |
|
||||||
|
|
||||||
|
|
||||||
|
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L358)
|
||||||
|
|
||||||
|
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds. If the timeout is zero or less the check is disabled and always returns true.
|
||||||
|
+ Access: public
|
||||||
|
+ return: true if the proxy is ready false if it is not.
|
||||||
|
|
||||||
|
| Name | Type | Description |
|
||||||
|
| ----- | ----- | ----- |
|
||||||
|
| timeout | int | the number of seconds to wait for the proxy to be ready. |
|
||||||
|
| port | int | the port to wait for the proxy to be ready on. |
|
||||||
|
| host | String | the host to wait for the proxy to be ready on. |
|
||||||
|
|
||||||
|
|
||||||
|
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L376)
|
||||||
|
|
||||||
|
+ Description:
|
||||||
|
+ Access: private
|
||||||
|
+ return: boolean
|
||||||
|
|
||||||
|
| Name | Type | Description |
|
||||||
|
| ----- | ----- | ----- |
|
||||||
|
| port | int | |
|
||||||
|
| host | String | |
|
||||||
|
|
||||||
|
|
||||||
|
### setProxyTimeoutTime [[src]](src/java/net/i2p/i2pfirefox/I2PCommonBrowser.java#L391)
|
||||||
|
|
||||||
|
+ Description: Alters the proxy timeout to customized value time in seconds. May be zero.
|
||||||
|
+ Access: public
|
||||||
|
+ return: void
|
||||||
|
|
||||||
|
| Name | Type | Description |
|
||||||
|
| ----- | ----- | ----- |
|
||||||
|
| time | int | |
|
||||||
|
|
||||||
|
|
||||||
|
115
I2PFirefox.md
115
I2PFirefox.md
@ -19,7 +19,6 @@ package: net.i2p.i2pfirefox
|
|||||||
<ul>
|
<ul>
|
||||||
<li>java.io.File</li>
|
<li>java.io.File</li>
|
||||||
<li>java.io.IOException</li>
|
<li>java.io.IOException</li>
|
||||||
<li>java.net.Socket</li>
|
|
||||||
<li>java.util.ArrayList</li>
|
<li>java.util.ArrayList</li>
|
||||||
<li>java.util.concurrent.TimeUnit</li>
|
<li>java.util.concurrent.TimeUnit</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -34,13 +33,6 @@ package: net.i2p.i2pfirefox
|
|||||||
+ Access: private
|
+ Access: private
|
||||||
+ Modifiers: final
|
+ Modifiers: final
|
||||||
|
|
||||||
#### int DEFAULT_TIMEOUT [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L)
|
|
||||||
|
|
||||||
>
|
|
||||||
|
|
||||||
+ Access: private
|
|
||||||
+ Modifiers: final
|
|
||||||
|
|
||||||
#### Process p [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L)
|
#### Process p [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L)
|
||||||
|
|
||||||
>
|
>
|
||||||
@ -56,7 +48,7 @@ package: net.i2p.i2pfirefox
|
|||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
### FIND_FIREFOX_SEARCH_PATHS_UNIX [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L46)
|
### FIND_FIREFOX_SEARCH_PATHS_UNIX [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L44)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -66,7 +58,7 @@ package: net.i2p.i2pfirefox
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### FIND_FIREFOX_SEARCH_PATHS_OSX [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L61)
|
### FIND_FIREFOX_SEARCH_PATHS_OSX [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L59)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -76,7 +68,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### FIND_FIREFOX_SEARCH_PATHS_WINDOWS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L78)
|
### FIND_FIREFOX_SEARCH_PATHS_WINDOWS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L76)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -86,7 +78,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### FIND_ALL_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L114)
|
### FIND_ALL_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L112)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -96,7 +88,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### FIND_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L134)
|
### FIND_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L132)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -106,7 +98,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### NEARBY_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L148)
|
### NEARBY_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L146)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -116,7 +108,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### FIREFOX_FINDER [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L204)
|
### FIREFOX_FINDER [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L202)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -126,7 +118,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### getOperatingSystem [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L216)
|
### getOperatingSystem [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L214)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -136,7 +128,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### onlyValidFirefoxes [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L238)
|
### onlyValidFirefoxes [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L236)
|
||||||
|
|
||||||
+ Description: Check our list of firefox paths for a valid firefox binary. Just an existence check for now but should check versions in the future.
|
+ Description: Check our list of firefox paths for a valid firefox binary. Just an existence check for now but should check versions in the future.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -145,7 +137,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### topFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L258)
|
### topFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L256)
|
||||||
|
|
||||||
+ Description: Return the best available Firefox from the list of Firefoxes we have.
|
+ Description: Return the best available Firefox from the list of Firefoxes we have.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -154,7 +146,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### topFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L287)
|
### topFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L285)
|
||||||
|
|
||||||
+ Description: Return the best available Firefox from the list of Firefoxes we have. if override is passed it will be validated and if it validates it will be used.
|
+ Description: Return the best available Firefox from the list of Firefoxes we have. if override is passed it will be validated and if it validates it will be used.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -165,7 +157,7 @@ This method has no parameters.
|
|||||||
| overrideFirefox | String | |
|
| overrideFirefox | String | |
|
||||||
|
|
||||||
|
|
||||||
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L305)
|
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L303)
|
||||||
|
|
||||||
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile.
|
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -174,7 +166,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L317)
|
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L315)
|
||||||
|
|
||||||
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile.
|
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -185,7 +177,7 @@ This method has no parameters.
|
|||||||
| args | String[] | the args to pass to the Firefox binary |
|
| args | String[] | the args to pass to the Firefox binary |
|
||||||
|
|
||||||
|
|
||||||
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L331)
|
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L329)
|
||||||
|
|
||||||
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile. Pass the --private-window flag to open a window.
|
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile. Pass the --private-window flag to open a window.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -194,7 +186,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L344)
|
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L342)
|
||||||
|
|
||||||
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile. Pass the --private-window flag to open a window.
|
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile. Pass the --private-window flag to open a window.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -205,7 +197,7 @@ This method has no parameters.
|
|||||||
| args | String[] | the arguments to pass to the Firefox binary |
|
| args | String[] | the arguments to pass to the Firefox binary |
|
||||||
|
|
||||||
|
|
||||||
### headlessProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L366)
|
### headlessProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L364)
|
||||||
|
|
||||||
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile. Pass the --headless flag to open without a window.
|
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile. Pass the --headless flag to open without a window.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -216,7 +208,7 @@ This method has no parameters.
|
|||||||
| args | String[] | the arguments to pass to the Firefox binary |
|
| args | String[] | the arguments to pass to the Firefox binary |
|
||||||
|
|
||||||
|
|
||||||
### processBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L389)
|
### processBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L387)
|
||||||
|
|
||||||
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile with a specific set of extended arguments.
|
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile with a specific set of extended arguments.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -227,64 +219,7 @@ This method has no parameters.
|
|||||||
| args | String[] | the extended arguments to pass to the Firefox binary. |
|
| args | String[] | the extended arguments to pass to the Firefox binary. |
|
||||||
|
|
||||||
|
|
||||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L422)
|
### usabilityMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L413)
|
||||||
|
|
||||||
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of 200 seconds.
|
|
||||||
+ Access: public
|
|
||||||
+ return: true if the proxy is ready false if it is not.
|
|
||||||
|
|
||||||
This method has no parameters.
|
|
||||||
|
|
||||||
|
|
||||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L432)
|
|
||||||
|
|
||||||
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of the specified number of seconds.
|
|
||||||
+ Access: public
|
|
||||||
+ return: true if the proxy is ready false if it is not.
|
|
||||||
|
|
||||||
| Name | Type | Description |
|
|
||||||
| ----- | ----- | ----- |
|
|
||||||
| timeout | int | the number of seconds to wait for the proxy to be ready. |
|
|
||||||
|
|
||||||
|
|
||||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L444)
|
|
||||||
|
|
||||||
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
|
|
||||||
+ Access: public
|
|
||||||
+ return: true if the proxy is ready false if it is not.
|
|
||||||
|
|
||||||
| Name | Type | Description |
|
|
||||||
| ----- | ----- | ----- |
|
|
||||||
| timeout | int | the number of seconds to wait for the proxy to be ready. |
|
|
||||||
| port | int | the port to wait for the proxy to be ready on. |
|
|
||||||
|
|
||||||
|
|
||||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L457)
|
|
||||||
|
|
||||||
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
|
|
||||||
+ Access: public
|
|
||||||
+ return: true if the proxy is ready false if it is not.
|
|
||||||
|
|
||||||
| Name | Type | Description |
|
|
||||||
| ----- | ----- | ----- |
|
|
||||||
| timeout | int | the number of seconds to wait for the proxy to be ready. |
|
|
||||||
| port | int | the port to wait for the proxy to be ready on. |
|
|
||||||
| host | String | the host to wait for the proxy to be ready on. |
|
|
||||||
|
|
||||||
|
|
||||||
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L471)
|
|
||||||
|
|
||||||
+ Description:
|
|
||||||
+ Access: private
|
|
||||||
+ return: boolean
|
|
||||||
|
|
||||||
| Name | Type | Description |
|
|
||||||
| ----- | ----- | ----- |
|
|
||||||
| port | int | |
|
|
||||||
| host | String | |
|
|
||||||
|
|
||||||
|
|
||||||
### usabilityMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L481)
|
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -293,7 +228,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L488)
|
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L420)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -305,7 +240,7 @@ This method has no parameters.
|
|||||||
| url | String[] | |
|
| url | String[] | |
|
||||||
|
|
||||||
|
|
||||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L560)
|
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L493)
|
||||||
|
|
||||||
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Firefox with the profile directory.
|
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Firefox with the profile directory.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -317,7 +252,7 @@ This method has no parameters.
|
|||||||
| url | String[] | |
|
| url | String[] | |
|
||||||
|
|
||||||
|
|
||||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L584)
|
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L517)
|
||||||
|
|
||||||
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Firefox with the profile directory.
|
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Firefox with the profile directory.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -328,7 +263,7 @@ This method has no parameters.
|
|||||||
| privateWindow | boolean | |
|
| privateWindow | boolean | |
|
||||||
|
|
||||||
|
|
||||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L594)
|
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L527)
|
||||||
|
|
||||||
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Firefox with the profile directory. Uses a semi-permanent profile.
|
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Firefox with the profile directory. Uses a semi-permanent profile.
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -337,7 +272,7 @@ This method has no parameters.
|
|||||||
This method has no parameters.
|
This method has no parameters.
|
||||||
|
|
||||||
|
|
||||||
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L596)
|
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L529)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
@ -349,7 +284,7 @@ This method has no parameters.
|
|||||||
| inUrl | String | |
|
| inUrl | String | |
|
||||||
|
|
||||||
|
|
||||||
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L607)
|
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L540)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: public
|
+ Access: public
|
||||||
@ -361,7 +296,7 @@ This method has no parameters.
|
|||||||
| args | String[] | |
|
| args | String[] | |
|
||||||
|
|
||||||
|
|
||||||
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L636)
|
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L573)
|
||||||
|
|
||||||
+ Description:
|
+ Description:
|
||||||
+ Access: private
|
+ Access: private
|
||||||
|
@ -317,7 +317,7 @@ Linux(because the top command will be run and the script will exit).\n\nBoth det
|
|||||||
<delete dir="plugin/eepsite/docroot/torrents/" />
|
<delete dir="plugin/eepsite/docroot/torrents/" />
|
||||||
<!-- get version number -->
|
<!-- get version number -->
|
||||||
<buildnumber file="scripts/build.number" />
|
<buildnumber file="scripts/build.number" />
|
||||||
<property name="release.number" value="0.0.33" />
|
<property name="release.number" value="0.0.34" />
|
||||||
|
|
||||||
<!-- make the update xpi2p -->
|
<!-- make the update xpi2p -->
|
||||||
<!-- this contains everything except i2ptunnel.config -->
|
<!-- this contains everything except i2ptunnel.config -->
|
||||||
|
@ -33,7 +33,7 @@ import java.util.zip.ZipInputStream;
|
|||||||
public class I2PCommonBrowser {
|
public class I2PCommonBrowser {
|
||||||
static Logger logger = Logger.getLogger("browserlauncher");
|
static Logger logger = Logger.getLogger("browserlauncher");
|
||||||
static FileHandler fh;
|
static FileHandler fh;
|
||||||
//private final int DEFAULT_TIMEOUT = 200;
|
// private final int DEFAULT_TIMEOUT = 200;
|
||||||
private static int CONFIGURED_TIMEOUT = 200;
|
private static int CONFIGURED_TIMEOUT = 200;
|
||||||
|
|
||||||
public I2PCommonBrowser() {
|
public I2PCommonBrowser() {
|
||||||
@ -357,7 +357,7 @@ public class I2PCommonBrowser {
|
|||||||
*/
|
*/
|
||||||
public boolean waitForProxy(int timeout, int port, String host) {
|
public boolean waitForProxy(int timeout, int port, String host) {
|
||||||
println("waiting up to " + timeout + "seconds for a proxy");
|
println("waiting up to " + timeout + "seconds for a proxy");
|
||||||
if (timeout <= 0){
|
if (timeout <= 0) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
for (int i = 0; i < timeout; i++) {
|
for (int i = 0; i < timeout; i++) {
|
||||||
@ -388,7 +388,5 @@ public class I2PCommonBrowser {
|
|||||||
*
|
*
|
||||||
* @param time
|
* @param time
|
||||||
*/
|
*/
|
||||||
public void setProxyTimeoutTime(int time){
|
public void setProxyTimeoutTime(int time) { CONFIGURED_TIMEOUT = time; }
|
||||||
CONFIGURED_TIMEOUT = time;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user