/** * Creates a new AtomCache object based on the provided UserConfiguration. * * @param config the UserConfiguration to use for this cache. */ public AtomCache(UserConfiguration config) { this(config.getPdbFilePath(), config.getCacheFilePath()); fetchBehavior = config.getFetchBehavior(); obsoleteBehavior = config.getObsoleteBehavior(); useMmCif = config.getFileFormat().equals(UserConfiguration.MMCIF_FORMAT); }