public Map<String, String> getOffsets() throws IOException {
    Utils.checkState(open, "Not open");
    return fileContextProvider.getOffsets();
  }
public Map < String , String > getOffsets ( ) throws IOException { Utils . checkState ( open , "Not open" ) ; return fileContextProvider . getOffsets ( ) ; }
Returns the current file offsets. The returned offsets should be set before the next read.

@return the current file offsets.
@throws IOException thrown if there was an IO error while preparing file offsets.