public interface MetaDataSerializer
| Modifier and Type | Field and Description |
|---|---|
static int |
APPEND |
static int |
COMPACT |
static int |
PRETTY |
static int |
VERBOSE |
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(java.io.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(java.util.Map output,
int flags)
Serialize the current set of objects to the files from which they were
parsed.
|
void |
serialize(java.io.Writer out,
int flags)
Serialize the current set of objects to the given stream.
|
static final int COMPACT
static final int PRETTY
static final int APPEND
static final int VERBOSE
void serialize(int flags)
throws java.io.IOException
flags - bit flags specifying the output flags; e.g. PRETTYjava.io.IOExceptionvoid serialize(java.util.Map output,
int flags)
throws java.io.IOException
SourceTracker interface.output - if null, then serialize directly to the file system;
otherwise, 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. PRETTYjava.io.IOExceptionvoid serialize(java.io.File file,
int flags)
throws java.io.IOException
void serialize(java.io.Writer out,
int flags)
throws java.io.IOException
flags - bit flags specifying the output flags; e.g. PRETTYjava.io.IOExceptionCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.