The OBSUtil embedded objects provide a series of OBS operation methods, for example, checking whether an OBS file or directory exists.
Method |
Description |
---|---|
boolean isExistOBSPath(String obsPath) |
Check whether the OBS file or the OBS directory that ends with a slash (/) exists. If the file or directory exists, true is returned. If not, false is returned. |