Interface ResourceProperties.ResourcePropertiesBuilder

    • Method Detail

      • withInsertBetween

        default ResourceProperties.ResourcePropertiesBuilder withInsertBetween​(java.lang.String aToPath,
                                                                               java.lang.Object aFrom,
                                                                               java.lang.String aFromPath)
        Specified by:
        withInsertBetween in interface org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
        Specified by:
        withInsertBetween in interface org.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
        Specified by:
        withInsertBetween in interface Properties.PropertiesBuilder
      • withLoadFrom

        default ResourceProperties.ResourcePropertiesBuilder withLoadFrom​(java.lang.Class<?> aResourceClass,
                                                                          java.lang.String aFilePath)
                                                                   throws java.io.IOException,
                                                                          java.text.ParseException
        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
        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
        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
        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
        Parameters:
        aInputStream - The InputStream 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
        Parameters:
        aInputStream - The InputStream 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
        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
        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
        Parameters:
        aUrl - The URL 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
        Parameters:
        aUrl - The URL 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[] aPathElements,
                                                                     java.lang.String aValue)
                                                              throws java.lang.NumberFormatException
        Specified by:
        withPut in interface org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
        Specified by:
        withPut in interface org.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
        Specified by:
        withPut in interface Properties.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 interface org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
        Specified by:
        withPut in interface org.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 interface org.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
        Specified by:
        withPut in interface Properties.PropertiesBuilder
      • withPut

        default ResourceProperties.ResourcePropertiesBuilder withPut​(java.lang.String aKey,
                                                                     java.lang.String aValue)
        Specified by:
        withPut in interface org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
        Specified by:
        withPut in interface org.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 interface org.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
        Specified by:
        withPut in interface Properties.PropertiesBuilder
        Specified by:
        withPut in interface org.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 interface org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
        Specified by:
        withPut in interface org.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
        Specified by:
        withPut in interface Properties.PropertiesBuilder
        Throws:
        java.lang.NumberFormatException
      • withPutBoolean

        default ResourceProperties.ResourcePropertiesBuilder withPutBoolean​(java.lang.String aKey,
                                                                            java.lang.Boolean aValue)
        Specified by:
        withPutBoolean in interface org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
        Specified by:
        withPutBoolean in interface Properties.PropertiesBuilder
        Specified by:
        withPutBoolean in interface org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
      • withPutByte

        default ResourceProperties.ResourcePropertiesBuilder withPutByte​(java.lang.String aKey,
                                                                         java.lang.Byte aValue)
        Specified by:
        withPutByte in interface org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
        Specified by:
        withPutByte in interface Properties.PropertiesBuilder
        Specified by:
        withPutByte in interface org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
      • withPutDouble

        default ResourceProperties.ResourcePropertiesBuilder withPutDouble​(java.lang.String aKey,
                                                                           java.lang.Double aValue)
        Specified by:
        withPutDouble in interface org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
        Specified by:
        withPutDouble in interface Properties.PropertiesBuilder
        Specified by:
        withPutDouble in interface org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
      • withPutFloat

        default ResourceProperties.ResourcePropertiesBuilder withPutFloat​(java.lang.String aKey,
                                                                          java.lang.Float aValue)
        Specified by:
        withPutFloat in interface org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
        Specified by:
        withPutFloat in interface Properties.PropertiesBuilder
        Specified by:
        withPutFloat in interface org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
      • withPutInteger

        default ResourceProperties.ResourcePropertiesBuilder withPutInteger​(java.lang.String aKey,
                                                                            java.lang.Integer aValue)
        Specified by:
        withPutInteger in interface org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
        Specified by:
        withPutInteger in interface Properties.PropertiesBuilder
        Specified by:
        withPutInteger in interface org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
      • withPutLong

        default ResourceProperties.ResourcePropertiesBuilder withPutLong​(java.lang.String aKey,
                                                                         java.lang.Long aValue)
        Specified by:
        withPutLong in interface org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
        Specified by:
        withPutLong in interface Properties.PropertiesBuilder
        Specified by:
        withPutLong in interface org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
      • withPutShort

        default ResourceProperties.ResourcePropertiesBuilder withPutShort​(java.lang.String aKey,
                                                                          java.lang.Short aValue)
        Specified by:
        withPutShort in interface org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
        Specified by:
        withPutShort in interface Properties.PropertiesBuilder
        Specified by:
        withPutShort in interface org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
      • 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
        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 - The ConfigLocator 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
        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
        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
        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
        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
        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
        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.