Class: TagLib::APE::Item
- Inherits:
-
Object
- Object
- TagLib::APE::Item
- Defined in:
- lib/TagLib_doc.rb
Overview
An implementation of APE-items. .</b>
This class provides the features of items in the APEv2 standard.
Instance Method Summary collapse
-
#appendValue(value) ⇒ Object
Appends value to create (or extend) the current list of values.toString().
-
#appendValues(values) ⇒ Object
Appends values to extend the current list of values.toStringList().
-
#isEmpty ⇒ Object
Returns if the item has any real content.
-
#isReadOnly ⇒ Object
Return true if the item is read-only.
-
#key ⇒ Object
Returns the key.
-
#parse(data) ⇒ Object
Parse the item from the ByteVector data.
-
#render ⇒ Object
Render the item to a ByteVector.
-
#setKey(key) ⇒ Object
Sets the key for the item to key.
-
#setReadOnly(readOnly) ⇒ Object
Set the item to read-only.
-
#setType(type) ⇒ Object
Sets the type of the item to type.ItemTypes.
-
#setValue(value) ⇒ Object
Sets the value of the item to value and clears any previous contents.toString().
-
#setValues(values) ⇒ Object
Sets the value of the item to the list of values in value and clears any previous contents.toStringList().
-
#size ⇒ Object
Returns the size of the full item.
-
#toString ⇒ Object
Returns the value as a single string.
-
#toStringList ⇒ Object
Deprecatedvalues.
-
#value ⇒ Object
Returns the binary value.DeprecatedThis will be removed in the next binary incompatible version as it is not kept in sync with the things that are set using setValue() and friends.
-
#values ⇒ Object
Returns the list of values.
Instance Method Details
#appendValue(value) ⇒ Object
Appends value to create (or extend) the current list of values.toString()
1796 1797 |
# File 'lib/TagLib_doc.rb', line 1796 def appendValue(value) end |
#appendValues(values) ⇒ Object
Appends values to extend the current list of values.toStringList()
1807 1808 |
# File 'lib/TagLib_doc.rb', line 1807 def appendValues(values) end |
#isEmpty ⇒ Object
Returns if the item has any real content.
1790 1791 |
# File 'lib/TagLib_doc.rb', line 1790 def isEmpty() end |
#isReadOnly ⇒ Object
Return true if the item is read-only.
1726 1727 |
# File 'lib/TagLib_doc.rb', line 1726 def isReadOnly() end |
#key ⇒ Object
Returns the key.
1721 1722 |
# File 'lib/TagLib_doc.rb', line 1721 def key() end |
#parse(data) ⇒ Object
Parse the item from the ByteVector data.
1785 1786 |
# File 'lib/TagLib_doc.rb', line 1785 def parse(data) end |
#render ⇒ Object
Render the item to a ByteVector.
1780 1781 |
# File 'lib/TagLib_doc.rb', line 1780 def render() end |
#setKey(key) ⇒ Object
Sets the key for the item to key.
1736 1737 |
# File 'lib/TagLib_doc.rb', line 1736 def setKey(key) end |
#setReadOnly(readOnly) ⇒ Object
Set the item to read-only.
1801 1802 |
# File 'lib/TagLib_doc.rb', line 1801 def setReadOnly(readOnly) end |
#setType(type) ⇒ Object
Sets the type of the item to type.ItemTypes
1752 1753 |
# File 'lib/TagLib_doc.rb', line 1752 def setType(type) end |
#setValue(value) ⇒ Object
Sets the value of the item to value and clears any previous contents.toString()
1758 1759 |
# File 'lib/TagLib_doc.rb', line 1758 def setValue(value) end |
#setValues(values) ⇒ Object
Sets the value of the item to the list of values in value and clears any previous contents.toStringList()
1775 1776 |
# File 'lib/TagLib_doc.rb', line 1775 def setValues(values) end |
#size ⇒ Object
Returns the size of the full item.
1769 1770 |
# File 'lib/TagLib_doc.rb', line 1769 def size() end |
#toString ⇒ Object
Returns the value as a single string. In case of multiple strings, the first is returned.
1746 1747 |
# File 'lib/TagLib_doc.rb', line 1746 def toString() end |
#toStringList ⇒ Object
Deprecatedvalues
1764 1765 |
# File 'lib/TagLib_doc.rb', line 1764 def toStringList() end |
#value ⇒ Object
Returns the binary value.DeprecatedThis will be removed in the next binary incompatible version as it is not kept in sync with the things that are set using setValue() and friends.
1731 1732 |
# File 'lib/TagLib_doc.rb', line 1731 def value() end |
#values ⇒ Object
Returns the list of values.
1741 1742 |
# File 'lib/TagLib_doc.rb', line 1741 def values() end |