public class ArtisynthIO
extends java.lang.Object
Constructor and Description |
---|
ArtisynthIO() |
Modifier and Type | Method and Description |
---|---|
static boolean |
load(Scannable obj,
java.io.File file,
java.lang.String name) |
static boolean |
loadOrCreate(Scannable obj,
java.io.File file,
java.lang.String name) |
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.
|
static boolean |
save(Scannable obj,
java.io.File file,
java.lang.String name) |
public static IndentingPrintWriter newIndentingPrintWriter(java.io.File file) throws java.io.IOException
file
- File on which to create the writerjava.io.IOException
public static IndentingPrintWriter newIndentingPrintWriter(java.lang.String fileName) throws java.io.IOException
fileName
- Name of the file on which to create the writerjava.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 tokenizerjava.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 tokenizerjava.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 tokenizerjava.io.IOException
public static boolean load(Scannable obj, java.io.File file, java.lang.String name)
public static boolean save(Scannable obj, java.io.File file, java.lang.String name)
public static boolean loadOrCreate(Scannable obj, java.io.File file, java.lang.String name)