FontAbsorber

遗产: java.lang.Object

public class FontAbsorber

表示字体的吸收器对象。执行字体搜索并通过 FontAbsorber.Fonts 集合提供对搜索结果的访问。

构造函数

构造函数描述
FontAbsorber()初始化执行文档字体搜索的 FontAbsorber 的新实例。

方法

方法描述
equals(Object arg0)
getClass()
getFonts()获取与 Font 对象一起出现的搜索事件的集合。
hashCode()
notify()
notifyAll()
toString()
visit(Document pdf)对指定文档执行搜索。
visit(Document pdf, int startPage, int pageCount)在文档的指定页面范围内执行搜索。
wait()
wait(long arg0)
wait(long arg0, int arg1)

FontAbsorber()

public FontAbsorber()

初始化执行文档字体搜索的 FontAbsorber 的新实例。

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getFonts()

public FontCollection getFonts()

获取与 Font 对象一起出现的搜索事件的集合。

退货: FontCollection - 字体集合对象

hashCode()

public native int hashCode()

退货: 整数

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

退货: java.lang.字符串

visit(Document pdf)

public void visit(Document pdf)

对指定文档执行搜索。

参数:

范围类型描述
pdfDocumentPdf 文档对象。

visit(Document pdf, int startPage, int pageCount)

public void visit(Document pdf, int startPage, int pageCount)

在文档的指定页面范围内执行搜索。

参数:

范围类型描述
pdfDocumentPdf 文档对象。
startPageintPdf 文档起始页。
pageCountintPDF文档页数

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int