question: protected static String extractBucket ( String s3uri ) { return s3uri . substring ( s3uri . indexOf ( '@' ) + 1 , s3uri . indexOf ( "/" , s3uri . indexOf ( '@' ) ) ) ; }
target:  Extracts the bucket name from the given uri