package provides utility classes to delegate frequently occurring low-level tasks like string operations, file operations, and so on. High-level classes call the low-level classes for a broad range functionality such as advanced string operations, XML operations, JSON operations, caching, and IO operations like resolving file paths. This package also includes low-level classes like RuntimeFactory
, and Context
,which allow high-level classes to execute their business tasks in a platform and environment agnostic manner.
Developers using or enhancing the SDK should use these classes wherever applicable to avoid mistakes and pitfalls.
Commonly used classes include:
- String utility classes: Stringutil
- IO utility classes: ByteStreamCache, ReaderInputStream, ByteStreamCache, Base64, FileUtil
- XML utility classes: DomUtil, XPathExpression, XResult, Utils
- JSON utility classes: JsonParser, JsonJavaObject, JsonJavaFactory, JsonException
Packages where you can find these classes are com.ibm.commons
, and com.ibm.commons.xml
Parent topic: Working in Java