public class MetaDataFactory extends Object implements com.tridion.configuration.Configurable
MetaData
.Modifier and Type | Method and Description |
---|---|
void |
configure(com.tridion.configuration.Configuration config)
Configures the
MetaDataFactory . |
com.tridion.transport.transportpackage.MetaDataFile |
createMetaDataFile(BinaryStorageBase binaryStorage,
String type,
File file)
Creates a
MetaDataFile from the contents of the passed File based on the passed type. |
static MetaDataFactory |
getInstance()
Standard singleton method to return an instance.
|
public static MetaDataFactory getInstance()
public void configure(com.tridion.configuration.Configuration config) throws com.tridion.configuration.ConfigurationException
MetaDataFactory
. Not currently implemented.configure
in interface com.tridion.configuration.Configurable
config
- Configuration
for the MetaDataFactory
.com.tridion.configuration.ConfigurationException
- If something goes wrong configuring the MetaDataFactory
.public com.tridion.transport.transportpackage.MetaDataFile createMetaDataFile(BinaryStorageBase binaryStorage, String type, File file)
MetaDataFile
from the contents of the passed File
based on the passed type.binaryStorage
- Storage implementation.type
- The type of the meta data.file
- File containing the meta data.MetaDataFile
.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries