DocumentInfo

遗产: java.lang.Object, com.aspose.ms.System.Collections.Generic.Dictionary

public final class DocumentInfo extends System.Collections.Generic.Dictionary<String,String>

表示 PDF 文档的元信息。

构造函数

构造函数描述
DocumentInfo(IDocument document)初始化 DocumentInfo 实例。

方法

方法描述
addItem(TKey arg0, TValue arg1)
addItem(System.Collections.Generic.KeyValuePair<TKey,TValue> arg0)
addItem(String key, String value)将具有指定键和值的元素添加到集合中。
clear()清除文档信息。
clearCustomData()仅清除自定义数据,保留所有其他预定义值(标题、作者等)。
containsItem(System.Collections.Generic.KeyValuePair<TKey,TValue> arg0)
containsKey(TKey arg0)
containsValue(TValue arg0)
copyTo(System.Array arg0, int arg1)
copyToTArray(System.Collections.Generic.KeyValuePair<TKey,TValue>[] arg0, int arg1)
equals(Object arg0)
getAuthor()获取文档作者。
getClass()
getComparer()
getCreationDate()获取文档创建日期。
getCreationTimeZone()创建日期的时区(以毫秒为单位)。
getCreator()获取文档创建者。
getDictionaryEntryEnumerator()
getKeys()
getKeywords()获取文档的关键字。
getModDate()获取文档修改日期。
getModTimeZone()修改日期的时区。
getProducer()获取文档制作者。
getSubject()获取文档的主题。
getSyncRoot()
getTitle()获取文档标题。
getTrapped()获得被困旗帜。
getValues()
get_Item(TKey arg0)
get_Item(String key)获取与指定键关联的值。
hashCode()
isFixedSize()
isPredefinedKey(String key)确定密钥是否是预定义的(标题、作者等),而不是自定义的。
isReadOnly()
isSynchronized()
iterator()
notify()
notifyAll()
remove(String key)从集合中移除具有指定键的元素。
removeItem(System.Collections.Generic.KeyValuePair<TKey,TValue> arg0)
removeItemByKey(TKey arg0)
setAuthor(String value)设置文档作者。
setCreationDate(Date value)设置文档创建日期。
setCreationTimeZone(double value)创建日期的时区(以毫秒为单位)。
setCreator(String value)设置文档创建者。
setKeywords(String value)设置文档的关键字。
setModDate(Date value)设置文档修改日期。
setModTimeZone(double value)修改日期的时区。
setProducer(String value)设置文档制作者。
setSubject(String value)设置文档的主题。
setTitle(String value)设置文档标题。
setTrapped(String value)设置被困标志。
set_Item(TKey arg0, TValue arg1)
set_Item(String key, String value)设置与指定键关联的值。
size()
toString()
tryGetValue(TKey arg0, Object[] arg1)
wait()
wait(long arg0)
wait(long arg0, int arg1)

DocumentInfo(IDocument document)

public DocumentInfo(IDocument document)

初始化 DocumentInfo 实例。

参数:

范围类型描述
documentIDocument该文档的信息将用于初始化。

addItem(TKey arg0, TValue arg1)

public void addItem(TKey arg0, TValue arg1)

参数:

范围类型描述
arg0TKey
arg1TValue

addItem(System.Collections.Generic.KeyValuePair<TKey,TValue> arg0)

public void addItem(System.Collections.Generic.KeyValuePair<TKey,TValue> arg0)

参数:

范围类型描述
arg0com.aspose.ms.System.Collections.Generic.KeyValuePair<TKey,TValue>

addItem(String key, String value)

public void addItem(String key, String value)

将具有指定键和值的元素添加到集合中。

参数:

范围类型描述
keyjava.lang.String要添加的元素的键。
valuejava.lang.String要添加的元素的值。该值可以为空。

clear()

public void clear()

清除文档信息。

clearCustomData()

public void clearCustomData()

仅清除自定义数据,保留所有其他预定义值(标题、作者等)。

containsItem(System.Collections.Generic.KeyValuePair<TKey,TValue> arg0)

public boolean containsItem(System.Collections.Generic.KeyValuePair<TKey,TValue> arg0)

参数:

范围类型描述
arg0com.aspose.ms.System.Collections.Generic.KeyValuePair<TKey,TValue>

退货: 布尔值

containsKey(TKey arg0)

public boolean containsKey(TKey arg0)

参数:

范围类型描述
arg0TKey

退货: 布尔值

containsValue(TValue arg0)

public boolean containsValue(TValue arg0)

参数:

范围类型描述
arg0TValue

退货: 布尔值

copyTo(System.Array arg0, int arg1)

public void copyTo(System.Array arg0, int arg1)

参数:

范围类型描述
arg0com.aspose.ms.System.Array
arg1int

copyToTArray(System.Collections.Generic.KeyValuePair<TKey,TValue>[] arg0, int arg1)

public void copyToTArray(System.Collections.Generic.KeyValuePair<TKey,TValue>[] arg0, int arg1)

参数:

范围类型描述
arg0com.aspose.ms.System.Collections.Generic.KeyValuePair<TKey,TValue>[]
arg1int

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

getAuthor()

public String getAuthor()

获取文档作者。

退货: java.lang.String - 字符串值

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getComparer()

public System.Collections.Generic.IGenericEqualityComparer<TKey> getComparer()

退货: com.aspose.ms.System.Collections.Generic.IGenericEqualityComparer

getCreationDate()

public Date getCreationDate()

获取文档创建日期。

退货: Date - 日期对象

getCreationTimeZone()

public double getCreationTimeZone()

创建日期的时区(以毫秒为单位)。

退货: 双倍价值

getCreator()

public String getCreator()

获取文档创建者。

退货: java.lang.String - 字符串值

getDictionaryEntryEnumerator()

public System.Collections.IEnumerable<System.Collections.DictionaryEntry> getDictionaryEntryEnumerator()

退货: com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.DictionaryEntry>

getKeys()

public System.Collections.Generic.Dictionary.KeyCollection<TKey,TValue> getKeys()

退货: com.aspose.ms.System.Collections.Generic.Dictionary.KeyCollection<TKey,TValue>

getKeywords()

public String getKeywords()

获取文档的关键字。

退货: java.lang.String - 字符串值

getModDate()

public Date getModDate()

获取文档修改日期。

退货: Date - 日期对象

getModTimeZone()

public double getModTimeZone()

修改日期的时区。

退货: 双倍价值

getProducer()

public String getProducer()

获取文档制作者。

退货: java.lang.String - 字符串值

getSubject()

public String getSubject()

获取文档的主题。

退货: java.lang.String - 字符串值

getSyncRoot()

public Object getSyncRoot()

退货: java.lang.Object

getTitle()

public String getTitle()

获取文档标题。

退货: java.lang.String - 字符串值

getTrapped()

public String getTrapped()

获得被困旗帜。

退货: java.lang.String - 字符串值

getValues()

public System.Collections.Generic.Dictionary.ValueCollection<TKey,TValue> getValues()

退货: com.aspose.ms.System.Collections.Generic.Dictionary.ValueCollection<TKey,TValue>

get_Item(TKey arg0)

public TValue get_Item(TKey arg0)

参数:

范围类型描述
arg0TKey

退货:

get_Item(String key)

public String get_Item(String key)

获取与指定键关联的值。

参数:

范围类型描述
keyjava.lang.String要获取或设置其值的键。

退货: java.lang.String - 值对象

hashCode()

public native int hashCode()

退货: 整数

isFixedSize()

public boolean isFixedSize()

退货: 布尔值

isPredefinedKey(String key)

public static boolean isPredefinedKey(String key)

确定密钥是否是预定义的(标题、作者等),而不是自定义的。

参数:

范围类型描述
keyjava.lang.String选定键

退货: 布尔值 - 如果密钥是预定义的,则为 True。

isReadOnly()

public boolean isReadOnly()

退货: 布尔值

isSynchronized()

public boolean isSynchronized()

退货: 布尔值

iterator()

public System.Collections.Generic.Dictionary.Enumerator<TKey,TValue> iterator()

退货: com.aspose.ms.System.Collections.Generic.Dictionary.Enumerator<TKey,TValue>

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

remove(String key)

public void remove(String key)

从集合中移除具有指定键的元素。

参数:

范围类型描述
keyjava.lang.String要删除的元素的键。

removeItem(System.Collections.Generic.KeyValuePair<TKey,TValue> arg0)

public boolean removeItem(System.Collections.Generic.KeyValuePair<TKey,TValue> arg0)

参数:

范围类型描述
arg0com.aspose.ms.System.Collections.Generic.KeyValuePair<TKey,TValue>

退货: 布尔值

removeItemByKey(TKey arg0)

public boolean removeItemByKey(TKey arg0)

参数:

范围类型描述
arg0TKey

退货: 布尔值

setAuthor(String value)

public void setAuthor(String value)

设置文档作者。

参数:

范围类型描述
valuejava.lang.String字符串值

setCreationDate(Date value)

public void setCreationDate(Date value)

设置文档创建日期。

参数:

范围类型描述
valuejava.util.Date日期对象

setCreationTimeZone(double value)

public void setCreationTimeZone(double value)

创建日期的时区(以毫秒为单位)。

参数:

范围类型描述
valuedouble以毫秒为单位

setCreator(String value)

public void setCreator(String value)

设置文档创建者。

参数:

范围类型描述
valuejava.lang.String字符串值

setKeywords(String value)

public void setKeywords(String value)

设置文档的关键字。

参数:

范围类型描述
valuejava.lang.String字符串值

setModDate(Date value)

public void setModDate(Date value)

设置文档修改日期。

参数:

范围类型描述
valuejava.util.Date日期对象

setModTimeZone(double value)

public void setModTimeZone(double value)

修改日期的时区。

参数:

范围类型描述
valuedouble双倍价值

setProducer(String value)

public void setProducer(String value)

设置文档制作者。

参数:

范围类型描述
valuejava.lang.String字符串值

setSubject(String value)

public void setSubject(String value)

设置文档的主题。

参数:

范围类型描述
valuejava.lang.String字符串值

setTitle(String value)

public void setTitle(String value)

设置文档标题。

参数:

范围类型描述
valuejava.lang.String字符串值

setTrapped(String value)

public void setTrapped(String value)

设置被困标志。

参数:

范围类型描述
valuejava.lang.String字符串值

set_Item(TKey arg0, TValue arg1)

public void set_Item(TKey arg0, TValue arg1)

参数:

范围类型描述
arg0TKey
arg1TValue

set_Item(String key, String value)

public void set_Item(String key, String value)

设置与指定键关联的值。

参数:

范围类型描述
keyjava.lang.String字符串对象
valuejava.lang.String目的

size()

public int size()

退货: 整数

toString()

public String toString()

退货: java.lang.字符串

tryGetValue(TKey arg0, Object[] arg1)

public boolean tryGetValue(TKey arg0, Object[] arg1)

参数:

范围类型描述
arg0TKey
arg1java.lang.Object[]

退货: 布尔值

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