Interface MFile

    • Method Detail

      • getLastModified

        long getLastModified()
        Get time of last modification at the time the MFile object was created
        Returns:
        time of last modification in Unix time (msecs since reference), or -1 if unknown
      • getLength

        long getLength()
        Size of file in bytes
        Returns:
        Size of file in bytes or -1 if unknown
      • isDirectory

        boolean isDirectory()
      • isReadable

        default boolean isReadable()
      • getPath

        String getPath()
        Get full path name, replace \\ with /
        Returns:
        full path name
      • getName

        String getName()
        The name is the farthest element from the root in the directory hierarchy.
        Returns:
        the file name
      • getAuxInfo

        Object getAuxInfo()
      • setAuxInfo

        void setAuxInfo​(Object info)