org.apache.myfaces.trinidadinternal.image.util
Class FileUtils

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.image.util.FileUtils

public class FileUtils
extends java.lang.Object

File utility methods

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/image/util/FileUtils.java#0 $) $Date: 10-nov-2005.19:04:48 $
Author:
The Oracle ADF Faces Team

Method Summary
static java.io.Reader getUTF8Reader(java.lang.String path)
          Returns a Reader for reading the UTF-8 encoded file at the specified path.
static java.io.Writer getUTF8Writer(java.lang.String path)
          Returns a Writer for writing UTF-8 encoded data to the file at the specified path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUTF8Reader

public static java.io.Reader getUTF8Reader(java.lang.String path)
                                    throws java.io.FileNotFoundException
Returns a Reader for reading the UTF-8 encoded file at the specified path.

Throws:
java.io.FileNotFoundException

getUTF8Writer

public static java.io.Writer getUTF8Writer(java.lang.String path)
                                    throws java.io.IOException
Returns a Writer for writing UTF-8 encoded data to the file at the specified path.

Throws:
java.io.IOException


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.