public class DefaultAttachmentTextExtraction extends Object implements AttachmentTextExtraction
| Modifier and Type | Method and Description |
|---|---|
static AttachmentTextExtraction |
empty() |
boolean |
equals(Object o) |
Optional<String> |
getText()
|
int |
hashCode() |
static AttachmentTextExtraction |
of(byte[] bytes,
boolean compressed) |
static AttachmentTextExtraction |
of(InputStreamSource source,
boolean compressed) |
static AttachmentTextExtraction |
of(String text,
boolean compressed) |
public static AttachmentTextExtraction of(byte[] bytes, boolean compressed)
public static AttachmentTextExtraction of(String text, boolean compressed)
public static AttachmentTextExtraction empty()
public static AttachmentTextExtraction of(InputStreamSource source, boolean compressed)
public Optional<String> getText()
AttachmentTextExtractionOptional describing the extracted text of if it is available, or an empty Optional
otherwise.getText in interface AttachmentTextExtractionCopyright © 2003–2021 Atlassian. All rights reserved.