Class: ApkResources::ResType
- Inherits:
-
Struct
- Object
- Struct
- ApkResources::ResType
- Defined in:
- lib/apktools/apkresources.rb
Overview
Structure that houses all the resources for a given type
ResType = Struct.new(:header, :id, :config, :entry_count, :entries)
-
header
= ChunkHeader -
id
= String value of the referenced type (e.g. “drawable”) -
config
= ResTypeConfig defining the configuration for this type -
entry_count
= Number of entries in this chunk -
entries
= Array of Hashes of [ResTypeConfig, ResTypeEntry] in this chunk
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#entries ⇒ Object
Returns the value of attribute entries.
-
#entry_count ⇒ Object
Returns the value of attribute entry_count.
-
#header ⇒ Object
Returns the value of attribute header.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config
90 91 92 |
# File 'lib/apktools/apkresources.rb', line 90 def config @config end |
#entries ⇒ Object
Returns the value of attribute entries
90 91 92 |
# File 'lib/apktools/apkresources.rb', line 90 def entries @entries end |
#entry_count ⇒ Object
Returns the value of attribute entry_count
90 91 92 |
# File 'lib/apktools/apkresources.rb', line 90 def entry_count @entry_count end |
#header ⇒ Object
Returns the value of attribute header
90 91 92 |
# File 'lib/apktools/apkresources.rb', line 90 def header @header end |
#id ⇒ Object
Returns the value of attribute id
90 91 92 |
# File 'lib/apktools/apkresources.rb', line 90 def id @id end |