public class EmbeddedFileInfo extends Object
Copyright (c) 2020 xsx All Rights Reserved. x-easypdf-pdfbox is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.
Modifier and Type | Field and Description |
---|---|
protected String |
description
文件描述
|
protected org.apache.pdfbox.pdmodel.common.filespecification.PDEmbeddedFile |
embeddedFile
内嵌文件
|
protected String |
name
文件名称
|
Constructor and Description |
---|
EmbeddedFileInfo(String name,
String description,
org.apache.pdfbox.pdmodel.common.filespecification.PDEmbeddedFile embeddedFile)
有参构造
|
Modifier and Type | Method and Description |
---|---|
Calendar |
getCreateDate()
获取创建日期
|
byte[] |
getFileBytes()
获取文件字节数组
|
Calendar |
getModifyDate()
获取修改日期
|
int |
getSize()
获取文件大小
|
String |
getSubtype()
获取文件类型
|
protected String name
protected String description
protected org.apache.pdfbox.pdmodel.common.filespecification.PDEmbeddedFile embeddedFile
public Calendar getCreateDate()
public Calendar getModifyDate()
public int getSize()
public String getSubtype()
public byte[] getFileBytes()
Copyright © 2025. All rights reserved.