Package org.jpedal.manipulator
Class EmbedFile
java.lang.Object
org.jpedal.manipulator.EmbedFile
- All Implemented Interfaces:
Manipulation
Embeds files within a document
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(org.jpedal.io.annotation.utils.AnnotInfo info) Applies the manipulation to the current documentstatic org.jpedal.io.annotation.utils.AnnotString
convertFileTimeToPdfDate
(FileTime fileTime) Converts a file time object into a PDF time string
-
Constructor Details
-
EmbedFile
Embeds files within a document- Parameters:
file
- the file to embedname
- a name to identify file
-
-
Method Details
-
apply
Description copied from interface:Manipulation
Applies the manipulation to the current document- Specified by:
apply
in interfaceManipulation
- Parameters:
info
- theAnnotInfo
object for the currently loaded document- Throws:
IOException
- if the manipulation cannot be applied to the document
-
convertFileTimeToPdfDate
public static org.jpedal.io.annotation.utils.AnnotString convertFileTimeToPdfDate(FileTime fileTime) Converts a file time object into a PDF time string- Parameters:
fileTime
- the file time to convert- Returns:
- the time as a PDF time string
-