Top Description Fields Constructors Methods
org.apache.fontbox.ttf.gsub

public Class GlyphArraySplitterRegexImpl

extends Object
implements GlyphArraySplitter
Class Inheritance
All Implemented Interfaces
org.apache.fontbox.ttf.gsub.GlyphArraySplitter
Imports
java.util.ArrayList, .List, .Set, .TreeSet

This is an in-efficient implementation based on regex, which helps split the array.
Author
Palash Ray

Field Summary

Modifier and TypeField and Description
private final CompoundCharacterTokenizer
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private List<Integer>
convertGlyphIdsToList(String glyphIdsAsString)

private String
private Set<String>
public List<List<Integer>>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

compoundCharacterTokenizerback to summary
private final CompoundCharacterTokenizer compoundCharacterTokenizer
GLYPH_ID_SEPARATORback to summary
private static final String GLYPH_ID_SEPARATOR

Constructor Detail

GlyphArraySplitterRegexImplback to summary
public GlyphArraySplitterRegexImpl(Set<List<Integer>> matchers)

Method Detail

convertGlyphIdsToListback to summary
private List<Integer> convertGlyphIdsToList(String glyphIdsAsString)
convertGlyphIdsToStringback to summary
private String convertGlyphIdsToString(List<Integer> glyphIds)
getMatchersAsStringsback to summary
private Set<String> getMatchersAsStrings(Set<List<Integer>> matchers)
splitback to summary
public List<List<Integer>> split(List<Integer> glyphIds)

Implements org.apache.fontbox.ttf.gsub.GlyphArraySplitter.split.

Annotations
@Override