private static boolean pathContainsCredentials(String filePath) {
    VFSURIParser parser = new VFSURIParser(filePath);
    return StringUtils.isNotBlank(parser.getUsername()) && StringUtils.isNotBlank(parser.getPassword());
  }
Returns a file representation

@param filePath The file path
@return a file representation
@throws FileSystemException
olv-vfs/src/main/java/pl/otros/vfs/browser/util/VFSUtils.java