protected static String extractBucket(String s3uri){
  return s3uri.substring(s3uri.indexOf('@') + 1,s3uri.indexOf("/",s3uri.indexOf('@')));
}

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