Class WindowsFixedFileInfo
- java.lang.Object
-
- com.installshield.wizard.platform.win32.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 Summary
Constructors Constructor Description WindowsFixedFileInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareFileVersion(WindowsFixedFileInfo other)Compares the file version in this Win32FixedFileInfo object with the file version in 'other'.intgetFileDateLS()intgetFileDateMS()intgetFileFlags()intgetFileFlagsMask()intgetFileOS()intgetFileSubtype()intgetFileType()intgetFileVersionLS()intgetFileVersionMS()intgetProductVersionLS()intgetProductVersionMS()intgetSignature()intgetStrucVersion()voidsetFileDateLS(int fileDateLS)voidsetFileDateMS(int fileDateMS)voidsetFileFlags(int fileFlags)voidsetFileFlagsMask(int fileFlagsMask)voidsetFileOS(int fileOS)voidsetFileSubtype(int fileSubtype)voidsetFileType(int fileType)voidsetFileVersionLS(int fileVersionLS)voidsetFileVersionMS(int fileVersionMS)voidsetProductVersionLS(int productVersionLS)voidsetProductVersionMS(int productVersionMS)voidsetSignature(int signature)voidsetStrucVersion(int strucVersion)
-
-
-
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.
-
-