public final class ContentManager extends Object
Modifier and Type | Method and Description |
---|---|
static void |
clear()
Update the patterns based on the current generators.
|
static ServiceRegistry |
getDefaultRegistry()
Returns the default service registry (mapped to "services.xml").
|
static List<File> |
getServiceFiles() |
static void |
load()
Loads the content access file from all services files.
|
static void |
load(File xml)
Loads the content access file.
|
static void |
loadIfRequired()
Update the patterns based on the current generators.
|
public static ServiceRegistry getDefaultRegistry()
public static void loadIfRequired() throws BerliozException
BerliozException
- Should something unexpected happen.public static void load() throws BerliozException
BerliozException
- Should something unexpected happen.public static void load(File xml) throws BerliozException
xml
- The XML file to load.BerliozException
- Should something unexpected happen.public static void clear()
Copyright © 2016 Allette Systems. All rights reserved.