java.lang.Object
io.goobi.viewer.model.administration.configeditor.FileRecord
Direct Known Subclasses:
ReadOnlyFileRecord

public class FileRecord extends Object
Represents a single editable configuration file entry in the config editor, providing metadata such as the file path, display index, type, and read/write accessibility.
  • Constructor Details

    • FileRecord

      public FileRecord(Path file, int number)
      Parameters:
      file - path to the configuration file
      number - index of this record in the file list
  • Method Details

    • getFile

      public Path getFile()
    • getFileName

      public String getFileName()
    • getNumber

      public int getNumber()
    • isReadable

      public boolean isReadable()
    • isWritable

      public boolean isWritable()
    • getFileType

      public String getFileType()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object