l10n converter

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

java.lang.Object
  上位を拡張 com.sun.star.tooling.converter.DataHandler

public class DataHandler
extends java.lang.Object

Handle the Data to get it from the Source readable to the Target


コンストラクタの概要
DataHandler()
          Creates a new instance of DataHandler
 
メソッドの概要
 boolean fillDataFrom(DataReader source)
          fill the data from the desired source
 void fillDataWith(java.util.Map inData)
          fill this data with the inData
 void putDataTo(java.util.Map output)
          The designated output is filled with the content of this handler
 void putDataTo(java.util.Map[] output)
          The designated output is filled with the content of this handler
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DataHandler

public DataHandler()
Creates a new instance of DataHandler

メソッドの詳細

fillDataFrom

public boolean fillDataFrom(DataReader source)
                     throws java.io.IOException,
                            ConverterException
fill the data from the desired source

パラメータ:
source - where to get the data from
戻り値:
true if data is read and false if null is read
例外:
IOException
ConverterException

fillDataWith

public void fillDataWith(java.util.Map inData)
fill this data with the inData

パラメータ:
inData - the data to handle by this handler

putDataTo

public void putDataTo(java.util.Map output)
               throws java.io.IOException
The designated output is filled with the content of this handler

パラメータ:
output - a Map that should hold the source language data and the target language data
例外:
java.io.IOException

putDataTo

public void putDataTo(java.util.Map[] output)
               throws java.io.IOException
The designated output is filled with the content of this handler

パラメータ:
output - an array of Maps [0] should hold the source language data [1] the target language data
例外:
java.io.IOException

l10n converter

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