basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpSourceOffset.java
static HttpSourceOffset fromString(String s) {
    LOG.debug("Parsing HttpSourceOffset from '{}'", s);

    String[] parts = s.split("::");
    if (parts.length < 8) {
      throw new IllegalArgumentException("Offset must have at least 8 parts");
    }

    return new HttpSourceOffset(parts[1], parts[3], Long.parseLong(parts[5]), Integer.parseInt(parts[7]));
  }
static HttpSourceOffset fromString(String s) {
    LOG.debug("Parsing HttpSourceOffset from '{}'", s);

    String[] parts = s.split("::");
    if (parts.length < 8) {
      throw new IllegalArgumentException("Offset must have at least 8 parts");
    }

    return new HttpSourceOffset(parts[1], parts[3], Long.parseLong(parts[5]), Integer.parseInt(parts[7]));
  }
static HttpSourceOffset fromString ( String s ) { LOG . debug ( "Parsing HttpSourceOffset from '{}'" , s ) ; String [ ] parts = s . split ( "::" ) ; if ( parts . length < 8 ) { throw new IllegalArgumentException ( "Offset must have at least 8 parts" ) ; } return new HttpSourceOffset ( parts [ 1 ] , parts [ 3 ] , Long . parseLong ( parts [ 5 ] ) , Integer . parseInt ( parts [ 7 ] ) ) ; }
Parses an HttpSourceOffset from a string, e.g. from lastSourceOffset in
{@link HttpClientSource#produce(String, int, BatchMaker)}
@param s lastSourceOffset to parse
@return new instance of HttpSourceOffset
Parses an HttpSourceOffset from a string e . g . from lastSourceOffset in {