Class FileSpecifications

java.lang.Object
org.sejda.sambox.pdmodel.common.filespecification.FileSpecifications

public final class FileSpecifications extends Object
Factory methods for PDFileSpecification
Author:
Andrea Vacondio
  • Method Details

    • fileSpecificationFor

      public static PDFileSpecification fileSpecificationFor(COSBase base)
      Factory method for a a file specification that can be either a COSString or a COSDictionary.
      Parameters:
      base - The cos object that describes the fs.
      Returns:
      The file specification for the COSBase object or null in case of invalid input.