public class RegistrySerializer
extends org.nuxeo.connect.update.xml.XmlWriter
Constructor and Description |
---|
RegistrySerializer() |
Modifier and Type | Method and Description |
---|---|
static Map<String,Entry> |
load(File file)
De-serializes the given file into a Nuxeo packages registry
|
static void |
store(Map<String,Entry> registry,
File file)
Serializes the given registry into the given file.
|
public static void store(Map<String,Entry> registry, File file) throws IOException
registry
- file
- IOException
public static Map<String,Entry> load(File file) throws org.nuxeo.connect.update.PackageException, FileNotFoundException
file
- org.nuxeo.connect.update.PackageException
FileNotFoundException
Copyright © 2013 Nuxeo SA. All Rights Reserved.