Interface DBImplSchemaProvider.PropsProvider

    • Method Detail

      • readProperties

        Properties readProperties()
                           throws IOException
        Read the properties from file. The returned Properties object can contain more properties than in file. Some properties are added after reading (e.g. database driver and URL for local connections).
        Returns:
        The properties object
        Throws:
        IOException - File could not be read
      • rewriteProperties

        void rewriteProperties​(Properties propsToWrite,
                               List<String> propsToClear)
                        throws IOException
        Overwrite and clear the specified properties. The current properties (from file; not these returned from readProperties()) are used as a starting point.
        Parameters:
        propsToWrite - Properties to updated
        propsToClear - Remove these properties
        Throws:
        IOException - File could not be written