com.groupdocs.metadata.core

Interfaces

Classes

Enums

Exceptions

com.groupdocs.metadata.core

Class ID3V2TagFrameFlags

  • All Implemented Interfaces:
    com.aspose.ms.System.IEquatable<ID3V2TagFrameFlags>


    public final class ID3V2TagFrameFlags
    extends Object
    implements com.aspose.ms.System.IEquatable<ID3V2TagFrameFlags>

    Represents flags used in a ID3v2 tag frame.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(ID3V2TagFrameFlags other)
      Indicates whether the current object is equal to another object of the same type.
      boolean equals(Object obj)
      Determines whether the specified object is equal to this instance.
      boolean getCompression()
      Gets a value indicating whether the frame is compressed.
      boolean getDataLengthIndicator()
      Gets a value indicating whether a data length indicator has been added to the frame.
      boolean getEncryption()
      Gets a value indicating whether the frame is encrypted.
      boolean getFileAlterPreservation()
      Gets the flag that tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered.
      boolean getGroupingIdentity()
      Gets a value indicating whether the frame belongs to a group of frames.
      boolean getReadOnly()
      Gets the tag that tells the software that the contents of this frame is intended to be read-only.
      boolean getTagAlterPreservation()
      Gets the flag that tells the software what to do with this frame if it is unknown and the tag is altered in any way.
      boolean getUnsynchronisation()
      Gets a value indicating whether unsynchronisation was applied to this frame.
      int hashCode()
      Returns a hash code for this instance.
    • Method Detail

      • getTagAlterPreservation

        public final boolean getTagAlterPreservation()

        Gets the flag that tells the software what to do with this frame if it is unknown and the tag is altered in any way. This applies to all kinds of alterations, including adding more padding and reordering the frames.

        Returns:
        The flag that tells the software what to do with this frame if it is unknown and the tag is altered in any way.
      • getFileAlterPreservation

        public final boolean getFileAlterPreservation()

        Gets the flag that tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered. This does not apply when the audio is completely replaced with other audio data.

        Returns:
        Gets the flag that tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered.
      • getReadOnly

        public final boolean getReadOnly()

        Gets the tag that tells the software that the contents of this frame is intended to be read-only.

        Returns:
        The tag that tells the software that the contents of this frame is intended to be read-only.
      • getCompression

        public final boolean getCompression()

        Gets a value indicating whether the frame is compressed.

        Returns:
        true, if the frame is compressed; otherwise, false.
      • getEncryption

        public final boolean getEncryption()

        Gets a value indicating whether the frame is encrypted. If set one byte indicating with which method it was encrypted will be appended to the frame header.

        Returns:
        true, if the frame is encrypted; otherwise, false.
      • getGroupingIdentity

        public final boolean getGroupingIdentity()

        Gets a value indicating whether the frame belongs to a group of frames. If set a group identifier byte is added to the frame header. Every frame with the same group identifier belongs to the same group.

        Returns:
        true, if the frame belongs to a group of frames; otherwise, false.
      • getUnsynchronisation

        public final boolean getUnsynchronisation()

        Gets a value indicating whether unsynchronisation was applied to this frame.

        Returns:
        true, if unsynchronisation was applied to this frame; otherwise, false.
      • getDataLengthIndicator

        public final boolean getDataLengthIndicator()

        Gets a value indicating whether a data length indicator has been added to the frame. The data length indicator is the value one would write as the 'Frame length' if all of the frame format flags were zeroed, represented as a 32 bit synchsafe integer.

        Returns:
        true, if a data length indicator has been added to the frame; otherwise, false.
      • equals

        public final boolean equals(ID3V2TagFrameFlags other)

        Indicates whether the current object is equal to another object of the same type.

        Parameters:
        other - An object to compare with this object.
        Returns:
        true if the current object is equal to the other parameter; otherwise, false.
      • equals

        public boolean equals(Object obj)

        Determines whether the specified object is equal to this instance.

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<ID3V2TagFrameFlags>
        Overrides:
        equals in class Object
        Parameters:
        obj - The System.Object to compare with this instance.
        Returns:
        true if the specified System.Object is equal to this instance; otherwise, false.
      • hashCode

        public int hashCode()

        Returns a hash code for this instance.

        Overrides:
        hashCode in class Object
        Returns:
        A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.