Class: ApkXml::XmlResourceMap

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

Overview

Structure to house mappings of resource ids to strings

XmlResourceMap = Struct.new(:header, :ids, :strings)

  • header = ChunkHeader

  • ids = Array of resource ids

  • strings = Matching Array of resource strings

Instance Attribute Summary collapse

Instance Attribute Details

#headerObject

Returns the value of attribute header

Returns:

  • (Object)

    the current value of header



53
54
55
# File 'lib/apktools/apkxml.rb', line 53

def header
  @header
end

#idsObject

Returns the value of attribute ids

Returns:

  • (Object)

    the current value of ids



53
54
55
# File 'lib/apktools/apkxml.rb', line 53

def ids
  @ids
end

#stringsObject

Returns the value of attribute strings

Returns:

  • (Object)

    the current value of strings



53
54
55
# File 'lib/apktools/apkxml.rb', line 53

def strings
  @strings
end