|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetaDataSerializer
Interface for meta data serializers.
Field Summary | |
---|---|
static int |
APPEND
|
static int |
COMPACT
|
static int |
PRETTY
|
static int |
VERBOSE
|
Method Summary | |
---|---|
void |
serialize(File file,
int flags)
Serialize the current set of objects to the given file. |
void |
serialize(int flags)
Serialize the current set of objects to the files from which they were parsed. |
void |
serialize(Map output,
int flags)
Serialize the current set of objects to the files from which they were parsed. |
void |
serialize(Writer out,
int flags)
Serialize the current set of objects to the given stream. |
Field Detail |
---|
static final int COMPACT
static final int PRETTY
static final int APPEND
static final int VERBOSE
Method Detail |
---|
void serialize(int flags) throws IOException
flags
- bit flags specifying the output flags; e.g. PRETTY
IOException
void serialize(Map output, int flags) throws IOException
SourceTracker
interface.
output
- if null, then serialize directly to the file system;
othwerwise, populate the specified Map
with
keys that are the File
instances, and
values that are the String
contents of the metadataflags
- bit flags specifying the output flags; e.g. PRETTY
IOException
void serialize(File file, int flags) throws IOException
flags
- bit flags specifying the output flags; e.g.
PRETTY
| APPEND
IOException
void serialize(Writer out, int flags) throws IOException
flags
- bit flags specifying the output flags; e.g. PRETTY
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |