Package com.sun.jna.platform.win32
Klasse VersionUtil
java.lang.Object
com.sun.jna.platform.win32.VersionUtil
Reads Windows Version info from files (the version details you can see by
 right-clicking and choosing properties)
- Autor:
- mlfreeman[at]gmail.com
- 
KonstruktorübersichtKonstruktoren
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungstatic VerRsrc.VS_FIXEDFILEINFOgetFileVersionInfo(String filePath) Gets the file's version number info
- 
Konstruktordetails- 
VersionUtilpublic VersionUtil()
 
- 
- 
Methodendetails- 
getFileVersionInfoGets the file's version number info- Parameter:
- filePath- The path to the file
- Gibt zurück:
- The VS_FIXEDFILEINFO structure read from the file.
 Use the getFileVersionMajor(), getFileVersionMinor(), getFileVersionRevision(), and getFileVersionBuild()
- Löst aus:
- UnsupportedOperationException- if VerQueryValue fails to get version info from the file.
 
 
-