public static interface Properties.PropertiesBuilder extends CanonicalMap.CanonicalMapBuilder, Properties.MutableProperties
Properties.MutableProperties, Properties.PropertiesBuilder
CanonicalMap.CanonicalMapBuilder, CanonicalMap.MutableCanonicalMap
PropertiesAccessorMixin.PropertiesMixin, PropertiesAccessorMixin.PropertiesMutatorMixin
PathMap.MutablePathMap<T>, PathMap.PathMapBuilder<T>
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterProperty
org.refcodes.mixin.TypeAccessor.TypeMutator<T>, org.refcodes.mixin.TypeAccessor.TypeProperty<T>
Dictionary.MutableDictionary.DictionaryBuilder<K,V,B extends Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>>
Dictionary.MutableDictionary<K,V>
DEFAULT_COMMENT
toCanonicalMapBuilder, toCanonicalMapBuilder, toCanonicalMapBuilder, toCanonicalMapBuilder
toPathMap, toPathMap, toPathMap, toPathMap, toPathMap, toPathMap, toPathMapBuilder, toPathMapBuilder, toPathMapBuilder, toPathMapBuilder
containsValue, delete, loadFrom, loadFrom, loadFrom, loadFrom, put, putAll, putAll, putAll
fromProperties, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, toMap, toProperties, toProperties, toProperties, toProperties, toProperties, toProperties, toProperties, toPropertyPath
putAll, toDump, toSourceCode
toType, toType
get, getBoolean, getBoolean, getByte, getByte, getDouble, getDouble, getFloat, getFloat, getInteger, getInteger, getLong, getLong, getShort, getShort
insert, insert, insertFrom, insertTo, put, putArray, putArray, removeAll
directories, directories, entries, entries, getArray, getArray, hasParentPath, isArray, isArray, isDirectory, isEntry, isRecord, isRootPath, keySet, paths, paths, records, records, toDataStructure, toDataStructure, toMap, toNormalizedPath, toNormalizedPath, toParentPath, toPathMap, toPathMap, toRootPath
isEmpty, size
put, put, putBoolean, putBoolean, putByte, putByte, putDouble, putDouble, putFloat, putFloat, putInteger, putInteger, putLong, putLong, putShort, putShort
static Properties.PropertiesBuilder toPropertiesBuilder()
Properties.PropertiesBuilder
empty instance.Properties.PropertiesBuilder
.static Properties.PropertiesBuilder toPropertiesBuilder(Object aObject)
Properties.PropertiesBuilder
empty instance.aObject
- the a objectProperties.PropertiesBuilder
.static Properties.PropertiesBuilder toPropertiesBuilder(Properties aProperties)
Properties.PropertiesBuilder
instance filled with the provided
Properties
.aProperties
- the a propertiesProperties.PropertiesBuilder
.static Properties.PropertiesBuilder toPropertiesBuilder(Map<?,?> aProperties)
Properties.PropertiesBuilder
instance filled with the provided
Properties
.aProperties
- the a propertiesProperties.PropertiesBuilder
.static Properties.PropertiesBuilder toPropertiesBuilder(String aFilePath) throws IOException
File
. Save them using the
method Properties.saveTo(File)
.aFilePath
- The file path from which to load the properties.Properties.PropertiesBuilder
.IOException
- thrown in case loading the properties failedstatic Properties.PropertiesBuilder toPropertiesBuilder(File aFile) throws IOException
File
. Save them using the
method Properties.saveTo(File)
.aFile
- The File
from which to load the properties.Properties.PropertiesBuilder
.IOException
- thrown in case loading the properties failedstatic Properties.PropertiesBuilder toPropertiesBuilder(InputStream aInputStream) throws IOException
InputStream
. Save them
using the method Properties.saveTo(OutputStream)
.aInputStream
- The InputStream
from which to load the
properties.Properties
.IOException
- thrown in case loading the properties failedstatic Properties.PropertiesBuilder toPropertiesBuilder(URL aURL) throws IOException
URL
.aURL
- The URL
from which to load the properties.Properties
.IOException
- thrown in case loading the properties faileddefault Properties.PropertiesBuilder withPut(String aKey, String aValue)
withPut
in interface CanonicalMap.CanonicalMapBuilder
withPut
in interface Dictionary.MutableDictionary.DictionaryBuilder<String,String,PathMap.PathMapBuilder<String>>
withPut
in interface PathMap.PathMapBuilder<String>
aKey
- the a keyaValue
- the a valuedefault Properties.PropertiesBuilder withPut(Relation<String,String> aProperty)
withPut
in interface CanonicalMap.CanonicalMapBuilder
withPut
in interface Dictionary.MutableDictionary.DictionaryBuilder<String,String,PathMap.PathMapBuilder<String>>
withPut
in interface PathMap.PathMapBuilder<String>
aProperty
- the a propertydefault Properties.PropertiesBuilder withPutInteger(String aKey, Integer aValue)
Integer
value for the property referred to by the
key. As property keys and values are of type String
, the
Integer
value is converted accordingly.withPutInteger
in interface CanonicalMap.CanonicalMapBuilder
aKey
- The key for which to retrieve the value.aValue
- The Integer
representation for the
String
value.default Properties.PropertiesBuilder withPutShort(String aKey, Short aValue)
Short
value for the property referred to by the key.
As property keys and values are of type String
, the
Short
value is converted accordingly.withPutShort
in interface CanonicalMap.CanonicalMapBuilder
aKey
- The key for which to retrieve the value.aValue
- The Short
representation for the String
value.default Properties.PropertiesBuilder withPutByte(String aKey, Byte aValue)
Byte
value for the property referred to by the key.
As property keys and values are of type String
, the
Byte
value is converted accordingly.withPutByte
in interface CanonicalMap.CanonicalMapBuilder
aKey
- The key for which to retrieve the value.aValue
- The Byte
representation for the String
value.default Properties.PropertiesBuilder withPutDouble(String aKey, Double aValue)
Double
value for the property referred to by the
key. As property keys and values are of type String
, the
Double
value is converted accordingly.withPutDouble
in interface CanonicalMap.CanonicalMapBuilder
aKey
- The key for which to retrieve the value.aValue
- The Double
representation for the
String
value.default Properties.PropertiesBuilder withPutFloat(String aKey, Float aValue)
Float
value for the property referred to by the key.
As property keys and values are of type String
, the
Float
value is converted accordingly.withPutFloat
in interface CanonicalMap.CanonicalMapBuilder
aKey
- The key for which to retrieve the value.aValue
- The Float
representation for the String
value.default Properties.PropertiesBuilder withPutBoolean(String aKey, Boolean aValue)
Boolean
value for the property referred to by the
key. As property keys and values are of type String
, the
Boolean
value is converted accordingly.withPutBoolean
in interface CanonicalMap.CanonicalMapBuilder
aKey
- The key for which to retrieve the value.aValue
- The Boolean
representation for the
String
value.default Properties.PropertiesBuilder withPutLong(String aKey, Long aValue)
Long
value for the property referred to by the key.
As property keys and values are of type String
, the
Long
value is converted accordingly.withPutLong
in interface CanonicalMap.CanonicalMapBuilder
aKey
- The key for which to retrieve the value.aValue
- The Long
representation for the String
value.default Properties.PropertiesBuilder withLoadFrom(File aFile) throws IOException
Properties.MutableProperties.loadFrom(File)
.aFile
- The file from which to load the properties.IOException
- thrown in case loading the properties faileddefault Properties.PropertiesBuilder withLoadFrom(String aFilePath) throws IOException
Properties.MutableProperties.loadFrom(String)
.aFilePath
- The file path from which to load the properties.IOException
- thrown in case loading the properties faileddefault Properties.PropertiesBuilder withLoadFrom(InputStream aInputStream) throws IOException
Properties.MutableProperties.loadFrom(InputStream)
.aInputStream
- The InputStream
from which to load the
properties.IOException
- thrown in case loading the properties faileddefault Properties.PropertiesBuilder withLoadFrom(URL aURL) throws IOException
Properties.MutableProperties.loadFrom(URL)
.aURL
- The URL
from which to load the properties.IOException
- thrown in case loading the properties faileddefault Properties.PropertiesBuilder withSaveTo(File aFile) throws IOException
Properties.saveTo(File)
.aFile
- The File
to which to save the properties to.IOException
- thrown in case saving the properties faileddefault Properties.PropertiesBuilder withSaveTo(String aFilePath) throws IOException
Properties.saveTo(String)
.aFilePath
- The file path to which to save the properties to.IOException
- thrown in case saving the properties faileddefault Properties.PropertiesBuilder withSaveTo(File aFile, String aComment) throws IOException
Properties.saveTo(File, String)
.aFile
- The File
to which to save the properties to.aComment
- The description for the properties file.IOException
- thrown in case saving the properties faileddefault Properties.PropertiesBuilder withSaveTo(String aFilePath, String aComment) throws IOException
Properties.saveTo(String, String)
.aFilePath
- The file path to which to save the properties to.aComment
- The description for the properties file.IOException
- thrown in case saving the properties faileddefault Properties.PropertiesBuilder withSaveTo(OutputStream aOutputStream) throws IOException
Properties.saveTo(OutputStream, String)
.aOutputStream
- The OutputStream
where to save the
properties to.IOException
- thrown in case saving the properties faileddefault Properties.PropertiesBuilder withSaveTo(OutputStream aOutputStream, String aComment) throws IOException
Properties.saveTo(OutputStream, String)
.aOutputStream
- The OutputStream
where to save the
properties to.aComment
- The description for the properties file.IOException
- thrown in case saving the properties faileddefault Properties.PropertiesBuilder withInsert(Object aObj)
withInsert
in interface CanonicalMap.CanonicalMapBuilder
withInsert
in interface PathMap.PathMapBuilder<String>
aObj
- the a objPathMap.MutablePathMap.insert(Object)
default Properties.PropertiesBuilder withInsertFrom(Object aFrom, String aFromPath)
withInsertFrom
in interface CanonicalMap.CanonicalMapBuilder
withInsertFrom
in interface PathMap.PathMapBuilder<String>
aFrom
- the a fromaFromPath
- the a from pathPathMap.MutablePathMap.insertFrom(Object, String)
default Properties.PropertiesBuilder withInsertTo(String aToPath, Object aFrom)
withInsertTo
in interface CanonicalMap.CanonicalMapBuilder
withInsertTo
in interface PathMap.PathMapBuilder<String>
aToPath
- the a to pathaFrom
- the a fromPathMap.MutablePathMap.insertTo(String, Object)
default Properties.PropertiesBuilder withInsert(String aToPath, Object aFrom, String aFromPath)
withInsert
in interface CanonicalMap.CanonicalMapBuilder
withInsert
in interface PathMap.PathMapBuilder<String>
aToPath
- the a to pathaFrom
- the a fromaFromPath
- the a from pathPathMap.MutablePathMap.insert(String, Object, String)
default Properties.PropertiesBuilder withRemoveFrom(String aPath)
withRemoveFrom
in interface CanonicalMap.CanonicalMapBuilder
withRemoveFrom
in interface PathMap.PathMapBuilder<String>
aPath
- the a pathProperties.PropertiesBuilder retrieveFrom(String aFromPath)
retrieveFrom
in interface CanonicalMap.CanonicalMapBuilder
retrieveFrom
in interface CanonicalMap.MutableCanonicalMap
retrieveFrom
in interface PathMap<String>
retrieveFrom
in interface PathMap.MutablePathMap<String>
retrieveFrom
in interface PathMap.PathMapBuilder<String>
retrieveFrom
in interface Properties
retrieveFrom
in interface Properties.MutableProperties
aFromPath
- the a from pathProperties.PropertiesBuilder retrieveTo(String aToPath)
retrieveTo
in interface CanonicalMap.CanonicalMapBuilder
retrieveTo
in interface CanonicalMap.MutableCanonicalMap
retrieveTo
in interface PathMap<String>
retrieveTo
in interface PathMap.MutablePathMap<String>
retrieveTo
in interface PathMap.PathMapBuilder<String>
retrieveTo
in interface Properties
retrieveTo
in interface Properties.MutableProperties
aToPath
- the a to pathdefault Properties.PropertiesBuilder retrieve(String aFromPath, String aToPath)
retrieve
in interface CanonicalMap.CanonicalMapBuilder
retrieve
in interface CanonicalMap.MutableCanonicalMap
retrieve
in interface PathMap<String>
retrieve
in interface PathMap.MutablePathMap<String>
retrieve
in interface PathMap.PathMapBuilder<String>
retrieve
in interface Properties
retrieve
in interface Properties.MutableProperties
aFromPath
- the a from pathaToPath
- the a to pathCopyright © 2017. All rights reserved.