Class AbstractObservableResourcePropertiesBuilderDecorator<T extends org.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder>

    • 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

        org.refcodes.configuration.Properties.MutableProperties, org.refcodes.configuration.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

        org.refcodes.configuration.ResourceProperties.MutableResoureProperties, org.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.TypeAccessor

        org.refcodes.mixin.TypeAccessor.TypeMutator<T extends java.lang.Object>, org.refcodes.mixin.TypeAccessor.TypeProperty<T extends java.lang.Object>
    • 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void flush​()
      org.refcodes.configuration.Properties loadFrom​(java.io.File aFile, char... aDelimiters)
      org.refcodes.configuration.Properties loadFrom​(java.io.InputStream aInputStream, char... aDelimiters)
      org.refcodes.configuration.Properties reload​()
      org.refcodes.configuration.Properties reload​(org.refcodes.configuration.ReloadMode aReloadMode)
      java.io.File saveTo​(java.io.File aFile, java.lang.String aComment, char aDelimiter)
      void saveTo​(java.io.OutputStream aOutputStream, java.lang.String aComment, char aDelimiter)
      org.refcodes.configuration.Properties seekFrom​(java.lang.Class<?> aResourceClass, java.lang.String aFilePath, org.refcodes.runtime.ConfigLocator aConfigLocator, char... aDelimiters)
      java.lang.String toSerialized​(char aDelimiter)
      • Methods inherited from class org.refcodes.configuration.AbstractPropertiesDecorator

        containsKey, get, getDelimiter, getProperties, isEmpty, keySet, retrieveFrom, retrieveTo, setProperties, size, toDataStructure, values
      • Methods inherited from interface org.refcodes.structure.CanonicalMap

        toInstance, toInstance, toType, toType
      • Methods inherited from interface org.refcodes.structure.CanonicalMap.CanonicalMapBuilder

        withInsert, withInsert, withInsertFrom, withInsertTo
      • Methods inherited from interface org.refcodes.structure.CanonicalMap.MutableCanonicalMap

        insert, insert, insertFrom, insertTo, putAll, toDump, toSourceCode, toSourceCode
      • Methods inherited from interface org.refcodes.structure.Containable

        isEmpty, size
      • Methods inherited from interface org.refcodes.mixin.Dumpable

        toDump
      • Methods inherited from interface org.refcodes.component.Flushable

        flushUnchecked, isFlushable
      • Methods inherited from interface org.refcodes.component.Flushable.FlushBuilder

        withFlush, withFlushUnchecked
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.refcodes.observer.Observable

        hasObserverSubscription, subscribeObserver, unsubscribeObserver
      • Methods inherited from interface org.refcodes.structure.PathMap

        children, children, children, directories, directories, directories, directories, directories, fromExternalKey, get, get, getArray, getArray, getBoolean, getBoolean, getByte, getByte, getCharacter, getCharacter, getDouble, getDouble, getFloat, getFloat, getIndexes, getIndexes, getInteger, getInteger, getLong, getLong, getRootPath, getShort, getShort, hasChildren, hasChildren, hasChildren, hasIndexed, hasIndexed, hasParentPath, isArray, isArray, isArray, isArray, isArray, isChild, isChild, isChild, isDirectory, isDirectory, isDirectory, isDirectory, isIndexed, isIndexed, isPath, isRecord, isRecord, isRecord, isRecord, isRootPath, keySet, paths, paths, paths, paths, paths, queryPaths, records, records, records, records, records, toDataStructure, toDataStructure, toExternalKey, toMap, toNormalizedPath, toNormalizedPath, toParentPath, toPath, toPath
      • Methods inherited from interface org.refcodes.structure.PathMap.MutablePathMap

        insert, insert, insert, insert, insertFrom, insertFrom, insertTo, insertTo, put, putArray, putArray, remove, remove, removeAll, removeAll, removeFrom, removeFrom, removeFrom, removeFrom
      • Methods inherited from interface org.refcodes.structure.PathMap.PathMapBuilder

        withInsert, withInsert, withInsertFrom, withInsertTo
      • Methods inherited from interface org.refcodes.configuration.Properties

        getDelimiter, getType, query, query, queryFrom, queryTo, retrieve, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveTo, retrieveTo, retrieveTo, retrieveTo, toMap, toProperties, toPropertyPath
      • Methods inherited from interface org.refcodes.configuration.Properties.MutableProperties

        containsValue, delete, delete, insert, insert, insertFrom, insertTo, put, putAll, putAll, putAll
      • Methods inherited from interface org.refcodes.configuration.Properties.PropertiesBuilder

        getIndexed, getIndexed, withInsert, withInsert, withInsertFrom, withInsertTo
      • Methods inherited from interface org.refcodes.structure.PropertiesAccessorMixin

        asArray, asArray, asArray, asArray, asArray, asArray, asBooleanArray, asBooleanArray, asBooleanArray, asBooleanArray, asBooleanArray, asBooleanArray, asByteArray, asByteArray, asByteArray, asByteArray, asByteArray, asByteArray, asCharacterArray, asCharacterArray, asCharacterArray, asCharacterArray, asCharacterArray, asCharacterArray, asDoubleArray, asDoubleArray, asDoubleArray, asDoubleArray, asDoubleArray, asDoubleArray, asFloatArray, asFloatArray, asFloatArray, asFloatArray, asFloatArray, asFloatArray, asIntegerArray, asIntegerArray, asIntegerArray, asIntegerArray, asIntegerArray, asIntegerArray, asLongArray, asLongArray, asLongArray, asLongArray, asLongArray, asLongArray, asShortArray, asShortArray, asShortArray, asShortArray, asShortArray, asShortArray, containsKey, get, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCharacter, getCharacter, getCharacter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getShort, getShort, getShort, use, useBoolean, useBoolean, useByte, useByte, useDouble, useDouble, useFloat, useFloat, useInteger, useInteger, useLong, useLong, useShort, useShort
      • Methods inherited from interface org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin

        withPut
      • Methods inherited from interface org.refcodes.configuration.ResourceProperties

        toSerialized
      • Methods inherited from interface org.refcodes.configuration.ResourceProperties.MutableResoureProperties

        fileTo, fileTo, fileTo, fileTo, fileTo, fileTo, fileTo, fileTo, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, loadFrom, parseFrom, parseFrom, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, seekFrom, seekFrom, seekFrom, seekFrom, seekFrom, seekFrom, seekFrom, seekFrom
      • Methods inherited from interface org.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder

        withInsert, withInsert, withInsertFrom, withInsertTo, withLoadFrom, withLoadFrom, withLoadFrom, withLoadFrom, withLoadFrom, withLoadFrom, withLoadFrom, withLoadFrom, withLoadFrom, withLoadFrom, withPut, withPut, withPutBoolean, withPutByte, withPutDouble, withPutFloat, withPutInteger, withPutLong, withPutShort, withRemoveFrom, withSeekFrom, withSeekFrom, withSeekFrom, withSeekFrom, withSeekFrom, withSeekFrom, withSeekFrom
    • Constructor Detail

      • AbstractObservableResourcePropertiesBuilderDecorator

        protected AbstractObservableResourcePropertiesBuilderDecorator​(T aProperties)
      • AbstractObservableResourcePropertiesBuilderDecorator

        protected AbstractObservableResourcePropertiesBuilderDecorator​(T aProperties,
                                                                       java.util.concurrent.ExecutorService aExecutorService,
                                                                       org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
    • Method Detail

      • loadFrom

        public org.refcodes.configuration.Properties loadFrom​(java.io.InputStream aInputStream,
                                                              char... aDelimiters)
                                                       throws java.io.IOException,
                                                              java.text.ParseException
        Specified by:
        loadFrom in interface org.refcodes.configuration.ResourceProperties.MutableResoureProperties
        Throws:
        java.io.IOException
        java.text.ParseException
      • seekFrom

        public org.refcodes.configuration.Properties seekFrom​(java.lang.Class<?> aResourceClass,
                                                              java.lang.String aFilePath,
                                                              org.refcodes.runtime.ConfigLocator aConfigLocator,
                                                              char... aDelimiters)
                                                       throws java.io.IOException,
                                                              java.text.ParseException
        Specified by:
        seekFrom in interface org.refcodes.configuration.ResourceProperties.MutableResoureProperties
        Throws:
        java.io.IOException
        java.text.ParseException
      • reload

        public org.refcodes.configuration.Properties reload​()
                                                     throws java.io.IOException,
                                                            java.lang.IllegalStateException,
                                                            java.text.ParseException
        Specified by:
        reload in interface org.refcodes.configuration.ResourceProperties
        Throws:
        java.io.IOException
        java.lang.IllegalStateException
        java.text.ParseException
      • reload

        public org.refcodes.configuration.Properties reload​(org.refcodes.configuration.ReloadMode aReloadMode)
                                                     throws java.io.IOException,
                                                            java.lang.IllegalStateException,
                                                            java.text.ParseException
        Specified by:
        reload in interface org.refcodes.configuration.ResourceProperties
        Throws:
        java.io.IOException
        java.lang.IllegalStateException
        java.text.ParseException
      • toSerialized

        public java.lang.String toSerialized​(char aDelimiter)
        Specified by:
        toSerialized in interface org.refcodes.configuration.ResourceProperties
        Specified by:
        toSerialized in interface org.refcodes.configuration.ResourceProperties.MutableResoureProperties
      • saveTo

        public java.io.File saveTo​(java.io.File aFile,
                                   java.lang.String aComment,
                                   char aDelimiter)
                            throws java.io.IOException
        Specified by:
        saveTo in interface org.refcodes.configuration.ResourceProperties.MutableResoureProperties
        Throws:
        java.io.IOException
      • saveTo

        public void saveTo​(java.io.OutputStream aOutputStream,
                           java.lang.String aComment,
                           char aDelimiter)
                    throws java.io.IOException
        Specified by:
        saveTo in interface org.refcodes.configuration.ResourceProperties.MutableResoureProperties
        Throws:
        java.io.IOException
      • flush

        public void flush​()
                   throws org.refcodes.component.OpenException
        Specified by:
        flush in interface java.io.Flushable
        Specified by:
        flush in interface org.refcodes.component.Flushable
        Specified by:
        flush in interface org.refcodes.configuration.ResourceProperties.MutableResoureProperties
        Throws:
        org.refcodes.component.OpenException
      • loadFrom

        public org.refcodes.configuration.Properties loadFrom​(java.io.File aFile,
                                                              char... aDelimiters)
                                                       throws java.io.IOException,
                                                              java.text.ParseException
        Specified by:
        loadFrom in interface org.refcodes.configuration.ResourceProperties.MutableResoureProperties
        Throws:
        java.io.IOException
        java.text.ParseException