TransformFormat
Index
Constructors
constructor
Returns default
Methods
staticaddFormat
Adds a formatter to the static Map by type:
format.type
.Parameters
format: any
An instance of an object conforming to the module / project transform format API.
Returns void
staticforEach
Invokes the callback for each stored formatter.
Parameters
callback: any
A callback function.
optionalthisArg: any
(Optional) this context.
Returns void
staticforEachExt
Provides a
forEach
variation that invokes the callback if the given extension matches that of a stored formatter.Parameters
extension: string
A format extension.
callback: any
A callback function.
optionalthisArg: any
(Optional) this context.
Returns void
staticforEachType
Provides a
forEach
variation that invokes the callback if the given type matches that of a stored formatter.Parameters
type: string
A format type.
callback: any
A callback function.
optionalthisArg: any
(Optional) this context.
Returns void
staticformat
staticgetFormats
Returns the supported format file extension types.
Parameters
optionalreportType: ReportType
(Optional) A ReportType to filter supported formats.
Returns string[]
staticisFormat
Returns whether a given formatter by name is available.
Parameters
name: string
The name of the formatter:
format.name
.
Returns boolean
staticisSupported
Returns whether a given formatter by name is supports a given report.
Parameters
name: string
The name of the formatter:
format.name
.reportType: ReportType
A ReportType to check for support.
Returns boolean
staticremoveFormat
Removes a formatter from the static Map by name.
Parameters
name: string
The name of the formatter:
format.name
.
Returns void
TransformFormat