Class PropertiesNotesWriter

    • Constructor Detail

      • PropertiesNotesWriter

        public PropertiesNotesWriter()
    • Method Detail

      • getFormatDescription

        public String getFormatDescription()
        Returns a string describing the format (used in the file chooser).
        Returns:
        a description suitable for displaying in the file chooser
      • getFormatExtensions

        public String[] getFormatExtensions()
        Returns the extension(s) of the format.
        Returns:
        the extension (without the dot!)
      • getDefaultFormatExtension

        public String getDefaultFormatExtension()
        Returns the default extension of the format.
        Returns:
        the default extension (without the dot!)
      • doWrite

        protected String doWrite​(Map<String,​String> notes,
                                 PlaceholderFile file)
        Writes the notes to the specified file.
        Specified by:
        doWrite in class AbstractNotesWriter
        Parameters:
        notes - the notes to write
        file - the file to store the notes in
        Returns:
        null if successfully written, otherwise error message