001package org.hl7.fhir.utilities.i18n; 002 003import java.io.IOException; 004 005public abstract class LanguageFileProducer { 006 007 private String folder; 008 009 public LanguageFileProducer(String folder) { 010 super(); 011 this.folder = folder; 012 } 013 014 public String getFolder() { 015 return folder; 016 } 017 018 public abstract void start(String fileName, String contextId, String contextDesc, String baseLang, String targetLang) throws IOException; 019 public abstract void makeEntry(String id, String ref, String context, String source, String dest) throws IOException; 020 public abstract void finish() throws IOException; 021 022}