net.sf.locale4j.format
Class Tmx20

java.lang.Object
  extended by net.sf.locale4j.format.Tmx20
All Implemented Interfaces:
LocaleReader, LocaleWriter

public class Tmx20
extends Object
implements LocaleReader, LocaleWriter

Translation Memory eXchange Format.


Constructor Summary
Tmx20()
           
 
Method Summary
 LocaleStore read(InputStream input)
          Reads a stream and loads the contents into a LocaleStore.
 LocaleStore read(InputStream input, LocaleStore store)
          Reads a stream and adds the contents to the given LocaleStore.
 void write(OutputStream output, LocaleStore store)
          Writes data to a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tmx20

public Tmx20()
Method Detail

read

public final LocaleStore read(InputStream input)
Reads a stream and loads the contents into a LocaleStore.

Specified by:
read in interface LocaleReader
Parameters:
input - the stream to read from.
Returns:
the data read by this method.

read

public final LocaleStore read(InputStream input,
                              LocaleStore store)
Reads a stream and adds the contents to the given LocaleStore.

Specified by:
read in interface LocaleReader
Parameters:
input - the stream to read from.
store - the LocaleStore to add to.
Returns:
the data read by this method.

write

public void write(OutputStream output,
                  LocaleStore store)
Writes data to a file.

Specified by:
write in interface LocaleWriter
Parameters:
output - the stream to write to.
store - the data to write to the file.


Copyright © 2007-2008 Vermont Department of Taxes. All Rights Reserved.