org.eclipse.internal.xpand2.pr.util
Class FSIO

java.lang.Object
  extended by org.eclipse.internal.xpand2.pr.util.FSIO

public class FSIO
extends java.lang.Object


Constructor Summary
FSIO()
           
 
Method Summary
static java.io.File[] getAllFiles(java.io.File aPath, java.io.FilenameFilter aFilter)
           
static java.io.File[] getAllFiles(java.lang.String aBasePath, java.io.FilenameFilter aFilter)
           
static java.lang.String normalizePath(java.lang.String aFileName)
           
static java.lang.String readSingleFile(java.io.File aFile, java.lang.String fileEncoding)
           
static java.lang.String readSingleFile(java.io.Reader aReader)
           
static java.lang.String readSingleFile(java.lang.String aFilePath)
           
static void writeSingleFile(java.io.Writer aWriter, java.lang.CharSequence text)
           
static void writeSingleFile(java.io.Writer aWriter, java.io.Reader aReader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FSIO

public FSIO()
Method Detail

readSingleFile

public static java.lang.String readSingleFile(java.lang.String aFilePath)
                                       throws java.io.IOException
Throws:
java.io.IOException

readSingleFile

public static java.lang.String readSingleFile(java.io.File aFile,
                                              java.lang.String fileEncoding)
                                       throws java.io.IOException
Throws:
java.io.IOException

readSingleFile

public static java.lang.String readSingleFile(java.io.Reader aReader)
                                       throws java.io.IOException
Parameters:
aReader -
Returns:
Throws:
java.io.IOException
Since:
4.2

writeSingleFile

public static void writeSingleFile(java.io.Writer aWriter,
                                   java.lang.CharSequence text)
                            throws java.io.IOException
Parameters:
aWriter -
text -
Throws:
java.io.IOException
Since:
4.2

writeSingleFile

public static void writeSingleFile(java.io.Writer aWriter,
                                   java.io.Reader aReader)
                            throws java.io.IOException
Parameters:
aWriter -
Throws:
java.io.IOException
Since:
4.2

getAllFiles

public static java.io.File[] getAllFiles(java.io.File aPath,
                                         java.io.FilenameFilter aFilter)
                                  throws java.io.IOException
Throws:
java.io.IOException

getAllFiles

public static java.io.File[] getAllFiles(java.lang.String aBasePath,
                                         java.io.FilenameFilter aFilter)
                                  throws java.io.IOException
Throws:
java.io.IOException

normalizePath

public static java.lang.String normalizePath(java.lang.String aFileName)