Class WindowsFixedFileInfo

  • All Implemented Interfaces:
    PropertyAccessible

    public class WindowsFixedFileInfo
    extends java.lang.Object
    implements PropertyAccessible
    This class wraps the data stored in the native Win32 VS_FIXEDFILEINFO structure. It also provides a method for comparing versions.
    • Constructor Detail

      • WindowsFixedFileInfo

        public WindowsFixedFileInfo()
    • Method Detail

      • setSignature

        public void setSignature​(int signature)
      • getSignature

        public int getSignature()
      • setStrucVersion

        public void setStrucVersion​(int strucVersion)
      • getStrucVersion

        public int getStrucVersion()
      • setFileVersionMS

        public void setFileVersionMS​(int fileVersionMS)
      • getFileVersionMS

        public int getFileVersionMS()
      • setFileVersionLS

        public void setFileVersionLS​(int fileVersionLS)
      • getFileVersionLS

        public int getFileVersionLS()
      • setProductVersionMS

        public void setProductVersionMS​(int productVersionMS)
      • getProductVersionMS

        public int getProductVersionMS()
      • setProductVersionLS

        public void setProductVersionLS​(int productVersionLS)
      • getProductVersionLS

        public int getProductVersionLS()
      • setFileFlagsMask

        public void setFileFlagsMask​(int fileFlagsMask)
      • getFileFlagsMask

        public int getFileFlagsMask()
      • setFileFlags

        public void setFileFlags​(int fileFlags)
      • getFileFlags

        public int getFileFlags()
      • setFileOS

        public void setFileOS​(int fileOS)
      • getFileOS

        public int getFileOS()
      • setFileType

        public void setFileType​(int fileType)
      • getFileType

        public int getFileType()
      • setFileSubtype

        public void setFileSubtype​(int fileSubtype)
      • getFileSubtype

        public int getFileSubtype()
      • setFileDateMS

        public void setFileDateMS​(int fileDateMS)
      • getFileDateMS

        public int getFileDateMS()
      • setFileDateLS

        public void setFileDateLS​(int fileDateLS)
      • getFileDateLS

        public int getFileDateLS()
      • compareFileVersion

        public int compareFileVersion​(WindowsFixedFileInfo other)
        Compares the file version in this Win32FixedFileInfo object with the file version in 'other'.
        Parameters:
        other - The other Win32FixedFileInfo object with which to compare.
        Returns:
        0 if the file versions are equal, -1 if this file version is less than the other, 1 if this file version is greater than the other.