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

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

public class FSIO
extends Object


Constructor Summary
FSIO()
           
 
Method Summary
static File[] getAllFiles(File aPath, FilenameFilter aFilter)
           
static File[] getAllFiles(String aBasePath, FilenameFilter aFilter)
           
static String normalizePath(String aFileName)
           
static String readSingleFile(File aFile, String fileEncoding)
           
static String readSingleFile(Reader aReader)
           
static String readSingleFile(String aFilePath)
           
static void writeSingleFile(Writer aWriter, CharSequence text)
           
static void writeSingleFile(Writer aWriter, 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 String readSingleFile(String aFilePath)
                             throws IOException
Throws:
IOException

readSingleFile

public static String readSingleFile(File aFile,
                                    String fileEncoding)
                             throws IOException
Throws:
IOException

readSingleFile

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

writeSingleFile

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

writeSingleFile

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

getAllFiles

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

getAllFiles

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

normalizePath

public static String normalizePath(String aFileName)


Copyright © 2015. All rights reserved.