Configuration
Leave feedback
On this page
Inheritance: java.lang.Object
public abstract class Configuration
Represents a search network configuration.
| Constructor | Description |
|---|---|
| Configuration() |
| Method | Description |
|---|---|
| save(String filePath) | Saves this configuration to a file. |
| save(OutputStream stream) | Saves this configuration to a stream. |
| load(String filePath) | Loads a search network configuration from a file. |
| load(InputStream stream) | Loads a search network configuration from a stream. |
public Configuration()
public abstract void save(String filePath)
Saves this configuration to a file.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| filePath | java.lang.String | The file to save to. |
public abstract void save(OutputStream stream)
Saves this configuration to a stream.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream | java.io.OutputStream | The stream to save to. |
public static Configuration load(String filePath)
Loads a search network configuration from a file.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| filePath | java.lang.String | The file to load from. |
Returns: Configuration - The configuration.
public static Configuration load(InputStream stream)
Loads a search network configuration from a stream.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream | java.io.InputStream | The stream to load from. |
Returns: Configuration - The configuration.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.