Class PDFileSpecification

    • Constructor Detail

      • PDFileSpecification

        public PDFileSpecification()
    • Method Detail

      • createFS

        public static PDFileSpecification createFS​(COSBase base)
                                            throws java.io.IOException
        A file specification can either be a COSString or a COSDictionary. This will create the file specification either way.
        Parameters:
        base - The cos object that describes the fs.
        Returns:
        The file specification for the COSBase object.
        Throws:
        java.io.IOException - If there is an error creating the file spec.
      • getFile

        public abstract java.lang.String getFile()
        This will get the file name.
        Returns:
        The file name.
      • setFile

        public abstract void setFile​(java.lang.String file)
        This will set the file name.
        Parameters:
        file - The name of the file.