public void setOffsets(Map<String, String> offsets) throws IOException {
    """
	Sets the file offsets to use for the next read. To work correctly, the last return offsets should be used or
	an empty <code>Map</code> if there is none.
	<p/>
	If a reader is already live, the corresponding set offset is ignored as we cache all the contextual information
	of live readers.
	
	@param offsets directory offsets.
	@throws IOException thrown if there was an IO error while preparing file offsets.
    """
    Utils.checkState(open, "Not open");
    fileContextProvider.setOffsets(offsets);
    // we reset the events on every setOffsets().
    events.clear();
  }
public void setOffsets(Map<String, String> offsets) throws IOException {
    Utils.checkState(open, "Not open");
    fileContextProvider.setOffsets(offsets);
    // we reset the events on every setOffsets().
    events.clear();
  }
public void setOffsets ( Map < String , String > offsets ) throws IOException { Utils . checkState ( open , "Not open" ) ; fileContextProvider . setOffsets ( offsets ) ; // we reset the events on every setOffsets(). events . clear ( ) ; }
Sets the file offsets to use for the next read. To work correctly, the last return offsets should be used or
an empty <code>Map</code> if there is none.
<p/>
If a reader is already live, the corresponding set offset is ignored as we cache all the contextual information
of live readers.

@param offsets directory offsets.
@throws IOException thrown if there was an IO error while preparing file offsets.
Sets the file offsets to use for the next read . To work correctly the last return offsets should be used or an empty <code > Map< / code > if there is none . <p / > If a reader is already live the corresponding set offset is ignored as we cache all the contextual information of live readers .