eu.clarin.weblicht.wlfxb.io
Class WLDObjector

java.lang.Object
  extended by eu.clarin.weblicht.wlfxb.io.WLDObjector

public class WLDObjector
extends Object

Class WLDObjector helps to read/write WLData from/to TCF stream.

Author:
Yana Panchenko

Constructor Summary
WLDObjector()
           
 
Method Summary
static WLData read(File file)
           
static WLData read(InputStream inputStream)
           
static WLData read(Reader reader)
           
static void write(MetaData md, TextCorpus tc, File file, boolean outputAsXmlFragment)
           
static void write(MetaData md, TextCorpus tc, OutputStream outputStream, boolean outputAsXmlFragment)
           
static void write(WLData wlData, File file)
           
static void write(WLData wlData, File file, boolean outputAsXmlFragment)
           
static void write(WLData wlData, OutputStream outputStream)
           
static void write(WLData wlData, OutputStream outputStream, boolean outputAsXmlFragment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WLDObjector

public WLDObjector()
Method Detail

read

public static WLData read(InputStream inputStream)
                   throws WLFormatException
Throws:
WLFormatException

read

public static WLData read(Reader reader)
                   throws WLFormatException
Throws:
WLFormatException

read

public static WLData read(File file)
                   throws WLFormatException
Throws:
WLFormatException

write

public static void write(WLData wlData,
                         OutputStream outputStream)
                  throws WLFormatException
Throws:
WLFormatException

write

public static void write(WLData wlData,
                         File file)
                  throws WLFormatException
Throws:
WLFormatException

write

public static void write(WLData wlData,
                         OutputStream outputStream,
                         boolean outputAsXmlFragment)
                  throws WLFormatException
Throws:
WLFormatException

write

public static void write(WLData wlData,
                         File file,
                         boolean outputAsXmlFragment)
                  throws WLFormatException
Throws:
WLFormatException

write

public static void write(MetaData md,
                         TextCorpus tc,
                         File file,
                         boolean outputAsXmlFragment)
                  throws WLFormatException
Throws:
WLFormatException

write

public static void write(MetaData md,
                         TextCorpus tc,
                         OutputStream outputStream,
                         boolean outputAsXmlFragment)
                  throws WLFormatException
Throws:
WLFormatException


Copyright © 2013 Department of Linguistics, Tübingen University. All Rights Reserved.