Class FileSpecifications

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

public final class FileSpecifications extends Object
Factory methods for PDFileSpecification
  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
  • Constructor Details

    • FileSpecifications

      private FileSpecifications()
  • 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.