Skip to content

Conversation

@sharonluong
Copy link
Contributor

var writer = Files.newBufferedWriter(eadToCdmTsvPath);
CSVPrinter tsvPrinter = new CSVPrinter(writer, csvPrinterFormat);
) {
var body = IOUtils.toString(resp.getEntity().getContent(), StandardCharsets.ISO_8859_1);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the ead to cdm API respond with ISO_8859_1 or UTF-8?

*/
private void exportFromEadToCdm() {
var projectName = project.getProjectName();
var eadId = projectName.split("_")[0];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this how anna plans to specify the ead id every time, as part of the project name? If not, we could allow it as an option that gets passed in via the command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants