Class WindowsFileStat

    • Nested Class Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      WindowsFileStat​(java.lang.String path)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void details​(int type, long size, long lastModifiedWinTime)  
      long getLastModifiedTime()
      Returns the last modification time of this file, in ms since epoch.
      long getSize()
      Returns the size of this file, in bytes.
      FileInfo.Type getType()
      Returns the type of this file.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • WindowsFileStat

        public WindowsFileStat​(java.lang.String path)
    • Method Detail

      • details

        public void details​(int type,
                            long size,
                            long lastModifiedWinTime)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getSize

        public long getSize()
        Description copied from interface: FileInfo
        Returns the size of this file, in bytes. Returns 0 when this file is not a regular file.
        Specified by:
        getSize in interface FileInfo
      • getLastModifiedTime

        public long getLastModifiedTime()
        Description copied from interface: FileInfo
        Returns the last modification time of this file, in ms since epoch. Returns 0 when this file does not exist.
        Specified by:
        getLastModifiedTime in interface FileInfo