Package 

Object PdfSniffer

  • All Implemented Interfaces:
    org.readium.r2.shared.util.format.BlobSniffer , org.readium.r2.shared.util.format.ContainerSniffer , org.readium.r2.shared.util.format.FormatHintsSniffer , org.readium.r2.shared.util.format.FormatSniffer

    
    public class PdfSniffer
     implements FormatSniffer
                        

    Sniffs a PDF document.

    Reference: https://www.loc.gov/preservation/digital/formats/fdd/fdd000123.shtml

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static PdfSniffer INSTANCE
    • Method Summary

      Modifier and Type Method Description
      Format sniffHints(FormatHints hints)
      Try<Format, ReadError> sniffBlob(Format format, Readable source)
      • Methods inherited from class org.readium.r2.shared.util.format.PdfSniffer

        sniffContainer
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait