Class OutputFileListEntry


  • public class OutputFileListEntry
    extends Object
    Belongs to FileListHandler. Represents one single entry in ouput filelist.
    Author:
    Hans-Peter Schaal
    • Constructor Detail

      • OutputFileListEntry

        public OutputFileListEntry​(OutputFileListEntry.EntryType type)
        Parameters:
        type - Use FilelistEntry.EntryType.[FILE|PATH]
      • OutputFileListEntry

        public OutputFileListEntry​(OutputFileListEntry.EntryType type,
                                   int lineNumber)
        Parameters:
        type - Use FilelistEntry.EntryType.[FILE|PATH]
        lineNumber - number in filelist.xml for logging / error output.
    • Method Detail

      • getLineNumber

        public int getLineNumber()
        Returns:
        line number in filelist.xml for logging / error output.
      • getAttribute

        public String getAttribute​(String key)
        Parameters:
        key - Attribute Key
        Returns:
        Attribute Value
      • getAttributes

        public Map<String,​String> getAttributes()
        Returns:
        Attributes as map
      • setAttribute

        public void setAttribute​(String key,
                                 String value)
        Parameters:
        key - Attribute Key
        value - Attribute Value. If null, delete the key.