summaryrefslogtreecommitdiff
path: root/platform/java/src/com/artifex
diff options
context:
space:
mode:
authorfredross-perry <fross-perry@conceptuamath.com>2016-08-16 10:44:41 -0700
committerfredross-perry <fross-perry@conceptuamath.com>2016-08-16 11:21:03 -0700
commit89c8b216039992605f947a05171592a724d70837 (patch)
treed7f03666245715cd1492c2b419ac22eed86df847 /platform/java/src/com/artifex
parent76cdf0cd380af6fe4eed6a260ce193be15dfee3a (diff)
downloadmupdf-89c8b216039992605f947a05171592a724d70837.tar.xz
Java/JNI - add TextChar.isWhitespace
Diffstat (limited to 'platform/java/src/com/artifex')
-rw-r--r--platform/java/src/com/artifex/mupdf/fitz/StructuredText.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/java/src/com/artifex/mupdf/fitz/StructuredText.java b/platform/java/src/com/artifex/mupdf/fitz/StructuredText.java
index 78c6e321..1c61041c 100644
--- a/platform/java/src/com/artifex/mupdf/fitz/StructuredText.java
+++ b/platform/java/src/com/artifex/mupdf/fitz/StructuredText.java
@@ -43,6 +43,11 @@ public class StructuredText
{
public int c;
public Rect bbox;
+
+ public boolean isWhitespace()
+ {
+ return Character.isWhitespace(c);
+ }
}
}