Package 

Object JsonSniffer

  • 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 JsonSniffer
     implements FormatSniffer
                        

    Sniffs a JSON document.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static JsonSniffer 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.JsonSniffer

        sniffContainer
      • Methods inherited from class java.lang.Object

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