aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/demo/ExtractNonTextualObjectsDemo.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/demo/ExtractNonTextualObjectsDemo.java')
-rw-r--r--src/main/java/demo/ExtractNonTextualObjectsDemo.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/demo/ExtractNonTextualObjectsDemo.java b/src/main/java/demo/ExtractNonTextualObjectsDemo.java
index 60031f7..6b0f3eb 100644
--- a/src/main/java/demo/ExtractNonTextualObjectsDemo.java
+++ b/src/main/java/demo/ExtractNonTextualObjectsDemo.java
@@ -31,7 +31,7 @@ public class ExtractNonTextualObjectsDemo {
System.err.println("Please provide path of file to be analyzed.");
System.exit(1);
}
-
+
File testFile = new File(args[0]);
try {
@@ -41,7 +41,7 @@ public class ExtractNonTextualObjectsDemo {
List nonTextualObjects = PdfAS.extractNonTextualObjects(new PdfDataSourceAdapter(dataSource));
if (nonTextualObjects != null && !nonTextualObjects.isEmpty()) {
- System.out.println("Non-textual objects found.");
+ System.out.println(nonTextualObjects.size() + " non-textual object(s) found.");
Iterator noit = nonTextualObjects.iterator();
while (noit.hasNext()) {
NonTextObjectInfo info = (NonTextObjectInfo) noit.next();