⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 patternconsumer.java

📁 一个java操作pdf文件的开发包,很好用的.
💻 JAVA
字号:
/* * $Id: PatternConsumer.java,v 1.4 2002/06/18 13:59:57 blowagie Exp $ * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. */package com.lowagie.text.pdf.hyphenation;import java.util.Vector;/** * This interface is used to connect the XML pattern file parser to * the hyphenation tree. * * @author Carlos Villegas <cav@uniscope.co.jp> */public interface PatternConsumer {    /**     * Add a character class.     * A character class defines characters that are considered     * equivalent for the purpose of hyphenation (e.g. "aA"). It     * usually means to ignore case.     */    public void addClass(String chargroup);    /**     * Add a hyphenation exception. An exception replaces the     * result obtained by the algorithm for cases for which this     * fails or the user wants to provide his own hyphenation.     * A hyphenatedword is a vector of alternating String's and     * {@link Hyphen Hyphen} instances     */    public void addException(String word, Vector hyphenatedword);    /**     * Add hyphenation patterns.     * @param pattern     * @param values interletter values expressed as a string of     * digit characters.     */    public void addPattern(String pattern, String values);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -