iWay Service Manager provides programmers with several service functions to simplify programming. These are static in the XD object.
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.hexIt |
Converts a byte[] to hex representation. |
XD.unHexIt |
Converts a byte[] in hex representation to a byte[] in the represented characters. |
XD.normalizePath |
Given a file path, converts the backslashes to Java standards, and ends the path with a slash. |
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.
iWay Software |