|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartisynth.core.util.ArtisynthIO
public class ArtisynthIO
Utility routines for creating writers and tokenizers for I/O operations.
Constructor Summary | |
---|---|
ArtisynthIO()
|
Method Summary | |
---|---|
static IndentingPrintWriter |
newIndentingPrintWriter(java.io.File file)
Creates a buffered IndentingPrintWriter for a particular file. |
static IndentingPrintWriter |
newIndentingPrintWriter(java.lang.String fileName)
Creates a buffered IndentingPrintWriter for a particular file. |
static ReaderTokenizer |
newReaderTokenizer(java.io.File file)
Creates a ReaderTokenizer for a specified input file. |
static ReaderTokenizer |
newReaderTokenizer(java.io.Reader reader)
Creates a ReaderTokenizer for a specified Reader. |
static ReaderTokenizer |
newReaderTokenizer(java.lang.String fileName)
Creates a ReaderTokenizer for a specified input file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArtisynthIO()
Method Detail |
---|
public static IndentingPrintWriter newIndentingPrintWriter(java.io.File file) throws java.io.IOException
file
- File on which to create the writer
java.io.IOException
public static IndentingPrintWriter newIndentingPrintWriter(java.lang.String fileName) throws java.io.IOException
fileName
- Name of the file on which to create the writer
java.io.IOException
public static ReaderTokenizer newReaderTokenizer(java.io.File file) throws java.io.IOException
.
, /
, and $
as
word characters, and the underlying Reader is buffered.
file
- File on which to create the tokenizer
java.io.IOException
public static ReaderTokenizer newReaderTokenizer(java.lang.String fileName) throws java.io.IOException
.
, /
, and $
as
word characters, and the underlying Reader is buffered.
fileName
- Name of the file on which to create the tokenizer
java.io.IOException
public static ReaderTokenizer newReaderTokenizer(java.io.Reader reader) throws java.io.IOException
.
, /
, and $
as word
characters.
reader
- Reader on which to attach the tokenizer
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |