/** * Process the layers.conf file. * * @param repoRoot the root * @return the layers conf * @throws java.io.IOException */ public static LayersConfig getLayersConfig(final File repoRoot) throws IOException { final File layersList = new File(repoRoot, LAYERS_CONF); if (!layersList.exists()) { return new LayersConfig(); } final Properties properties = PatchUtils.loadProperties(layersList); return new LayersConfig(properties); }
/** * Process the layers.conf file. * * @param repoRoot the root * @return the layers conf * @throws java.io.IOException */ public static LayersConfig getLayersConfig(final File repoRoot) throws IOException { final File layersList = new File(repoRoot, LAYERS_CONF); if (!layersList.exists()) { return new LayersConfig(); } final Properties properties = PatchUtils.loadProperties(layersList); return new LayersConfig(properties); }
static TargetInfo loadTargetInfoFromDisk(final DirectoryStructure structure) throws IOException { final Properties properties = PatchUtils.loadProperties(structure.getInstallationInfo()); return loadTargetInfo(properties, structure); }
static TargetInfo loadTargetInfoFromDisk(final DirectoryStructure structure) throws IOException { final Properties properties = PatchUtils.loadProperties(structure.getInstallationInfo()); return loadTargetInfo(properties, structure); }
final Properties properties = PatchUtils.loadProperties(identity.getDirectoryStructure().getInstallationInfo()); final List<String> allPatches = PatchUtils.readRefs(properties, Constants.ALL_PATCHES);
final Properties properties = PatchUtils.loadProperties(identity.getDirectoryStructure().getInstallationInfo()); final List<String> allPatches = PatchUtils.readRefs(properties, Constants.ALL_PATCHES);