Class: ApkResources::Package

Inherits:
Struct
  • Object
show all
Defined in:
lib/apktools/apkresources.rb

Overview

Structure defining the resource contents for a package chunk

Package = Struct.new(:header, :stringpool_typestrings, :stringpool_keystrings, :type_data)

  • package_header = PackageHeader

  • stringpool_typestrings = StringPool containing all type strings in the package

  • stringpool_keystrings = StringPool containing all key strings in the package

  • type_data = Array of ResTypeSpec chunks in the package

Instance Attribute Summary collapse

Instance Attribute Details

#package_headerObject

Returns the value of attribute package_header

Returns:

  • (Object)

    the current value of package_header



66
67
68
# File 'lib/apktools/apkresources.rb', line 66

def package_header
  @package_header
end

#stringpool_keystringsObject

Returns the value of attribute stringpool_keystrings

Returns:

  • (Object)

    the current value of stringpool_keystrings



66
67
68
# File 'lib/apktools/apkresources.rb', line 66

def stringpool_keystrings
  @stringpool_keystrings
end

#stringpool_typestringsObject

Returns the value of attribute stringpool_typestrings

Returns:

  • (Object)

    the current value of stringpool_typestrings



66
67
68
# File 'lib/apktools/apkresources.rb', line 66

def stringpool_typestrings
  @stringpool_typestrings
end

#type_dataObject

Returns the value of attribute type_data

Returns:

  • (Object)

    the current value of type_data



66
67
68
# File 'lib/apktools/apkresources.rb', line 66

def type_data
  @type_data
end