How about 

Constants.PATH_SEPARATOR.quals(path)?

In this case, the method can also handle "null". maybe we don't need to do path.length() == 1 check.