Class: ApkResources::StringPool

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

Overview

Structure that houses a group of strings

StringPool = Struct.new(:header, :string_count, :style_count, :values)

  • header = ChunkHeader

  • string_count = Number of normal strings in the pool

  • style_count = Number of styled strings in the pool

  • values = Array of the string values

Instance Attribute Summary collapse

Instance Attribute Details

#headerObject

Returns the value of attribute header

Returns:

  • (Object)

    the current value of header



43
44
45
# File 'lib/apktools/apkresources.rb', line 43

def header
  @header
end

#string_countObject

Returns the value of attribute string_count

Returns:

  • (Object)

    the current value of string_count



43
44
45
# File 'lib/apktools/apkresources.rb', line 43

def string_count
  @string_count
end

#style_countObject

Returns the value of attribute style_count

Returns:

  • (Object)

    the current value of style_count



43
44
45
# File 'lib/apktools/apkresources.rb', line 43

def style_count
  @style_count
end

#valuesObject

Returns the value of attribute values

Returns:

  • (Object)

    the current value of values



43
44
45
# File 'lib/apktools/apkresources.rb', line 43

def values
  @values
end