question: private Range parseContentRange ( String contentRange ) { Matcher matcher = CONTENT_RANGE_PATTERN . matcher ( contentRange ) ; checkState ( matcher . matches ( ) , "Unexpected Content-Range header: %s" , contentRange ) ; long start = Long . parseLong ( matcher . group ( 1 ) ) ; long end = Long . parseLong ( matcher . group ( 2 ) ) ; return new Range ( start , end - start + 1 ) ; }
target:  Parses an HTTP "Content-Range" header in an HTTP 206 Partial Content response. 