|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.plovr.io.Streams
public final class Streams
Method Summary | |
---|---|
static java.io.Writer |
createFileWriter(java.io.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 java.io.Writer |
createFileWriter(java.lang.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 java.io.Writer |
createL10nFileWriter(java.io.File outputFile)
Special method to produce a Writer that will write localized
files (i.e. |
static java.io.OutputStreamWriter |
createOutputStreamWriter(java.io.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 java.io.OutputStreamWriter createOutputStreamWriter(java.io.OutputStream ostream, Config config)
public static java.io.Writer createFileWriter(java.io.File outputFile, Config config) throws java.io.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
-
java.io.FileNotFoundException
public static java.io.Writer createFileWriter(java.lang.String outputFileName, Config config) throws java.io.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
-
java.io.FileNotFoundException
public static java.io.Writer createL10nFileWriter(java.io.File outputFile) throws java.io.FileNotFoundException
Writer
that will write localized
files (i.e. handles non-Latin characters).
java.io.FileNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |