Import a Java class

In order to use a Java class in your program code, you must first import the class with the IMPORT JAVA instruction:
IMPORT JAVA java.util.regex.Pattern

This will import the specified Java class into the current program module. Object references can now be defined for this class.