Class DefaultAttachmentTextExtraction
java.lang.Object
com.atlassian.confluence.internal.index.attachment.DefaultAttachmentTextExtraction
- All Implemented Interfaces:
AttachmentTextExtraction
,Serializable
- Since:
- 6.5
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic AttachmentTextExtraction
empty()
boolean
getText()
int
hashCode()
static AttachmentTextExtraction
of
(byte[] bytes, boolean compressed) static AttachmentTextExtraction
of
(InputStreamSource source, boolean compressed) static AttachmentTextExtraction
-
Method Details
-
of
-
of
-
empty
-
of
-
getText
Description copied from interface:AttachmentTextExtraction
Returns anOptional
describing the extracted text of if it is available, or an emptyOptional
otherwise.- Specified by:
getText
in interfaceAttachmentTextExtraction
-
equals
-
hashCode
public int hashCode()
-