Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.common.filespecification » [javadoc | source]
org.apache.pdfbox.pdmodel.common.filespecification
public class: PDEmbeddedFile [javadoc | source]
java.lang.Object
   org.apache.pdfbox.pdmodel.common.PDStream
      org.apache.pdfbox.pdmodel.common.filespecification.PDEmbeddedFile

All Implemented Interfaces:
    COSObjectable

This represents an embedded file in a file specification.
Constructor:
 public PDEmbeddedFile(PDDocument document) 
    Constructor.
    Parameters:
    document - {@inheritDoc}
 public PDEmbeddedFile(COSStream str) 
    Constructor.
    Parameters:
    str - The stream parameter.
 public PDEmbeddedFile(PDDocument doc,
    InputStream str) throws IOException 
    Constructor.
    Parameters:
    doc - {@inheritDoc}
    str - {@inheritDoc}
    Throws:
    IOException - {@inheritDoc}
 public PDEmbeddedFile(PDDocument doc,
    InputStream str,
    boolean filtered) throws IOException 
    Constructor.
    Parameters:
    doc - {@inheritDoc}
    str - {@inheritDoc}
    filtered - {@inheritDoc}
    Throws:
    IOException - {@inheritDoc}
Method from org.apache.pdfbox.pdmodel.common.filespecification.PDEmbeddedFile Summary:
getCheckSum,   getCreationDate,   getMacCreator,   getMacResFork,   getMacSubtype,   getModDate,   getSize,   getSubtype,   setCheckSum,   setCreationDate,   setMacCreator,   setMacResFork,   setMacSubtype,   setModDate,   setSize,   setSubtype
Methods from org.apache.pdfbox.pdmodel.common.PDStream:
addCompression,   createFromCOS,   createInputStream,   createOutputStream,   getByteArray,   getCOSObject,   getDecodeParms,   getDecodedStreamLength,   getFile,   getFileDecodeParams,   getFileFilters,   getFilters,   getInputStreamAsString,   getLength,   getMetadata,   getPartiallyFilteredStream,   getStream,   setDecodeParms,   setDecodedStreamLength,   setFile,   setFileDecodeParams,   setFileFilters,   setFilters,   setMetadata
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.common.filespecification.PDEmbeddedFile Detail:
 public String getCheckSum() 
    Get the check sum of the embedded file.
 public Calendar getCreationDate() throws IOException 
    Get the creation date of the embedded file.
 public String getMacCreator() 
    Get the mac Creator.
 public String getMacResFork() 
    Get the mac ResFork.
 public String getMacSubtype() 
    Get the mac subtype.
 public Calendar getModDate() throws IOException 
    Get the mod date of the embedded file.
 public int getSize() 
    Get the size of the embedded file.
 public String getSubtype() 
    Get the subtype(mimetype) for the embedded file.
 public  void setCheckSum(String checksum) 
    Set the check sum.
 public  void setCreationDate(Calendar creation) 
    Set the creation date.
 public  void setMacCreator(String macCreator) 
    Set the mac Creator.
 public  void setMacResFork(String macResFork) 
    Set the mac ResFork.
 public  void setMacSubtype(String macSubtype) 
    Set the mac subtype.
 public  void setModDate(Calendar mod) 
    Set the mod date.
 public  void setSize(int size) 
    Set the size of the embedded file.
 public  void setSubtype(String mimeType) 
    Set the subtype for this embedded file. This should be a mime type value. Optional.