Search in sources :

Example 1 with CsvRow

use of com.thoughtworks.go.util.CsvRow in project gocd by gocd.

the class PropertiesService method fromProperties.

public static Csv fromProperties(Properties properties) {
    Csv csv = new Csv();
    CsvRow row = csv.newRow();
    for (Property property : properties) {
        row.put(property.getKey(), property.getValue());
    }
    return csv;
}
Also used : CsvRow(com.thoughtworks.go.util.CsvRow) Csv(com.thoughtworks.go.util.Csv) Property(com.thoughtworks.go.domain.Property)

Aggregations

Property (com.thoughtworks.go.domain.Property)1 Csv (com.thoughtworks.go.util.Csv)1 CsvRow (com.thoughtworks.go.util.CsvRow)1