Class WarcRecordClient

    • Constructor Summary

      Constructors 
      Constructor Description
      WarcRecordClient​(java.net.URI baseUri)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URI getBaseUri()  
      BitarchiveRecord getBitarchiveRecord​(java.lang.String arcfileName, long index)
      Retrieves a single BitarchiveRecord from the repository from a given file and offset.
      long getOffset()  
      void setOffset​(long offset)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getBitarchiveRecord

        public BitarchiveRecord getBitarchiveRecord​(java.lang.String arcfileName,
                                                    long index)
        Retrieves a single BitarchiveRecord from the repository from a given file and offset. If the operation fails for any reason, this method returns null.
        Parameters:
        arcfileName - Name of the arcfile/warcfile to retrieve.
        index - offset to fetch specific record from warc or arc file
      • setOffset

        public void setOffset​(long offset)