l10n converter

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

java.lang.Object
  上位を拡張 java.io.Reader
      上位を拡張 java.io.BufferedReader
          上位を拡張 java.io.LineNumberReader
              上位を拡張 com.sun.star.tooling.converter.DataReader
                  上位を拡張 com.sun.star.tooling.converter.SDFReader
                      上位を拡張 com.sun.star.tooling.converter.GSIandSDFMerger
すべての実装されたインタフェース:
java.io.Closeable, java.lang.Readable

public class GSIandSDFMerger
extends SDFReader

Merge GSIFiles back to to the original (!) SDFFile


フィールドの概要
 
クラス com.sun.star.tooling.converter.SDFReader から継承されたフィールド
sourceLanguage, targetLanguage
 
クラス java.io.Reader から継承されたフィールド
lock
 
コンストラクタの概要
GSIandSDFMerger(java.io.File source, java.io.File secondSource, java.lang.String sourceLanguage, java.lang.String targetLanguage, java.lang.String charset)
          Merge the GSIFile back to the original(!)
 
メソッドの概要
 java.util.Map getData()
          The next block of the SDF file is reviewed and the Line including the source language and the Line including the target Language are given back in an array
 java.util.Map matchGSI()
          Read each block of the GSIFile and check whether there is a matching block in the SDFFile.
 
クラス com.sun.star.tooling.converter.SDFReader から継承されたメソッド
readBlock
 
クラス java.io.LineNumberReader から継承されたメソッド
getLineNumber, mark, read, read, readLine, reset, setLineNumber, skip
 
クラス java.io.BufferedReader から継承されたメソッド
close, markSupported, ready
 
クラス java.io.Reader から継承されたメソッド
read, read
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

GSIandSDFMerger

public GSIandSDFMerger(java.io.File source,
                       java.io.File secondSource,
                       java.lang.String sourceLanguage,
                       java.lang.String targetLanguage,
                       java.lang.String charset)
                throws java.io.IOException
Merge the GSIFile back to the original(!) SDFFile

パラメータ:
source - the file to read from
sourceLanguage - the source language in the source file
targetLanguage - the target language in the source file
charset - the charset of the files
例外:
java.io.IOException
java.lang.Exception
メソッドの詳細

getData

public java.util.Map getData()
                      throws java.io.IOException
クラス DataReader の記述:
The next block of the SDF file is reviewed and the Line including the source language and the Line including the target Language are given back in an array

オーバーライド:
クラス SDFReader 内の getData
戻り値:
A Map including the source language and the target Language content are given back
例外:
java.io.IOException

matchGSI

public java.util.Map matchGSI()
                       throws java.io.IOException
Read each block of the GSIFile and check whether there is a matching block in the SDFFile. Match depends on the BlockNr and BlockId.

戻り値:
A Map that contains the source language content and the target language content.
例外:
java.io.IOException
ConverterException

l10n converter

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