CREATED, CREATED_BY, FORMAT_VERSION_1, FORMAT_VERSION_2, PACKAGE_FORMAT_VERSION| Constructor and Description |
|---|
DefaultMetaInf() |
| Modifier and Type | Method and Description |
|---|---|
VaultFsConfig |
getConfig()
Returns the vault config
|
WorkspaceFilter |
getFilter()
Returns the workspace filter.
|
Collection<NodeTypeSet> |
getNodeTypes()
Returns the node types
|
int |
getPackageFormatVersion()
Returns the package format version of this package.
|
PrivilegeDefinitions |
getPrivileges()
Returns custom privileges defined in the meta inf.
|
Properties |
getProperties()
Returns the properties
|
VaultSettings |
getSettings()
Returns the vault settings.
|
boolean |
hasDefinition()
Checks if the meta-inf contains a serialized definition.
|
boolean |
load(InputStream in,
String systemId)
Loads a setting based on the name of the system id.
|
void |
loadConfig(InputStream in,
String systemId) |
void |
loadFilter(InputStream in,
String systemId) |
void |
loadPrivileges(InputStream in,
String systemId) |
void |
loadProperties(InputStream in,
String systemId) |
void |
loadSettings(InputStream in,
String systemId) |
void |
save(File metaDir) |
void |
setCNDs(Collection<NodeTypeSet> cnds) |
void |
setConfig(VaultFsConfig config) |
void |
setFilter(WorkspaceFilter filter) |
void |
setHasDefinition(boolean hasDefinition) |
void |
setProperties(Properties properties) |
void |
setSettings(VaultSettings settings) |
public int getPackageFormatVersion()
MetaInf.FORMAT_VERSION_2 is returned, since this
feature was implemented recently.getPackageFormatVersion in interface MetaInfpublic boolean load(InputStream in, String systemId) throws IOException, ConfigurationException
systemId - the system id of the setting to loadin - the input streamtrue if the setting was loaded.IOException - if an I/O error occurrsConfigurationException - if a configuration error occurrspublic void loadFilter(InputStream in, String systemId) throws ConfigurationException, IOException
ConfigurationExceptionIOExceptionpublic void loadConfig(InputStream in, String systemId) throws ConfigurationException, IOException
ConfigurationExceptionIOExceptionpublic void loadSettings(InputStream in, String systemId) throws ConfigurationException, IOException
ConfigurationExceptionIOExceptionpublic void loadProperties(InputStream in, String systemId) throws IOException
IOExceptionpublic void loadPrivileges(InputStream in, String systemId) throws IOException
IOExceptionpublic void save(File metaDir) throws IOException
IOExceptionpublic VaultSettings getSettings()
getSettings in interface MetaInfpublic void setSettings(VaultSettings settings)
public WorkspaceFilter getFilter()
public void setFilter(WorkspaceFilter filter)
public VaultFsConfig getConfig()
public void setConfig(VaultFsConfig config)
public Properties getProperties()
getProperties in interface MetaInfpublic void setProperties(Properties properties)
public Collection<NodeTypeSet> getNodeTypes()
getNodeTypes in interface MetaInfpublic PrivilegeDefinitions getPrivileges()
getPrivileges in interface MetaInfpublic void setCNDs(Collection<NodeTypeSet> cnds)
public boolean hasDefinition()
hasDefinition in interface MetaInftrue if it contains a serialized definition.public void setHasDefinition(boolean hasDefinition)
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"