l10n converter

com.sun.star.tooling.converter
クラス DataWriter

java.lang.Object
  上位を拡張 java.io.Writer
      上位を拡張 java.io.OutputStreamWriter
          上位を拡張 com.sun.star.tooling.converter.DataWriter
すべての実装されたインタフェース:
java.io.Closeable, java.io.Flushable, java.lang.Appendable
直系の既知のサブクラス:
GSIWriter, SDFWriter, XLIFFWriter

public abstract class DataWriter
extends java.io.OutputStreamWriter

The abstract parent class of all converter writer classes


フィールドの概要
protected  java.lang.String lineEnd
          the char sequence used as line seperator
protected  java.lang.String seperator
           
 
クラス java.io.Writer から継承されたフィールド
lock
 
コンストラクタの概要
DataWriter(java.io.BufferedOutputStream bos, java.lang.String encoding)
           
 
メソッドの概要
protected abstract  void getDatafrom(DataHandler handler)
           
protected abstract  void getDataFrom(DataHandler handler)
          get the data that should be written from the DataHandler
protected abstract  void writeData()
          write the Data
 
クラス java.io.OutputStreamWriter から継承されたメソッド
close, flush, getEncoding, write, write, write
 
クラス java.io.Writer から継承されたメソッド
append, append, append, write, write
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

lineEnd

protected final java.lang.String lineEnd
the char sequence used as line seperator


seperator

protected final java.lang.String seperator
コンストラクタの詳細

DataWriter

public DataWriter(java.io.BufferedOutputStream bos,
                  java.lang.String encoding)
           throws java.io.UnsupportedEncodingException
パラメータ:
bos - the buffered output stream holding the data
encoding - the encoding to use for read from bos
例外:
java.io.UnsupportedEncodingException
メソッドの詳細

getDatafrom

protected abstract void getDatafrom(DataHandler handler)
                             throws java.io.IOException
パラメータ:
handler -
例外:
java.io.IOException

getDataFrom

protected abstract void getDataFrom(DataHandler handler)
                             throws java.io.IOException
get the data that should be written from the DataHandler

パラメータ:
handler - the DataHandler having the data
例外:
java.io.IOException

writeData

protected abstract void writeData()
                           throws java.io.IOException
write the Data

例外:
java.io.IOException

l10n converter

Copyright © 2004 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA