Interface IridaSequenceFile

    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.nio.file.Path getFile()
      Get the location on the file system where the sequence file is stored
      java.lang.String getFileName()
      The base name of the file
      java.lang.String getFileSize()
      Get the size of the file.
      static java.lang.String humanReadableByteCount​(long bytes, boolean si)
      From (http://stackoverflow.com/questions/3758606/how-to-convert-byte-size- into-human-readable-format-in-java)
    • Method Detail

      • getFile

        java.nio.file.Path getFile()
        Get the location on the file system where the sequence file is stored
        Returns:
        the physical location of the file.
      • getFileName

        java.lang.String getFileName()
        The base name of the file
        Returns:
        a string base name of the file
      • getFileSize

        java.lang.String getFileSize()
        Get the size of the file.
        Returns:
        The String representation of the file size
      • humanReadableByteCount

        static java.lang.String humanReadableByteCount​(long bytes,
                                                       boolean si)
        From (http://stackoverflow.com/questions/3758606/how-to-convert-byte-size- into-human-readable-format-in-java)
        Parameters:
        bytes - The Long size of the file in bytes.
        si - Boolean true to use si units
        Returns:
        A human readable String representation of the file size.