TextBreakIterator.java
725 Bytes
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa.text;
import com.adobe.xfa.text.GraphemeBreakIterator;
import com.adobe.xfa.text.TextCharPropIterator;
import com.adobe.xfa.text.WordBreakIterator;
public abstract class TextBreakIterator {
public static final int DONE = Integer.MAX_VALUE;
public abstract int first();
public abstract int next();
public static TextBreakIterator createGraphemeInstance(TextCharPropIterator poTextCharPropIterator) {
return new GraphemeBreakIterator(poTextCharPropIterator);
}
public static TextBreakIterator createWordInstance(TextCharPropIterator poTextCharPropIterator) {
return new WordBreakIterator(poTextCharPropIterator);
}
}