Service Functions

iWay Service Manager provides programmers with several service functions to simplify programming. These are static in the XD object and the xdutils package. All are documented in Javadoc.

Name

Description

XD.entityExpand

Given a string with XML parsible entities, such as &, replaces the entities with the actual character.

XD.entityReplace

Replaces characters in a string with their XML entity representation.

XD.normalizePath

Given a file path, converts the backslashes to Java standards, and ends the path with a slash.

XDServices String operations

Normalizing partial text strings, converts numbers with abbreviations such as 4kb to integers.

XDServices file operations

Writes and copies files.

XDServices regular expressions

Converts between DOS wildcard expressions and standard regular expressions.

Note: There are also a variety of methods for constructing date strings as used by the internal components. These are explained in the Javadoc for the XD and XDTime objects.