l10n converter

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

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

public final class FileMaker
extends java.lang.Object

Creates new files only if the file does not yet exist or overwriting is allowed


コンストラクタの概要
FileMaker()
           
 
メソッドの概要
static java.io.File newFile(java.lang.String fileName, boolean overwrite)
          Create a new file if overwriting is not alowed ask if existing files should be overwritten
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

FileMaker

public FileMaker()
メソッドの詳細

newFile

public static final java.io.File newFile(java.lang.String fileName,
                                         boolean overwrite)
                                  throws java.io.IOException
Create a new file if overwriting is not alowed ask if existing files should be overwritten

パラメータ:
fileName - the files name to overwrite
overwrite - indicates wether the file can be overwritten
戻り値:
the File created from the fileName
例外:
java.io.IOException

l10n converter

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