Java org.apache.pdfbox.pdmodel.common.filespecification PDEmbeddedFile fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.pdmodel.common.filespecification PDEmbeddedFile fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.pdmodel.common.filespecification PDEmbeddedFile.

The text is from its open source code.

Constructor

Method

COSInputStreamcreateInputStream()
This will get a stream that can be read from.
CalendargetCreationDate()
Get the creation date of the embedded file.
CalendargetModDate()
Get the mod date of the embedded file.
intgetSize()
Get the size of the embedded file.
StringgetSubtype()
Get the subtype(mimetype) for the embedded file.
voidsetCreationDate(Calendar creation)
Set the creation date.
voidsetModDate(Calendar mod)
Set the mod date.
voidsetSize(int size)
Set the size of the embedded file.
voidsetSubtype(String mimeType)
Set the subtype for this embedded file.
byte[]toByteArray()
This will copy the stream into a byte array.