public interface Configuration
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_RESOURCES_LOCATION |
static String |
DIR |
static String |
RESOURCES_LOCATION |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Clean up configuration resources.
|
void |
init()
Initialize the configuration settings.
|
void |
load()
Load the configuration settings.
|
void |
save()
Store configuration settings.
|
static final String DIR
static final String RESOURCES_LOCATION
static final String DEFAULT_RESOURCES_LOCATION
void init() throws IOException
IOException
- if the configuration settings could not be initialized because of an I/O problem.void load() throws IOException
IOException
- if the configuration settings could not be loaded due to an I/O problem.void save() throws IOException
IOException
- if the configuration settings could not be saved due to an I/O problem.void destroy() throws IOException
IOException
- if one or more resources could not be cleaned up. Implementations should attempt to clean up
as many resources as possible before returning or throwing an exception.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.