Package system.diagnostics
Class FileVersionInfo
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.diagnostics.FileVersionInfo
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class FileVersionInfo extends NetObject
The base .NET class managing System.Diagnostics.FileVersionInfo, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.FileVersionInfo
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: Systemstatic java.lang.StringclassNameQualified class name: System.Diagnostics.FileVersionInfostatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description FileVersionInfo()FileVersionInfo(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileVersionInfocast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoFileVersionInfo, a cast assert is made to check if types are compatible.java.lang.StringgetComments()java.lang.StringgetCompanyName()intgetFileBuildPart()java.lang.StringgetFileDescription()intgetFileMajorPart()intgetFileMinorPart()java.lang.StringgetFileName()intgetFilePrivatePart()java.lang.StringgetFileVersion()java.lang.StringgetInternalName()booleangetIsDebug()booleangetIsPatched()booleangetIsPreRelease()booleangetIsPrivateBuild()booleangetIsSpecialBuild()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typejava.lang.StringgetLanguage()java.lang.StringgetLegalCopyright()java.lang.StringgetLegalTrademarks()java.lang.StringgetOriginalFilename()java.lang.StringgetPrivateBuild()intgetProductBuildPart()intgetProductMajorPart()intgetProductMinorPart()java.lang.StringgetProductName()intgetProductPrivatePart()java.lang.StringgetProductVersion()java.lang.StringgetSpecialBuild()static FileVersionInfoGetVersionInfo(java.lang.String fileName)voidsetJCOInstance(JCObject instance)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Diagnostics.FileVersionInfo- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static FileVersionInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoFileVersionInfo, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
FileVersionInfoinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetVersionInfo
public static FileVersionInfo GetVersionInfo(java.lang.String fileName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException, InvalidOperationException, FileNotFoundException, AccessViolationException
-
getIsDebug
public boolean getIsDebug() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsPatched
public boolean getIsPatched() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsPreRelease
public boolean getIsPreRelease() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsPrivateBuild
public boolean getIsPrivateBuild() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsSpecialBuild
public boolean getIsSpecialBuild() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFileBuildPart
public int getFileBuildPart() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFileMajorPart
public int getFileMajorPart() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFileMinorPart
public int getFileMinorPart() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFilePrivatePart
public int getFilePrivatePart() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getProductBuildPart
public int getProductBuildPart() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getProductMajorPart
public int getProductMajorPart() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getProductMinorPart
public int getProductMinorPart() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getProductPrivatePart
public int getProductPrivatePart() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getComments
public java.lang.String getComments() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCompanyName
public java.lang.String getCompanyName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFileDescription
public java.lang.String getFileDescription() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFileName
public java.lang.String getFileName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, NotSupportedException, NullReferenceException
-
getFileVersion
public java.lang.String getFileVersion() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getInternalName
public java.lang.String getInternalName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getLanguage
public java.lang.String getLanguage() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getLegalCopyright
public java.lang.String getLegalCopyright() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getLegalTrademarks
public java.lang.String getLegalTrademarks() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getOriginalFilename
public java.lang.String getOriginalFilename() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getPrivateBuild
public java.lang.String getPrivateBuild() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getProductName
public java.lang.String getProductName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getProductVersion
public java.lang.String getProductVersion() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getSpecialBuild
public java.lang.String getSpecialBuild() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-