public class ApacheVfsPropertiesStore extends PropertiesStore
Constructor and Description |
---|
ApacheVfsPropertiesStore(String pathUri) |
ApacheVfsPropertiesStore(String parentUri,
String childPropertiesName) |
Modifier and Type | Method and Description |
---|---|
int |
clear(String... props)
This will clear the given properties by name.
|
int |
merge(Properties props)
This will merge the new properties with the old properties overwriting where there are clashes.
|
int |
push(Properties props)
This will basically clear the existing properties and replace them with the new set.
|
public ApacheVfsPropertiesStore(String parentUri, String childPropertiesName) throws IOException
IOException
public ApacheVfsPropertiesStore(String pathUri) throws IOException
IOException
public int push(Properties props) throws IOException
PropertiesStore
push
in class PropertiesStore
props
- is the Properties
to store.IOException
- if the underlying transport or storage mechanism throws an IOExceptionpublic int merge(Properties props) throws IOException
PropertiesStore
merge
in class PropertiesStore
props
- is the Properties
to store.IOException
- if the underlying transport or storage mechanism throws an IOExceptionpublic int clear(String... props) throws IOException
PropertiesStore
clear
in class PropertiesStore
props
- is the set of keys to clear from the distributed properties.IOException
- if the underlying transport or storage mechanism throws an IOExceptionCopyright © 2018. All rights reserved.