All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dhatim.smooks.edi.unedifact.model.UNEdifactInterchange Maven / Gradle / Ivy

There is a newer version: 1.7.5
Show newest version
/*
 * Milyn - Copyright (C) 2006 - 2010
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License (version 2.1) as published by the Free Software
 * Foundation.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 * See the GNU Lesser General Public License for more details:
 * http://www.gnu.org/licenses/lgpl.txt
 */

package org.dhatim.smooks.edi.unedifact.model;

import org.dhatim.edisax.model.internal.Delimiters;

import java.io.IOException;
import java.io.Serializable;
import java.io.Writer;

/**
 * UN/EDIFACT message interchange.
 *
 * @author [email protected]
 */
public interface UNEdifactInterchange extends Serializable {

    /**
     * Write the interchange to the specified writer.
     * 

* Uses the default UN/EDIFACT delimiter set. * * @param writer The target writer. * @throws IOException Error writing interchange. */ void write(Writer writer) throws IOException; /** * Write the interchange to the specified writer. * @param writer The target writer. * @param delimiters The delimiters. * @throws IOException Error writing interchange. */ void write(Writer writer, Delimiters delimiters) throws IOException; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy