128129130131132133134135
public Bidi(AttributedCharacterIterator paragraph) { if (paragraph == null) { throw new IllegalArgumentException("paragraph is null"); } bidiBase = new BidiBase(0, 0); bidiBase.setPara(paragraph); }
167168169170171172173
throw new IllegalArgumentException("bad range: " + embStart + " length: " + paragraphLength + " for embeddings of length: " + text.length); } bidiBase = new BidiBase(text, textStart, embeddings, embStart, paragraphLength, flags); }
9596979899100101
public Bidi(String paragraph, int flags) { if (paragraph == null) { throw new IllegalArgumentException("paragraph is null"); } bidiBase = new BidiBase(paragraph.toCharArray(), 0, null, 0, paragraph.length(), flags); }