de.viaboxx.nlstools.util
Class FileUtils

java.lang.Object
  extended by de.viaboxx.nlstools.util.FileUtils

public final class FileUtils
extends Object

Description: Provides methods to read / write files.

Copyright (c) 2007

Company: Viaboxx GmbH

Author:
Roman Stumm

Constructor Summary
FileUtils()
           
 
Method Summary
static Reader openFileReader(File file, String encoding)
           
static Reader openFileReaderUTF8(File file)
           
static Writer openFileWriter(File file, String encoding)
           
static Writer openFileWriterUTF8(File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtils

public FileUtils()
Method Detail

openFileWriterUTF8

public static Writer openFileWriterUTF8(File file)
                                 throws FileNotFoundException
Throws:
FileNotFoundException

openFileWriter

public static Writer openFileWriter(File file,
                                    String encoding)
                             throws FileNotFoundException
Throws:
FileNotFoundException

openFileReaderUTF8

public static Reader openFileReaderUTF8(File file)
                                 throws FileNotFoundException
Throws:
FileNotFoundException

openFileReader

public static Reader openFileReader(File file,
                                    String encoding)
                             throws FileNotFoundException
Throws:
FileNotFoundException


Copyright © 2011. All Rights Reserved.