org.apache.batik.gvt.font
Class UnicodeRange
java.lang.Object
org.apache.batik.gvt.font.UnicodeRange
public class UnicodeRange
- extends Object
A class that represents a CSS unicode range. This only handles
a single range of contigous chars, to handle multiple ranges
(comma seperated) use a list of these.
- Version:
- $Id: UnicodeRange.java 1733416 2016-03-03 07:07:13Z gadams $
- Author:
- Bella Robinson
|
Constructor Summary |
UnicodeRange(String unicodeRange)
Constructs a unicode range from a CSS unicode range string. |
|
Method Summary |
boolean |
contains(int unicodeVal)
|
boolean |
contains(String unicode)
Returns true if the specified unicode value is within this range. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnicodeRange
public UnicodeRange(String unicodeRange)
- Constructs a unicode range from a CSS unicode range string.
contains
public boolean contains(String unicode)
- Returns true if the specified unicode value is within this range.
contains
public boolean contains(int unicodeVal)
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.