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(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.
|
static final int COMPACT
static final int PRETTY
static final int APPEND
static final int VERBOSE
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;
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. 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
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.