com.groupdocs.search

Class CustomExtractorsCollection

  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IFieldExtractor>, com.aspose.ms.System.Collections.IEnumerable<IFieldExtractor>, Iterable<IFieldExtractor>


    public class CustomExtractorsCollection
    extends Object
    implements com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>

    Allow manage custom extractors collection. If collection is not empty system use custom extractors instead built in ones.

    • Constructor Detail

      • CustomExtractorsCollection

        public CustomExtractorsCollection()
    • Method Detail

      • size

        public final int size()

        Gets the number of extractors contained in the collection.

        Value: The item count.
        Specified by:
        size in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>
      • isReadOnly

        public final boolean isReadOnly()

        Gets a value indicating whether the collection is read-only.

        Value: Is collection read only.
        Specified by:
        isReadOnly in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>
      • iterator

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IFieldExtractor> iterator()

        Returns an enumerator for extractors collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IFieldExtractor>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<IFieldExtractor>
        Specified by:
        iterator in interface Iterable<IFieldExtractor>
        Returns:
        An T:System.Collections.IEnumerator object that can be used to iterate through the collection.
      • iterator_Rename_Namesake

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

        Returns an enumerator for extractors collection.

        Returns:
        An T:System.Collections.IEnumerator object that can be used to iterate through the collection.
      • addItem

        public final void addItem(IFieldExtractor extractor)

        Adds an extractor to the collection.

        Specified by:
        addItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>
        Parameters:
        extractor - The extractor to add to the collection.
      • clear

        public final void clear()

        Removes all extractors from the collection.

        Specified by:
        clear in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>
      • containsItem

        public final boolean containsItem(IFieldExtractor item)

        Determines whether the collection contains a specific extractor.

        Specified by:
        containsItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>
        Parameters:
        item - The extractor to locate in the collection.
        Returns:
        true if item is found in the collection; otherwise, false.
      • copyToTArray

        public final void copyToTArray(IFieldExtractor[] array,
                        int arrayIndex)

        Copies the elements of the collection to an array, starting at a particular array index.

        Specified by:
        copyToTArray in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>
        Parameters:
        array - The one-dimensional array that is the destination of the elements copied from collection. The array must have zero-based indexing.
        arrayIndex - The zero-based index in array at which copying begins.
      • removeItem

        public final boolean removeItem(IFieldExtractor extractor)

        Removes the extractor from the collection.

        Specified by:
        removeItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>
        Parameters:
        extractor - The extractor to remove from the collection.
        Returns:
        true if extractor was successfully removed from the collection; otherwise, false. This method also returns false if extractor is not found in the original collection.