Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
RealityV15.1Online Documentation (MoTW) Revision 7
%Import Special Method (databasic_sp_method_import.htm)
This method is used with a connection object to import a Java package name space or a Java class name.
%Import(PackageName)
%Import(ClassName)
PackageName | The name of a package to import all classes from. |
ClassName | The name of a class to be imported. |
%Import(java.io)
Import all classes in the java.io package. This equivalent to the Java syntax:
import java.io.*;
The ".*" is optional, but if used the package must be enclosed in quotes - e.g. %Import("java.io.*")
SecondCon->%Import(java.io.File)
Import the java.io.File class to SecondCon.