Class WarcConversion


public class WarcConversion extends WarcTargetRecord
  • Method Details

    • payload

      public Optional<WarcPayload> payload() throws IOException
      Description copied from class: WarcTargetRecord
      Returns the payload of this record if one is present.

      This method returns an empty optional when the payload is undefined for this record type or if this library does not know how to parse the body in order to extract the payload. If the payload is well defined but happens to be zero bytes in length this method still returns a WarcPayload object.

      Overrides:
      payload in class WarcTargetRecord
      Throws:
      IOException
    • refersTo

      public Optional<URI> refersTo()
      The record id of the source of the conversion.