Package org.refcodes.configuration
Interface ResourceProperties.ResourcePropertiesBuilder
-
- All Superinterfaces:
org.refcodes.structure.CanonicalMap
,org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
,org.refcodes.structure.CanonicalMap.MutableCanonicalMap
,org.refcodes.structure.Clearable
,org.refcodes.structure.Containable
,org.refcodes.mixin.DelimiterAccessor
,org.refcodes.structure.Dictionary<java.lang.String,T>
,org.refcodes.structure.Dictionary.MutableDictionary<java.lang.String,T>
,org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<java.lang.String,T,org.refcodes.structure.PathMap.PathMapBuilder<T>>
,org.refcodes.mixin.Dumpable
,java.io.Flushable
,org.refcodes.component.Flushable
,org.refcodes.component.Flushable.FlushBuilder<ResourceProperties.ResourcePropertiesBuilder>
,org.refcodes.structure.Keys<java.lang.String,T>
,org.refcodes.structure.Keys.MutableKeys<java.lang.String,T>
,org.refcodes.structure.Keys.MutableValues<java.lang.String,T>
,java.util.Map<java.lang.String,T>
,org.refcodes.structure.PathMap<java.lang.String>
,org.refcodes.structure.PathMap.MutablePathMap<java.lang.String>
,org.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
,Properties
,Properties.MutableProperties
,Properties.PropertiesBuilder
,org.refcodes.structure.PropertiesAccessorMixin
,org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
,org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin
,org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
,ResourceProperties
,ResourceProperties.MutableResoureProperties
,org.refcodes.mixin.TypeAccessor<java.lang.String>
- All Known Subinterfaces:
ScheduledResourceProperties.ScheduledResourcePropertiesBuilder
- All Known Implementing Classes:
AbstractResourcePropertiesBuilder
,AbstractResourcePropertiesBuilderDecorator
,JavaPropertiesBuilder
,JsonPropertiesBuilder
,PolyglotPropertiesBuilder
,ScheduledResourcePropertiesBuilderDecorator
,TomlPropertiesBuilder
,XmlPropertiesBuilder
,YamlPropertiesBuilder
- Enclosing interface:
- ResourceProperties
public static interface ResourceProperties.ResourcePropertiesBuilder extends Properties.PropertiesBuilder, ResourceProperties.MutableResoureProperties, org.refcodes.component.Flushable.FlushBuilder<ResourceProperties.ResourcePropertiesBuilder>
The interfaceResourceProperties.ResourcePropertiesBuilder
defines builder functionality on top of theResourceProperties.MutableResoureProperties
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.structure.CanonicalMap
org.refcodes.structure.CanonicalMap.CanonicalMapBuilder, org.refcodes.structure.CanonicalMap.MutableCanonicalMap
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.DelimiterAccessor
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterProperty
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Dictionary
org.refcodes.structure.Dictionary.MutableDictionary<K extends java.lang.Object,V extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Dictionary.MutableDictionary
org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<K extends java.lang.Object,V extends java.lang.Object,B extends org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>>
-
Nested classes/interfaces inherited from interface org.refcodes.component.Flushable
org.refcodes.component.Flushable.FlushBuilder<B extends org.refcodes.component.Flushable.FlushBuilder<B>>
-
Nested classes/interfaces inherited from interface org.refcodes.structure.PathMap
org.refcodes.structure.PathMap.MutablePathMap<T extends java.lang.Object>, org.refcodes.structure.PathMap.PathMapBuilder<T extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.configuration.Properties
Properties.MutableProperties, Properties.PropertiesBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.structure.PropertiesAccessorMixin
org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<T extends java.lang.Object>, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
-
Nested classes/interfaces inherited from interface org.refcodes.configuration.ResourceProperties
ResourceProperties.MutableResoureProperties, ResourceProperties.ResourcePropertiesBuilder
-
-
Field Summary
-
Fields inherited from interface org.refcodes.configuration.ResourceProperties
VALUE_ATTRIBUTES
-
Fields inherited from interface org.refcodes.configuration.ResourceProperties.MutableResoureProperties
DEFAULT_COMMENT
-
-
Method Summary
-
Methods inherited from interface org.refcodes.structure.CanonicalMap
getBoolean, getBoolean, getBooleanOr, getBooleanOr, getByte, getByte, getByteOr, getByteOr, getCharacter, getCharacter, getCharacterOr, getCharacterOr, getDouble, getDouble, getDoubleOr, getDoubleOr, getFloat, getFloat, getFloatOr, getFloatOr, getInteger, getInteger, getIntegerOr, getIntegerOr, getLong, getLong, getLongOr, getLongOr, getShort, getShort, getShortOr, getShortOr, toInstance, toInstance, toMap, toProperties, toType, toType
-
Methods inherited from interface org.refcodes.structure.CanonicalMap.MutableCanonicalMap
insert, insertBetween, insertFrom, insertTo, put, put, putAll, putBoolean, putBoolean, putByte, putByte, putDouble, putDouble, putFloat, putFloat, putInteger, putInteger, putLong, putLong, putShort, putShort, removeFrom, toDump, toSourceCode, toSourceCode
-
Methods inherited from interface org.refcodes.component.Flushable.FlushBuilder
withFlush, withFlushUnchecked
-
Methods inherited from interface org.refcodes.structure.PathMap
children, children, children, children, children, children, containsKey, containsKey, containsKey, dirs, dirs, dirs, dirs, dirs, dirs, fromExternalPath, get, get, get, getArray, getArray, getArray, getArray, getArray, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getDirAt, getDirAt, getDirAt, getDirAt, getDirIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getRootPath, getValueAt, getValueAt, getValueAt, getValueAt, getValueAt, getValueAt, hasChildren, hasChildren, hasChildren, hasChildren, hasChildren, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasParentPath, hasPath, hasPath, hasPath, hasPath, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, isArray, isArray, isArray, isArray, isArray, isArray, isArrayIndex, isArrayIndex, isArrayIndex, isArrayIndex, isArrayIndex, isArrayIndex, isChild, isChild, isChild, isChild, isDir, isDir, isDir, isDir, isDir, isDirIndex, isDirIndex, isDirIndex, isDirIndex, isDirIndex, isLeaf, isLeaf, isLeaf, isLeaf, isLeaf, isRootPath, keySet, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, leaves, leaves, leaves, leaves, leaves, leaves, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, paths, paths, paths, paths, paths, paths, queryPaths, queryPaths, queryPaths, queryPaths, queryPaths, toDataStructure, toDataStructure, toExternalPath, toLeaf, toMap, toNormalizedPath, toParentPath, toPath, toPath, toPath, toPathElements, toPathList, toPropertyPath
-
Methods inherited from interface org.refcodes.structure.PathMap.MutablePathMap
appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendDirTo, appendValueTo, appendValueTo, appendValueTo, appendValueTo, appendValueTo, appendValueTo, delete, delete, delete, delete, insert, insert, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertBetween, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertFrom, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, insertTo, put, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putArray, putValueAt, putValueAt, putValueAt, putValueAt, putValueAt, remove, remove, removeValueAt, removeValueAt, removeValueAt, removeValueAt, removeValueAt
-
Methods inherited from interface org.refcodes.configuration.Properties
getDelimiter, getType, query, query, query, query, queryBetween, queryBetween, queryBetween, queryBetween, queryBetween, queryFrom, queryFrom, queryFrom, queryFrom, queryFrom, queryTo, queryTo, queryTo, queryTo, queryTo, retrieveBetween, retrieveBetween, retrieveBetween, retrieveBetween, retrieveBetween, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveTo, retrieveTo, retrieveTo, retrieveTo, retrieveTo
-
Methods inherited from interface org.refcodes.configuration.Properties.MutableProperties
containsValue, delete, delete, getDirAt, getDirAt, insert, insertBetween, insertFrom, insertTo, put, putAll, putAll, putAll, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, putDirAt, removeAll, removeAll, removeDirAt, removeDirAt, removeDirAt, removeDirAt, removeDirAt, removeFrom, removeFrom, removeFrom, removeFrom
-
Methods inherited from interface org.refcodes.configuration.Properties.PropertiesBuilder
withInsert, withInsertBetween, withInsertBetween, withInsertBetween, withInsertBetween, withInsertBetween, withInsertBetween, withInsertBetween, withInsertBetween, withInsertBetween, withInsertFrom, withInsertFrom, withInsertFrom, withInsertFrom, withInsertFrom, withInsertFrom, withInsertFrom, withInsertFrom, withInsertFrom, withInsertTo, withInsertTo, withInsertTo, withInsertTo, withInsertTo, withInsertTo, withInsertTo, withInsertTo, withInsertTo, withPut, withPutBoolean, withPutBoolean, withPutByte, withPutByte, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDirAt, withPutDouble, withPutDouble, withPutFloat, withPutFloat, withPutInteger, withPutInteger, withPutLong, withPutLong, withPutShort, withPutShort, withRemoveFrom, withRemoveFrom, withRemoveFrom, withRemoveFrom
-
Methods inherited from interface org.refcodes.structure.PropertiesAccessorMixin
asArray, asArray, asArray, asArray, asBooleanArray, asBooleanArray, asBooleanArray, asBooleanArray, asByteArray, asByteArray, asByteArray, asByteArray, asCharacterArray, asCharacterArray, asCharacterArray, asCharacterArray, asDoubleArray, asDoubleArray, asDoubleArray, asDoubleArray, asFloatArray, asFloatArray, asFloatArray, asFloatArray, asIntegerArray, asIntegerArray, asIntegerArray, asIntegerArray, asLongArray, asLongArray, asLongArray, asLongArray, asShortArray, asShortArray, asShortArray, asShortArray, getBoolean, getBoolean, getBooleanOr, getBooleanOr, getByte, getByte, getByteOr, getByteOr, getCharacter, getCharacter, getCharacterOr, getCharacterOr, getDouble, getDouble, getDoubleOr, getDoubleOr, getFloat, getFloat, getFloatOr, getFloatOr, getInteger, getInteger, getIntegerOr, getIntegerOr, getLong, getLong, getLongOr, getLongOr, getShort, getShort, getShortOr, getShortOr
-
Methods inherited from interface org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin
withPut
-
Methods inherited from interface org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
put, put, putBoolean, putBoolean, putByte, putByte, putDouble, putDouble, putFloat, putFloat, putInteger, putInteger, putLong, putLong, putShort, putShort
-
Methods inherited from interface org.refcodes.configuration.ResourceProperties
reload, reload, toSerialized
-
Methods inherited from interface org.refcodes.configuration.ResourceProperties.MutableResoureProperties
fileTo, fileTo, fileTo, fileTo, fileTo, fileTo, fileTo, fileTo, flush, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, parseFrom, parseFrom, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, seekFrom, seekFrom, seekFrom, seekFrom, seekFrom, seekFrom, seekFrom, seekFrom, seekFrom, toSerialized
-
-
-
-
Method Detail
-
withInsert
default ResourceProperties.ResourcePropertiesBuilder withInsert(java.lang.Object aObj)
- Specified by:
withInsert
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withInsert
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
- Specified by:
withInsert
in interfaceProperties.PropertiesBuilder
-
withInsertBetween
default ResourceProperties.ResourcePropertiesBuilder withInsertBetween(java.lang.String aToPath, java.lang.Object aFrom, java.lang.String aFromPath)
- Specified by:
withInsertBetween
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withInsertBetween
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
- Specified by:
withInsertBetween
in interfaceProperties.PropertiesBuilder
-
withInsertFrom
default ResourceProperties.ResourcePropertiesBuilder withInsertFrom(java.lang.Object aFrom, java.lang.String aFromPath)
- Specified by:
withInsertFrom
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withInsertFrom
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
- Specified by:
withInsertFrom
in interfaceProperties.PropertiesBuilder
-
withInsertTo
default ResourceProperties.ResourcePropertiesBuilder withInsertTo(java.lang.String aToPath, java.lang.Object aFrom)
- Specified by:
withInsertTo
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withInsertTo
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
- Specified by:
withInsertTo
in interfaceProperties.PropertiesBuilder
-
withLoadFrom
default ResourceProperties.ResourcePropertiesBuilder withLoadFrom(java.lang.Class<?> aResourceClass, java.lang.String aFilePath) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.loadFrom(Class, String)
.- Parameters:
aResourceClass
- The class which's class loader is to take care of loading the properties (from inside a JAR).aFilePath
- The file path of the class's resources from which to load the properties.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withLoadFrom
default ResourceProperties.ResourcePropertiesBuilder withLoadFrom(java.lang.Class<?> aResourceClass, java.lang.String aFilePath, char... aDelimiters) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.loadFrom(Class, String, char...)
.- Parameters:
aResourceClass
- The class which's class loader is to take care of loading the properties (from inside a JAR).aFilePath
- The file path of the class's resources from which to load the properties.aDelimiters
- The according delimiters.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withLoadFrom
default ResourceProperties.ResourcePropertiesBuilder withLoadFrom(java.io.File aFile) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.loadFrom(File)
.- Parameters:
aFile
- The according file.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withLoadFrom
default ResourceProperties.ResourcePropertiesBuilder withLoadFrom(java.io.File aFile, char... aDelimiters) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.loadFrom(File, char...)
.- Parameters:
aFile
- The according file path.aDelimiters
- The according delimiters.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withLoadFrom
default ResourceProperties.ResourcePropertiesBuilder withLoadFrom(java.io.InputStream aInputStream) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.loadFrom(InputStream)
.- Parameters:
aInputStream
- TheInputStream
from which to load the properties.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withLoadFrom
default ResourceProperties.ResourcePropertiesBuilder withLoadFrom(java.io.InputStream aInputStream, char... aDelimiters) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.loadFrom(InputStream, char...)
.- Parameters:
aInputStream
- TheInputStream
from which to load the properties.aDelimiters
- The according delimiters.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withLoadFrom
default ResourceProperties.ResourcePropertiesBuilder withLoadFrom(java.lang.String aFilePath) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.loadFrom(String)
.- Parameters:
aFilePath
- The according file path.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withLoadFrom
default ResourceProperties.ResourcePropertiesBuilder withLoadFrom(java.lang.String aFilePath, char... aDelimiters) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.loadFrom(String, char...)
.- Parameters:
aFilePath
- The according file path.aDelimiters
- The according delimiters.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withLoadFrom
default ResourceProperties.ResourcePropertiesBuilder withLoadFrom(java.net.URL aUrl) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.loadFrom(URL)
.- Parameters:
aUrl
- TheURL
from which to load the properties.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withLoadFrom
default ResourceProperties.ResourcePropertiesBuilder withLoadFrom(java.net.URL aUrl, char... aDelimiters) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.loadFrom(URL, char...)
.- Parameters:
aUrl
- TheURL
from which to load the properties.aDelimiters
- The according delimiters.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withPut
default ResourceProperties.ResourcePropertiesBuilder withPut(java.lang.Object aPath, java.lang.String aValue)
- Specified by:
withPut
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPut
in interfaceProperties.PropertiesBuilder
-
withPut
default ResourceProperties.ResourcePropertiesBuilder withPut(java.lang.Object[] aPathElements, java.lang.String aValue) throws java.lang.NumberFormatException
- Specified by:
withPut
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPut
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
- Specified by:
withPut
in interfaceProperties.PropertiesBuilder
- Throws:
java.lang.NumberFormatException
-
withPut
default ResourceProperties.ResourcePropertiesBuilder withPut(org.refcodes.structure.Relation<java.lang.String,java.lang.String> aProperty)
- Specified by:
withPut
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPut
in interfaceorg.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<java.lang.String,T extends java.lang.Object,org.refcodes.structure.PathMap.PathMapBuilder<T extends java.lang.Object>>
- Specified by:
withPut
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
- Specified by:
withPut
in interfaceProperties.PropertiesBuilder
-
withPut
default ResourceProperties.ResourcePropertiesBuilder withPut(java.lang.String aKey, java.lang.String aValue)
- Specified by:
withPut
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPut
in interfaceorg.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<java.lang.String,T extends java.lang.Object,org.refcodes.structure.PathMap.PathMapBuilder<T extends java.lang.Object>>
- Specified by:
withPut
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
- Specified by:
withPut
in interfaceProperties.PropertiesBuilder
- Specified by:
withPut
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withPut
default ResourceProperties.ResourcePropertiesBuilder withPut(java.lang.String[] aPathElements, java.lang.String aValue) throws java.lang.NumberFormatException
- Specified by:
withPut
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPut
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
- Specified by:
withPut
in interfaceProperties.PropertiesBuilder
- Throws:
java.lang.NumberFormatException
-
withPutBoolean
default ResourceProperties.ResourcePropertiesBuilder withPutBoolean(java.lang.Object[] aPathElements, java.lang.Boolean aValue)
- Specified by:
withPutBoolean
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutBoolean
in interfaceProperties.PropertiesBuilder
-
withPutBoolean
default ResourceProperties.ResourcePropertiesBuilder withPutBoolean(java.lang.String aKey, java.lang.Boolean aValue)
- Specified by:
withPutBoolean
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutBoolean
in interfaceProperties.PropertiesBuilder
- Specified by:
withPutBoolean
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withPutBoolean
default ResourceProperties.ResourcePropertiesBuilder withPutBoolean(java.lang.String[] aPathElements, java.lang.Boolean aValue)
- Specified by:
withPutBoolean
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutBoolean
in interfaceProperties.PropertiesBuilder
-
withPutByte
default ResourceProperties.ResourcePropertiesBuilder withPutByte(java.lang.Object[] aPathElements, java.lang.Byte aValue)
- Specified by:
withPutByte
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutByte
in interfaceProperties.PropertiesBuilder
-
withPutByte
default ResourceProperties.ResourcePropertiesBuilder withPutByte(java.lang.String aKey, java.lang.Byte aValue)
- Specified by:
withPutByte
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutByte
in interfaceProperties.PropertiesBuilder
- Specified by:
withPutByte
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withPutByte
default ResourceProperties.ResourcePropertiesBuilder withPutByte(java.lang.String[] aPathElements, java.lang.Byte aValue)
- Specified by:
withPutByte
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutByte
in interfaceProperties.PropertiesBuilder
-
withPutDouble
default ResourceProperties.ResourcePropertiesBuilder withPutDouble(java.lang.Object[] aPathElements, java.lang.Double aValue)
- Specified by:
withPutDouble
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutDouble
in interfaceProperties.PropertiesBuilder
-
withPutDouble
default ResourceProperties.ResourcePropertiesBuilder withPutDouble(java.lang.String aKey, java.lang.Double aValue)
- Specified by:
withPutDouble
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutDouble
in interfaceProperties.PropertiesBuilder
- Specified by:
withPutDouble
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withPutDouble
default ResourceProperties.ResourcePropertiesBuilder withPutDouble(java.lang.String[] aPathElements, java.lang.Double aValue)
- Specified by:
withPutDouble
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutDouble
in interfaceProperties.PropertiesBuilder
-
withPutFloat
default ResourceProperties.ResourcePropertiesBuilder withPutFloat(java.lang.Object[] aPathElements, java.lang.Float aValue)
- Specified by:
withPutFloat
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutFloat
in interfaceProperties.PropertiesBuilder
-
withPutFloat
default ResourceProperties.ResourcePropertiesBuilder withPutFloat(java.lang.String aKey, java.lang.Float aValue)
- Specified by:
withPutFloat
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutFloat
in interfaceProperties.PropertiesBuilder
- Specified by:
withPutFloat
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withPutFloat
default ResourceProperties.ResourcePropertiesBuilder withPutFloat(java.lang.String[] aPathElements, java.lang.Float aValue)
- Specified by:
withPutFloat
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutFloat
in interfaceProperties.PropertiesBuilder
-
withPutInteger
default ResourceProperties.ResourcePropertiesBuilder withPutInteger(java.lang.Object[] aPathElements, java.lang.Integer aValue)
- Specified by:
withPutInteger
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutInteger
in interfaceProperties.PropertiesBuilder
-
withPutInteger
default ResourceProperties.ResourcePropertiesBuilder withPutInteger(java.lang.String aKey, java.lang.Integer aValue)
- Specified by:
withPutInteger
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutInteger
in interfaceProperties.PropertiesBuilder
- Specified by:
withPutInteger
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withPutInteger
default ResourceProperties.ResourcePropertiesBuilder withPutInteger(java.lang.String[] aPathElements, java.lang.Integer aValue)
- Specified by:
withPutInteger
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutInteger
in interfaceProperties.PropertiesBuilder
-
withPutLong
default ResourceProperties.ResourcePropertiesBuilder withPutLong(java.lang.Object[] aPathElements, java.lang.Long aValue)
- Specified by:
withPutLong
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutLong
in interfaceProperties.PropertiesBuilder
-
withPutLong
default ResourceProperties.ResourcePropertiesBuilder withPutLong(java.lang.String aKey, java.lang.Long aValue)
- Specified by:
withPutLong
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutLong
in interfaceProperties.PropertiesBuilder
- Specified by:
withPutLong
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withPutLong
default ResourceProperties.ResourcePropertiesBuilder withPutLong(java.lang.String[] aPathElements, java.lang.Long aValue)
- Specified by:
withPutLong
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutLong
in interfaceProperties.PropertiesBuilder
-
withPutShort
default ResourceProperties.ResourcePropertiesBuilder withPutShort(java.lang.Object[] aPathElements, java.lang.Short aValue)
- Specified by:
withPutShort
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutShort
in interfaceProperties.PropertiesBuilder
-
withPutShort
default ResourceProperties.ResourcePropertiesBuilder withPutShort(java.lang.String aKey, java.lang.Short aValue)
- Specified by:
withPutShort
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutShort
in interfaceProperties.PropertiesBuilder
- Specified by:
withPutShort
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withPutShort
default ResourceProperties.ResourcePropertiesBuilder withPutShort(java.lang.String[] aPathElements, java.lang.Short aValue)
- Specified by:
withPutShort
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutShort
in interfaceProperties.PropertiesBuilder
-
withRemoveFrom
default ResourceProperties.ResourcePropertiesBuilder withRemoveFrom(java.lang.String aPath)
- Specified by:
withRemoveFrom
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withRemoveFrom
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
- Specified by:
withRemoveFrom
in interfaceProperties.PropertiesBuilder
-
withSeekFrom
default ResourceProperties.ResourcePropertiesBuilder withSeekFrom(java.lang.Class<?> aResourceClass, org.refcodes.runtime.ConfigLocator aConfigLocator, java.lang.String aFilePath, char... aDelimiters) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.loadFrom(String)
.- Parameters:
aResourceClass
- The class which's class loader is to take care of loading the properties (from inside a JAR).aFilePath
- The file path of the class's resources from which to load the properties.aConfigLocator
- TheConfigLocator
describes the locations to additional crawl for the desired file.aDelimiters
- The according delimiters.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withSeekFrom
default ResourceProperties.ResourcePropertiesBuilder withSeekFrom(java.lang.Class<?> aResourceClass, java.lang.String aFilePath) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.seekFrom(Class, String)
.- Parameters:
aResourceClass
- The class which's class loader is to take care of loading the properties (from inside a JAR).aFilePath
- The file path of the class's resources from which to load the properties.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withSeekFrom
default ResourceProperties.ResourcePropertiesBuilder withSeekFrom(java.lang.Class<?> aResourceClass, java.lang.String aFilePath, char... aDelimiters) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.seekFrom(Class, String, char...)
.- Parameters:
aResourceClass
- The class which's class loader is to take care of loading the properties (from inside a JAR).aFilePath
- The file path of the class's resources from which to load the properties.aDelimiters
- The according delimiters.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withSeekFrom
default ResourceProperties.ResourcePropertiesBuilder withSeekFrom(java.io.File aFile) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.seekFrom(File)
.- Parameters:
aFile
- The according file path.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withSeekFrom
default ResourceProperties.ResourcePropertiesBuilder withSeekFrom(java.io.File aFile, char... aDelimiters) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.seekFrom(File, char...)
.- Parameters:
aDelimiters
- The according delimiters.aFile
- The according file path.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withSeekFrom
default ResourceProperties.ResourcePropertiesBuilder withSeekFrom(java.lang.String aFilePath) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.seekFrom(String)
.- Parameters:
aFilePath
- The according file path.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
withSeekFrom
default ResourceProperties.ResourcePropertiesBuilder withSeekFrom(java.lang.String aFilePath, char... aDelimiters) throws java.io.IOException, java.text.ParseException
Builder method forResourceProperties.MutableResoureProperties.saveTo(String, char)
.- Parameters:
aFilePath
- The according file.aDelimiters
- The according delimiters.- Returns:
- The implementing instance as of the builder pattern.
- Throws:
java.io.IOException
- thrown in case accessing or processing the properties file failed.java.text.ParseException
- Signals that an error has been reached unexpectedly while parsing the data to be loaded.
-
-