Configuration
Contents
 [
        
            Hide
        ]
    Inheritance: java.lang.Object
public abstract class Configuration
Represents a search network configuration.
Constructors
| Constructor | Description | 
|---|---|
| Configuration() | 
Methods
| 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. | 
Configuration()
public Configuration()
save(String filePath)
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. | 
save(OutputStream stream)
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. | 
load(String filePath)
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.
load(InputStream stream)
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.