Module libldt
Package libldt3

Class LdtWriter

java.lang.Object
libldt3.LdtWriter

public class LdtWriter extends Object
Simple, reflection and annotation based writer for LDT 3.0.
Author:
Christoph Brill <opensource@christophbrill.de>
  • Constructor Details

  • Method Details

    • write

      public void write(List<Satz> data, String path) throws IOException
      Write a given set of Satz elements to a given path
      Parameters:
      data - the Satz elements to write
      path - the path to write to
      Throws:
      IOException - if writing the Satz elements failed
    • write

      public void write(List<Satz> data, Path path) throws IOException
      Write a given set of Satz elements to a given path
      Parameters:
      data - the Satz elements to write
      path - the path to write to
      Throws:
      IOException - if writing the Satz elements failed
    • write

      public void write(List<Satz> data, PrintWriter writer) throws IOException
      Write a given set of Satz elements to a given writer
      Parameters:
      data - the Satz elements to write
      writer - the writer to write to
      Throws:
      IOException - if writing the Satz elements failed