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
IOExceptionpublic ApacheVfsPropertiesStore(String pathUri) throws IOException
IOExceptionpublic int push(Properties props) throws IOException
PropertiesStorepush in class PropertiesStoreprops - is the Properties to store.IOException - if the underlying transport or storage mechanism throws an IOExceptionpublic int merge(Properties props) throws IOException
PropertiesStoremerge in class PropertiesStoreprops - is the Properties to store.IOException - if the underlying transport or storage mechanism throws an IOExceptionpublic int clear(String... props) throws IOException
PropertiesStoreclear in class PropertiesStoreprops - 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.