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 and Description |
---|
CustomExtractorsCollection() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(IFieldExtractor extractor)
Adds an extractor to the collection.
|
void |
clear()
Removes all extractors from the collection.
|
boolean |
containsItem(IFieldExtractor item)
Determines whether the collection contains a specific extractor.
|
void |
copyToTArray(IFieldExtractor[] array,
int arrayIndex)
Copies the elements of the collection to an array, starting at a particular array index.
|
boolean |
isReadOnly()
Gets a value indicating whether the collection is read-only.
|
com.aspose.ms.System.Collections.IEnumerator |
iterator_Rename_Namesake()
Returns an enumerator for extractors collection.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IFieldExtractor> |
iterator()
Returns an enumerator for extractors collection.
|
boolean |
removeItem(IFieldExtractor extractor)
Removes the extractor from the collection.
|
int |
size()
Gets the number of extractors contained in the collection.
|
public final int size()
Gets the number of extractors contained in the collection.
Value: The item count.size
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>
public final boolean isReadOnly()
Gets a value indicating whether the collection is read-only.
Value: Is collection read only.isReadOnly
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>
public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IFieldExtractor> iterator()
Returns an enumerator for extractors collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IFieldExtractor>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IFieldExtractor>
iterator
in interface Iterable<IFieldExtractor>
T:System.Collections.IEnumerator
object that can be used to iterate through the collection.public final com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()
Returns an enumerator for extractors collection.
T:System.Collections.IEnumerator
object that can be used to iterate through the collection.public final void addItem(IFieldExtractor extractor)
Adds an extractor to the collection.
addItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>
extractor
- The extractor to add to the collection.public final void clear()
Removes all extractors from the collection.
clear
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>
public final boolean containsItem(IFieldExtractor item)
Determines whether the collection contains a specific extractor.
containsItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>
item
- The extractor to locate in the collection.true
if item
is found in the collection; otherwise, false
.public final void copyToTArray(IFieldExtractor[] array, int arrayIndex)
Copies the elements of the collection to an array, starting at a particular array index.
copyToTArray
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>
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.public final boolean removeItem(IFieldExtractor extractor)
Removes the extractor from the collection.
removeItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFieldExtractor>
extractor
- The extractor to remove from the collection.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.Copyright © 2019. All rights reserved.