Packages

 

com.aspose.cad.fileformats.cad

Class CadData

  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.IEnumerable, com.aspose.ms.System.Collections.IEnumerator, Iterable, Iterator


    public class CadData
    extends Object
    implements com.aspose.ms.System.Collections.IEnumerable, com.aspose.ms.System.Collections.IEnumerator

    Object for work with a new data stream dwg

    • Constructor Detail

      • CadData

        public CadData()

        Initializes a new instance of the CadData class.

    • Method Detail

      • getOffset

        public final int getOffset()

        Get current offset

      • setOffset

        public final void setOffset(int value)

        Get current offset

      • get_Item

        public final boolean get_Item(int index)

        Get current value by index

        Parameters:
        index - Value index
        Returns:
        bit value
      • getCurrentData

        public final com.aspose.ms.System.Collections.BitArray getCurrentData()

        Get current BitArray

        Returns:
        BitArray
      • add

        public final void add(boolean value)

        Add one bit

        Parameters:
        value - Bit value
      • addRange

        public final void addRange(boolean[] values)

        Add a BitArray from the bool array

        Parameters:
        values - Bit values
      • append

        public final void append(com.aspose.ms.System.Collections.BitArray bitArray)

        Add a BitArray

        Parameters:
        bitArray - BitArray values
      • iterator

        public final com.aspose.ms.System.Collections.IEnumerator iterator()

        GetEnumerator

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable
        Specified by:
        iterator in interface Iterable
        Returns:
        this
      • hasNext

        public final boolean hasNext()

        MoveNext

        Specified by:
        hasNext in interface com.aspose.ms.System.Collections.IEnumerator
        Specified by:
        hasNext in interface Iterator
        Returns:
        bool
      • reset

        public final void reset()

        Reset index BitArray

        Specified by:
        reset in interface com.aspose.ms.System.Collections.IEnumerator
      • next

        public final Object next()

        Get current value

        Specified by:
        next in interface com.aspose.ms.System.Collections.IEnumerator
        Specified by:
        next in interface Iterator
      • remove

        public void remove()
        Specified by:
        remove in interface Iterator