Class Content
- java.lang.Object
-
- com.adobe.pdfservices.operation.pdfjobs.result.pdfproperties.Content
-
public class Content extends Object
This class provides information about the content of the specified PDF file, such as number of images, textual content etc.
-
-
Constructor Summary
Constructors Constructor Description Content()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
containsImages()
Returns a boolean specifying whether the content has any images.Boolean
containsImagesOnly()
Returns a boolean specifying whether the content consists only images.Boolean
containsText()
Returns a boolean specifying whether the content has any text.Integer
getNumberOfImages()
Returns the number of images in the content.Boolean
isEmpty()
Returns a boolean specifying whether the content is empty/blank.
-
-
-
Method Detail
-
getNumberOfImages
public Integer getNumberOfImages()
Returns the number of images in the content.- Returns:
- An Integer denoting the number of images in the content
-
containsImagesOnly
public Boolean containsImagesOnly()
Returns a boolean specifying whether the content consists only images.- Returns:
true
if the content consists only images. False otherwise.
-
containsText
public Boolean containsText()
Returns a boolean specifying whether the content has any text.- Returns:
true
if the content has any text. False otherwise.
-
containsImages
public Boolean containsImages()
Returns a boolean specifying whether the content has any images.- Returns:
true
if the content has any images. False otherwise.
-
isEmpty
public Boolean isEmpty()
Returns a boolean specifying whether the content is empty/blank.- Returns:
true
if the content is empty. False otherwise.
-
-