Class LogFileMetadata

    • Method Detail

      • getPath

        public Path getPath()
      • getNumberOfFiles

        public abstract int getNumberOfFiles()
        Return the number of files. Useful if the file is a compressed file which may contain multiple entries.
        Returns:
        The number of files in the file.
      • isZip

        public boolean isZip()
        true if the file is a Zip compressed file.
        Returns:
        true if the file is a Zip compressed file.
      • isGZip

        public boolean isGZip()
        true if the file is a GZip compressed file.
        Returns:
        true if the file is a GZip compressed file.
      • isPlainText

        public boolean isPlainText()
        true if the file is a regular file.
        Returns:
        true if the file is a regular file.
      • isDirectory

        public boolean isDirectory()
        true if the file is a directory.
        Returns:
        true if the file is a directory.