com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class TagFrameFlags

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


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

    Represents flags in ID3v2 tag frame.

    • Constructor Summary

      Constructors 
      Constructor and Description
      TagFrameFlags() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean equals(Object obj)
      Determines whether the specified object is equal to this instance.
      boolean equals(TagFrameFlags other)
      Indicates whether the current object is equal to another object of the same type.
      boolean getCompression()
      This flag indicates whether or not the frame is compressed.
      boolean getDataLengthIndicator()
      This flag indicates that a data length indicator has been added to the frame.
      boolean getEncryption()
      This flag indicates wether or not the frame is enrypted.
      boolean getFileAlterPreservation()
      This flag tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered.
      boolean getGroupingIdentity()
      This flag indicates whether or not this frame belongs in a group with other frames.
      boolean getReadOnly()
      This flag, if set, tells the software that the contents of this frame is intended to be read only.
      boolean getTagAlterPreservation()
      This flag tells the software what to do with this frame if it is unknown and the tag is altered in any way.
      boolean getUnsynchronisation()
      This flag indicates whether or not unsynchronisation was applied to this frame.
      int hashCode()
      Returns a hash code for this instance.
      void setCompression(boolean value)
      This flag indicates whether or not the frame is compressed.
      void setDataLengthIndicator(boolean value)
      This flag indicates that a data length indicator has been added to the frame.
      void setEncryption(boolean value)
      This flag indicates wether or not the frame is enrypted.
      void setFileAlterPreservation(boolean value)
      This flag tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered.
      void setGroupingIdentity(boolean value)
      This flag indicates whether or not this frame belongs in a group with other frames.
      void setReadOnly(boolean value)
      This flag, if set, tells the software that the contents of this frame is intended to be read only.
      void setTagAlterPreservation(boolean value)
      This flag tells the software what to do with this frame if it is unknown and the tag is altered in any way.
      void setUnsynchronisation(boolean value)
      This flag indicates whether or not unsynchronisation was applied to this frame.
    • Constructor Detail

      • TagFrameFlags

        public TagFrameFlags()
    • Method Detail

      • getTagAlterPreservation

        public final boolean getTagAlterPreservation()

        This flag 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.

      • setTagAlterPreservation

        public final void setTagAlterPreservation(boolean value)

        This flag 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.

      • getFileAlterPreservation

        public final boolean getFileAlterPreservation()

        This flag 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.

      • setFileAlterPreservation

        public final void setFileAlterPreservation(boolean value)

        This flag 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.

      • getReadOnly

        public final boolean getReadOnly()

        This flag, if set, tells the software that the contents of this frame is intended to be read only.

      • setReadOnly

        public final void setReadOnly(boolean value)

        This flag, if set, tells the software that the contents of this frame is intended to be read only.

      • getCompression

        public final boolean getCompression()

        This flag indicates whether or not the frame is compressed.

      • setCompression

        public final void setCompression(boolean value)

        This flag indicates whether or not the frame is compressed.

      • getEncryption

        public final boolean getEncryption()

        This flag indicates wether or not the frame is enrypted. If set one byte indicating with which method it was encrypted will be appended to the frame header. See section 4.26. for more information about encryption method registration.

      • setEncryption

        public final void setEncryption(boolean value)

        This flag indicates wether or not the frame is enrypted. If set one byte indicating with which method it was encrypted will be appended to the frame header. See section 4.26. for more information about encryption method registration.

      • getGroupingIdentity

        public final boolean getGroupingIdentity()

        This flag indicates whether or not this frame belongs in a group with other 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.

      • setGroupingIdentity

        public final void setGroupingIdentity(boolean value)

        This flag indicates whether or not this frame belongs in a group with other 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.

      • getUnsynchronisation

        public final boolean getUnsynchronisation()

        This flag indicates whether or not unsynchronisation was applied to this frame.

      • setUnsynchronisation

        public final void setUnsynchronisation(boolean value)

        This flag indicates whether or not unsynchronisation was applied to this frame.

      • getDataLengthIndicator

        public final boolean getDataLengthIndicator()

        This flag indicates that 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.

      • setDataLengthIndicator

        public final void setDataLengthIndicator(boolean value)

        This flag indicates that 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.

      • equals

        public final boolean equals(TagFrameFlags 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<TagFrameFlags>
        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.