src/main/java/edu/ucla/library/bucketeer/Job.java
@JsonIgnore
    public String toCSV() throws IOException {
        final StringWriter stringWriter = new StringWriter();
        final CSVWriter csvWriter = new CSVWriter(stringWriter);

        // Let's be explicit and put all values in quotes
        csvWriter.writeNext(getMetadataHeader(), true);
        csvWriter.writeAll(getMetadata(), true);
        csvWriter.close();

        return stringWriter.toString();
    }
/**
     * Converts a Job to a CSV string.
     *
     * @return A string in CSV format
     * @throws IOException
     */
Converts a Job to a CSV string.
@return A string in CSV format
@throws IOException
Converts a Job to a CSV string . @return A string in CSV format @throws IOException
@JsonIgnore
    public String toCSV() throws IOException {
        final StringWriter stringWriter = new StringWriter();
        final CSVWriter csvWriter = new CSVWriter(stringWriter);
        csvWriter.writeNext(getMetadataHeader(), true);
        csvWriter.writeAll(getMetadata(), true);
        csvWriter.close();
        return stringWriter.toString();
    }
@ JsonIgnore public String toCSV ( ) throws IOException { final StringWriter stringWriter = new StringWriter ( ) ; final CSVWriter csvWriter = new CSVWriter ( stringWriter ) ; csvWriter . writeNext ( getMetadataHeader ( ) , true ) ; csvWriter . writeAll ( getMetadata ( ) , true ) ; csvWriter . close ( ) ; return stringWriter . toString ( ) ; }
Converts a Job to a CSV string.
Converts a Job to a CSV string .
// Let's be explicit and put all values in quotes