com.sun.star.tooling.converter
クラス GSIReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
java.io.LineNumberReader
com.sun.star.tooling.converter.DataReader
com.sun.star.tooling.converter.GSIReader
- すべての実装されたインタフェース:
- java.io.Closeable, java.lang.Readable
public class GSIReader
- extends DataReader
|
フィールドの概要 |
protected java.lang.String |
sourceLanguage
The source language identifier |
protected java.lang.String |
targetLanguage
The target language identifier |
| クラス java.io.Reader から継承されたフィールド |
lock |
|
コンストラクタの概要 |
GSIReader(java.io.File source,
java.lang.String sourceLanguage,
java.lang.String targetLanguage,
java.lang.String charset)
Create a new Instance of GSIReader |
|
メソッドの概要 |
java.util.Map |
getGSIData()
Read the next GSIBlock and return the data |
| クラス 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 |
sourceLanguage
protected java.lang.String sourceLanguage
- The source language identifier
targetLanguage
protected java.lang.String targetLanguage
- The target language identifier
GSIReader
public GSIReader(java.io.File source,
java.lang.String sourceLanguage,
java.lang.String targetLanguage,
java.lang.String charset)
throws java.io.IOException
- Create a new Instance of GSIReader
- パラメータ:
source - the file to read fromsourceLanguage - the sourceLanguage (must not be empty)targetLanguage - the targetLanguagecharset - the charset used to read source
- 例外:
java.io.IOException
java.lang.Exception
getGSIData
public java.util.Map getGSIData()
throws java.io.IOException
- Read the next GSIBlock and return the data
- 戻り値:
- A Map containing the data of the read GSIBlock the keys for the language depending data are the language id (numeric) the
single language are acessible with the keys "BlockNr", "resType", "languageNr", "status","content".
- 例外:
java.io.IOException
Copyright © 2004 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA