org.eclipse.internal.xpand2.pr.util
Class FSIO
java.lang.Object
org.eclipse.internal.xpand2.pr.util.FSIO
public class FSIO
- extends Object
|
Constructor Summary |
FSIO()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FSIO
public FSIO()
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.