String function ( final String arg0 , final String arg1 ) { if ( arg0 . startsWith ( arg1 ) ) { return arg0 . substring ( arg1 . length ( ) ) ; } return arg0 ; }
strips the prefix from the key if it is present . for example , for input key ufs : / / my-bucket-name/my-key/file and prefix ufs : / / my-bucket-name / , the output would be my-key/file . this method will leave keys without a prefix unaltered , ie . my-key/file returns my-key/file . concode_field_sep String ALPHANUM concode_elem_sep Random RANDOM concode_elem_sep Logger LOG concode_field_sep T createNewClassInstance concode_elem_sep boolean isUfsObjectStorage concode_elem_sep String listToString concode_elem_sep String randomString concode_elem_sep String argsToString concode_elem_sep void sleepMs concode_elem_sep void sleepMs concode_elem_sep String[] toStringArray concode_elem_sep List<String> getUnixGroups concode_elem_sep long getCurrentMs concode_elem_sep String getPrimaryGroupName concode_elem_sep String stripSuffixIfPresent concode_elem_sep String getValueFromStaticMapping concode_elem_sep void warmUpLoop concode_elem_sep void waitFor concode_elem_sep void waitFor concode_elem_sep List<String> getGroups concode_elem_sep byte[] randomBytes