Class: ApkResources::PackageHeader
- Inherits:
-
Struct
- Object
- Struct
- ApkResources::PackageHeader
- Defined in:
- lib/apktools/apkresources.rb
Overview
Structure defining the data inside of the package chunk
PackageHeader = Struct.new(:header, :id, :name, :type_strings, :key_strings)
-
header
= ChunkHeader -
id
= Package id; usually 0x7F for application resources -
name
= Package name (e.g. “com.example.application”) -
type_strings
= Array of the type string values present (e.g. “drawable”) -
key_strings
= Array of the key string values present (e.g. “ic_launcher”)
Instance Attribute Summary collapse
-
#header ⇒ Object
Returns the value of attribute header.
-
#id ⇒ Object
Returns the value of attribute id.
-
#key_strings ⇒ Object
Returns the value of attribute key_strings.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type_strings ⇒ Object
Returns the value of attribute type_strings.
Instance Attribute Details
#header ⇒ Object
Returns the value of attribute header
55 56 57 |
# File 'lib/apktools/apkresources.rb', line 55 def header @header end |
#id ⇒ Object
Returns the value of attribute id
55 56 57 |
# File 'lib/apktools/apkresources.rb', line 55 def id @id end |
#key_strings ⇒ Object
Returns the value of attribute key_strings
55 56 57 |
# File 'lib/apktools/apkresources.rb', line 55 def key_strings @key_strings end |
#name ⇒ Object
Returns the value of attribute name
55 56 57 |
# File 'lib/apktools/apkresources.rb', line 55 def name @name end |
#type_strings ⇒ Object
Returns the value of attribute type_strings
55 56 57 |
# File 'lib/apktools/apkresources.rb', line 55 def type_strings @type_strings end |