public class SearchResult extends Object implements Iterable<BaseSignature>
Result of searching for signatures in specified document.
| Modifier and Type | Method and Description |
|---|---|
long |
getDestinDocumentSize()
Returns destination document size.
|
List<BaseSignature> |
getFailed()
List of signatures
BaseSignature that failed Search process by search criteria. |
long |
getProcessingTime()
Returns the execution time of the search process in milliseconds.
|
List<BaseSignature> |
getSignatures()
List of detected signatures
BaseSignature. |
long |
getSourceDocumentSize()
Returns source document size
|
List<BaseSignature> |
getSucceeded()
List of found signatures
BaseSignature. |
int |
getTotalSignatures()
Returns the total processed signatures by the search process
|
<T extends BaseSignature> |
toList(Class<T> typeOfT)
Provides conversion to strongly typed list of signatures.
|
void |
updateContextData(com.groupdocs.signature.provider.SearchContext context,
int documentType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, iterator, spliteratorpublic final long getDestinDocumentSize()
Returns destination document size. For Search method it always returns 0.
public final List<BaseSignature> getFailed()
List of signatures BaseSignature that failed Search process by search criteria.
Not supported in current version.
public final long getProcessingTime()
Returns the execution time of the search process in milliseconds.
public final List<BaseSignature> getSignatures()
List of detected signatures BaseSignature.
public final long getSourceDocumentSize()
Returns source document size
public final List<BaseSignature> getSucceeded()
List of found signatures BaseSignature. This list will be always equal to Signatures(getSignatures()/#setSignatures(List) property.
public final int getTotalSignatures()
Returns the total processed signatures by the search process
public final <T extends BaseSignature> List<T> toList(Class<T> typeOfT)
Provides conversion to strongly typed list of signatures.
T: The type of signatures in the list.
public final void updateContextData(com.groupdocs.signature.provider.SearchContext context,
int documentType)
Copyright © 2024. All rights reserved.