Interface PropertiesManager

All Known Implementing Classes:
JdkPropertiesManager

public interface PropertiesManager
Interface for properties managers implementations.
  • Field Details

  • Method Details

    • isExtensionSupport

      boolean isExtensionSupport(String extension)
      Determinate if manager support resource by file extension.
      Parameters:
      extension - file extension
      Returns:
      true if extension is supported
    • load

      Load properties.
      Parameters:
      in - input stream of properties resource
      Returns:
      a properties
      Throws:
      IOException - in case of IO problems
    • save

      void save(Properties properties, OutputStream out, String comments) throws IOException
      Store properties
      Parameters:
      properties - properties to store
      out - output stream of properties resource
      comments - a comments added to output resource
      Throws:
      IOException - in case of IO problems