|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.plovr.io.Streams
public final class Streams
Method Summary | |
---|---|
static Writer |
createFileWriter(File outputFile,
Config config)
As suggested by the FileWriter Javadoc, because we want to specify
the character encoding, use this method to create a Writer for a
File instead of creating a new FileWriter . |
static Writer |
createFileWriter(String outputFileName,
Config config)
As suggested by the FileWriter Javadoc, because we want to specify
the character encoding, use this method to create a Writer for a
File instead of creating a new FileWriter . |
static Writer |
createL10nFileWriter(File outputFile)
Special method to produce a Writer that will write localized
files (i.e. |
static OutputStreamWriter |
createOutputStreamWriter(OutputStream ostream,
Config config)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static OutputStreamWriter createOutputStreamWriter(OutputStream ostream, Config config)
public static Writer createFileWriter(File outputFile, Config config) throws FileNotFoundException
FileWriter
Javadoc, because we want to specify
the character encoding, use this method to create a Writer
for a
File
instead of creating a new FileWriter
.
outputFile
-
FileNotFoundException
public static Writer createFileWriter(String outputFileName, Config config) throws FileNotFoundException
FileWriter
Javadoc, because we want to specify
the character encoding, use this method to create a Writer
for a
File
instead of creating a new FileWriter
.
outputFileName
-
FileNotFoundException
public static Writer createL10nFileWriter(File outputFile) throws FileNotFoundException
Writer
that will write localized
files (i.e. handles non-Latin characters).
FileNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |