Class VS_VERSION_INFO

  • All Implemented Interfaces:
    StructConverter

    public class VS_VERSION_INFO
    extends java.lang.Object
    implements StructConverter
    A class to represent the VS_VERSION_INFO data structure.
    • Constructor Detail

      • VS_VERSION_INFO

        public VS_VERSION_INFO​(FactoryBundledWithBinaryReader reader,
                               int index)
                        throws java.io.IOException
        Constructs a new VS_VERSION_INFO object.
        Parameters:
        reader - the binary reader
        index - the index where the VS_VERSION_INFO begins
        Throws:
        java.io.IOException - if an I/O error occurs
    • Method Detail

      • toDataType

        public DataType toDataType()
                            throws DuplicateNameException
        Description copied from interface: StructConverter
        Returns a structure datatype representing the contents of the implementor of this interface.

        For example, given:

         class A {
             int foo;
             double bar;
         }
         

        The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments.

        Specified by:
        toDataType in interface StructConverter
        Returns:
        returns a structure datatype representing the implementor of this interface
        Throws:
        DuplicateNameException - when a datatype of the same name already exists
        See Also:
        StructureDataType
      • getChildren

        public VS_VERSION_CHILD[] getChildren()
        Returns the array of VS_VERSION_CHILD defined in this VS_VERSION_INFO object.
        Returns:
        the array of VS_VERSION_CHILD defined in this VS_VERSION_INFO object
      • getFileFlags

        public int getFileFlags()
        Returns the file flags.
        Returns:
        the file flags
      • getFileFlagsMask

        public java.lang.String getFileFlagsMask()
        Returns the file flags mask.
        Returns:
        the file flags mask
      • getFileOS

        public int getFileOS()
        Returns the file OS.
        Returns:
        the file OS
      • getFileSubtype

        public int getFileSubtype()
        Returns the file sub-type.
        Returns:
        the file sub-type
      • getFileTimestamp

        public int getFileTimestamp()
        Returns the file timestamp.
        Returns:
        the file timestamp
      • getFileType

        public int getFileType()
        Returns the file type.
        Returns:
        the file type
      • getFileVersion

        public java.lang.String getFileVersion()
        Returns the file version.
        Returns:
        the file version
      • getInfo

        public java.lang.String getInfo()
        Returns the info.
        Returns:
        the info
      • getProductVersion

        public java.lang.String getProductVersion()
        Returns the product version.
        Returns:
        the product version
      • getSignature

        public int getSignature()
        Returns the signature.
        Returns:
        the signature
      • getStructLength

        public short getStructLength()
        Returns the structure length.
        Returns:
        the structure length
      • getStructType

        public short getStructType()
        Returns the structure type.
        Returns:
        the structure type
      • getStructVersion

        public java.lang.String getStructVersion()
        Returns the structure version.
        Returns:
        the structure version
      • getValueLength

        public short getValueLength()
        Returns the value length.
        Returns:
        the value length
      • getKeys

        public java.lang.String[] getKeys()
        Returns the array of keys in this version child.
        Returns:
        the array of keys in this version child
      • getValue

        public java.lang.String getValue​(java.lang.String key)
        Returns the value for the specified key.
        Parameters:
        key - the key
        Returns:
        the value for the specified key