public class PrefsConfigWriter extends Object implements org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriter
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
PrefsConfigWriter(Preferences prefs) |
| Modifier and Type | Method and Description |
|---|---|
org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriter |
createCollectionChild(String propName,
Field field) |
void |
flushDiffs() |
void |
flushWriter() |
org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriter |
getChildWriter(String propName,
Field field) |
org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriter |
getCollectionElementDiffWriter(String keyName,
String keyValue) |
org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriter |
getCollectionElementWriter(String keyName,
String keyValue,
Field field) |
void |
removeCollectionElement(String keyName,
String keyValue) |
void |
removeCurrentNode() |
void |
storeDiff(String propName,
Object prev,
Object curr) |
void |
storeNotDef(String propName,
Object value,
String def) |
void |
storeNotEmpty(String propName,
Object value) |
void |
storeNotNull(String propName,
Object value) |
public PrefsConfigWriter(Preferences prefs)
public void storeNotDef(String propName, Object value, String def)
storeNotDef in interface org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriterpublic void storeNotEmpty(String propName, Object value)
storeNotEmpty in interface org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriterpublic void storeNotNull(String propName, Object value)
storeNotNull in interface org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriterpublic void storeDiff(String propName, Object prev, Object curr)
storeDiff in interface org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriterpublic org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriter getCollectionElementWriter(String keyName, String keyValue, Field field) throws org.dcm4che3.conf.api.ConfigurationException
getCollectionElementWriter in interface org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriterorg.dcm4che3.conf.api.ConfigurationExceptionpublic org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriter createCollectionChild(String propName, Field field) throws org.dcm4che3.conf.api.ConfigurationException
createCollectionChild in interface org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriterorg.dcm4che3.conf.api.ConfigurationExceptionpublic void flushWriter()
throws org.dcm4che3.conf.api.ConfigurationException
flushWriter in interface org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriterorg.dcm4che3.conf.api.ConfigurationExceptionpublic void flushDiffs()
throws org.dcm4che3.conf.api.ConfigurationException
flushDiffs in interface org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriterorg.dcm4che3.conf.api.ConfigurationExceptionpublic void removeCollectionElement(String keyName, String keyValue) throws org.dcm4che3.conf.api.ConfigurationException
removeCollectionElement in interface org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriterorg.dcm4che3.conf.api.ConfigurationExceptionpublic org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriter getCollectionElementDiffWriter(String keyName, String keyValue)
getCollectionElementDiffWriter in interface org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriterpublic org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriter getChildWriter(String propName, Field field)
getChildWriter in interface org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriterpublic void removeCurrentNode()
throws org.dcm4che3.conf.api.ConfigurationException
removeCurrentNode in interface org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigWriterorg.dcm4che3.conf.api.ConfigurationExceptionCopyright © 2014 dcm4che.org. All rights reserved.