A TypeMapper component includes the following configurable properties:

Property

Description

folderTypeMapping

The Nucleus address of the TypeMapping that handles folder item descriptors. This property is required if any of the files to be loaded are content item types.

typeMappings

An array of the Nucleus address of each TypeMapping used by this TypeMapper component.

The ExtFilterTypeMapper class uses the extension of the file name to locate TypeMappings. It includes the following additional property:

extensions

An array of strings that correspond to the file extensions used by the TypeMapper. For example:

extensions=.xml,.html

The DirFilterTypeMapper class locates TypeMappings based on the immediate parent directories of the provided File objects. It includes the following additional property:

directories

An array of File objects that represent the directories handled by the TypeMapper.

 
loading table of contents...