/** * @param word * @return a hyphenation object */ public Hyphenation hyphenate(String word) { if (hyphenTree == null) { return null; } return hyphenTree.hyphenate(word, remainCharCount, pushCharCount); }
/** * @param word * @return a hyphenation object */ public Hyphenation hyphenate(String word) { if (hyphenTree == null) { return null; } return hyphenTree.hyphenate(word, remainCharCount, pushCharCount); }
/** * @param word * @return a hyphenation object */ public Hyphenation hyphenate(String word) { if (hyphenTree == null) { return null; } return hyphenTree.hyphenate(word, remainCharCount, pushCharCount); }
/** * @param word * @param offset * @param len * @return a hyphenation object */ public Hyphenation hyphenate(char[] word, int offset, int len) { if (hyphenTree == null) { return null; } return hyphenTree.hyphenate(word, offset, len, remainCharCount, pushCharCount); }
/** * @param word * @param offset * @param len * @return a hyphenation object */ public Hyphenation hyphenate(char[] word, int offset, int len) { if (hyphenTree == null) { return null; } return hyphenTree.hyphenate(word, offset, len, remainCharCount, pushCharCount); }
/** * @param word * @param offset * @param len * @return a hyphenation object */ public Hyphenation hyphenate(char[] word, int offset, int len) { if (hyphenTree == null) { return null; } return hyphenTree.hyphenate(word, offset, len, remainCharCount, pushCharCount); }
/** * Hyphenate word and return a Hyphenation object. * @param word the word to be hyphenated * @param remainCharCount Minimum number of characters allowed * before the hyphenation point. * @param pushCharCount Minimum number of characters allowed after * the hyphenation point. * @return a {@link Hyphenation Hyphenation} object representing * the hyphenated word or null if word is not hyphenated. */ public Hyphenation hyphenate(String word, int remainCharCount, int pushCharCount) { char[] w = word.toCharArray(); return hyphenate(w, 0, w.length, remainCharCount, pushCharCount); }
/** * Hyphenate word and return a Hyphenation object. * @param word the word to be hyphenated * @param remainCharCount Minimum number of characters allowed * before the hyphenation point. * @param pushCharCount Minimum number of characters allowed after * the hyphenation point. * @return a {@link Hyphenation Hyphenation} object representing * the hyphenated word or null if word is not hyphenated. */ public Hyphenation hyphenate(String word, int remainCharCount, int pushCharCount) { char[] w = word.toCharArray(); return hyphenate(w, 0, w.length, remainCharCount, pushCharCount); }
/** * Hyphenate word and return a Hyphenation object. * @param word the word to be hyphenated * @param remainCharCount Minimum number of characters allowed * before the hyphenation point. * @param pushCharCount Minimum number of characters allowed after * the hyphenation point. * @return a {@link Hyphenation Hyphenation} object representing * the hyphenated word or null if word is not hyphenated. */ public Hyphenation hyphenate(String word, int remainCharCount, int pushCharCount) { char[] w = word.toCharArray(); return hyphenate(w, 0, w.length, remainCharCount, pushCharCount); }
/** * @param lang * @param country * @param word * @param leftMin * @param rightMin * @return a hyphenation object */ public static Hyphenation hyphenate(String lang, String country, String word, int leftMin, int rightMin) { HyphenationTree hTree = getHyphenationTree(lang, country); if (hTree == null) { //log.error("Error building hyphenation tree for language " // + lang); return null; } return hTree.hyphenate(word, leftMin, rightMin); }
/** * @param lang * @param country * @param word * @param leftMin * @param rightMin * @return a hyphenation object */ public static Hyphenation hyphenate(String lang, String country, String word, int leftMin, int rightMin) { HyphenationTree hTree = getHyphenationTree(lang, country); if (hTree == null) { //log.error("Error building hyphenation tree for language " // + lang); return null; } return hTree.hyphenate(word, leftMin, rightMin); }
/** * @param lang * @param country * @param word * @param leftMin * @param rightMin * @return a hyphenation object */ public static Hyphenation hyphenate(String lang, String country, String word, int leftMin, int rightMin) { HyphenationTree hTree = getHyphenationTree(lang, country); if (hTree == null) { //log.error("Error building hyphenation tree for language " // + lang); return null; } return hTree.hyphenate(word, leftMin, rightMin); }
/** * @param lang * @param country * @param word * @param offset * @param len * @param leftMin * @param rightMin * @return a hyphenation object */ public static Hyphenation hyphenate(String lang, String country, char[] word, int offset, int len, int leftMin, int rightMin) { HyphenationTree hTree = getHyphenationTree(lang, country); if (hTree == null) { //log.error("Error building hyphenation tree for language " // + lang); return null; } return hTree.hyphenate(word, offset, len, leftMin, rightMin); }
/** * @param lang * @param country * @param word * @param offset * @param len * @param leftMin * @param rightMin * @return a hyphenation object */ public static Hyphenation hyphenate(String lang, String country, char[] word, int offset, int len, int leftMin, int rightMin) { HyphenationTree hTree = getHyphenationTree(lang, country); if (hTree == null) { //log.error("Error building hyphenation tree for language " // + lang); return null; } return hTree.hyphenate(word, offset, len, leftMin, rightMin); }
/** * @param lang * @param country * @param word * @param offset * @param len * @param leftMin * @param rightMin * @return a hyphenation object */ public static Hyphenation hyphenate(String lang, String country, char[] word, int offset, int len, int leftMin, int rightMin) { HyphenationTree hTree = getHyphenationTree(lang, country); if (hTree == null) { //log.error("Error building hyphenation tree for language " // + lang); return null; } return hTree.hyphenate(word, offset, len, leftMin, rightMin); }