FileParams

遗产: java.lang.Object

public final class FileParams

定义一个嵌入式文件参数字典,其中应包含附加的文件特定信息。

构造函数

构造函数描述
FileParams(FileSpecification spec)FileParams 类的构造函数。

方法

方法描述
equals(Object arg0)
getCheckSum()一个 16 字节的字符串,它是未压缩的嵌入文件的字节校验和。
getClass()
getCreationDate()获取创建嵌入文件的日期和时间。
getModDate()获取上次修改嵌入文件的日期和时间。
getSize()未压缩的嵌入文件的大小,以字节为单位。
hashCode()
notify()
notifyAll()
setCreationDate(Date value)设置嵌入文件的创建日期和时间。
setModDate(Date value)设置嵌入文件上次修改的日期和时间。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

FileParams(FileSpecification spec)

public FileParams(FileSpecification spec)

FileParams 类的构造函数。

参数:

范围类型描述
specFileSpecification文件规范。

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

getCheckSum()

public String getCheckSum()

一个 16 字节的字符串,它是未压缩的嵌入文件的字节校验和。校验和是通过将标准 MD5 消息摘要算法应用于嵌入式文件流的字节来计算的。

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

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getCreationDate()

public Date getCreationDate()

获取创建嵌入文件的日期和时间。

退货: Date - 日期对象

getModDate()

public Date getModDate()

获取上次修改嵌入文件的日期和时间。

退货: Date - 日期对象

getSize()

public int getSize()

未压缩的嵌入文件的大小,以字节为单位。

退货: int - 整数值

hashCode()

public native int hashCode()

退货: 整数

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setCreationDate(Date value)

public void setCreationDate(Date value)

设置嵌入文件的创建日期和时间。

参数:

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

setModDate(Date value)

public void setModDate(Date value)

设置嵌入文件上次修改的日期和时间。

参数:

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

toString()

public String toString()

退货: java.lang.字符串

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