class CellInfoUtil {

    public static List<Cell> extractCellsFromCellSpecification(String cellsSpecification) {
        return Arrays.stream(cellsSpecification.split(CELL_HOST_DELIM))
                .filter(cellSpec -> cellSpec.contains(CELL_HOST_RULE_DELIM))
                .map(cellSpec -> cellSpec.split(CELL_HOST_RULE_DELIM))
                .map(parts -> new Cell(parts[0], parts[1]))
                .collect(Collectors.toList());
    }

}