@Nullable
    public static Geocache loadCache(final String geocode, final EnumSet<LoadFlag> loadFlags) {
        if (StringUtils.isBlank(geocode)) {
            throw new IllegalArgumentException("geocode must not be empty");
        }

        final Set<Geocache> caches = loadCaches(Collections.singleton(geocode), loadFlags);
        return caches.isEmpty() ? null : caches.iterator().next();
    }
Load a single Cache.

@param geocode The Geocode GCXXXX
@return the loaded cache (if found). Can be null
main/src/main/java/cgeo/geocaching/storage/DataStore.java