/** Una línea "canal;destinatario;texto" se vuelve el aviso que corresponde. */
public class NotificationImporter extends LineImporter<Notification> {
    @Override
    protected int fieldCount() {
        return 3;
    }

    @Override
    protected Notification create(String[] fields) {
        return Notification.of(fields[0].strip(), fields[1].strip(), fields[2].strip());
    }
}
