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
| クラス 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. |
| クラス 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 fromsourceLanguage - the source language in the source filetargetLanguage - the target language in the source filecharset - 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
Copyright © 2004 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA