l10n converter

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

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

public final class Converter
extends java.lang.Object

This class handles the creating of the source to read from, the target to write to and the appropriate DataHandler


コンストラクタの概要
Converter(java.lang.String sourceType, java.lang.String sourceString, java.lang.String SourceLanguage, java.lang.String targetType, java.lang.String targetString, java.lang.String TargetLanguage, java.lang.String secondSourceString, boolean overwrite)
          Creates a new instance of Converter
 
メソッドの概要
 void convert()
          Do the converting from the source file format to the target file format
static int getLineCounter()
          Get the line counter
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Converter

public Converter(java.lang.String sourceType,
                 java.lang.String sourceString,
                 java.lang.String SourceLanguage,
                 java.lang.String targetType,
                 java.lang.String targetString,
                 java.lang.String TargetLanguage,
                 java.lang.String secondSourceString,
                 boolean overwrite)
          throws java.io.IOException,
                 java.lang.Exception
Creates a new instance of Converter

パラメータ:
sourceType - the type of the sourceFile
sourceString - the name of the sourceFile
SourceLanguage - the ISO Id of the sourceLanguage
targetType - the type of the targetFile
targetString - the name of the targetFile
TargetLanguage - the ISO Id of the targetLanguage
secondSourceString - the name of the second sourceFile (GSI merge only)
overwrite - indicates whether overwrite existing files
例外:
java.io.IOException
java.lang.Exception
メソッドの詳細

convert

public final void convert()
                   throws java.io.IOException
Do the converting from the source file format to the target file format

例外:
java.io.IOException

getLineCounter

public static int getLineCounter()
Get the line counter

戻り値:
Returns the lineCounter.

l10n converter

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