public class NativeAPIEmulation
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
NativeAPIEmulation.windows
Declares windows API symbols and supported libraries.
|
Modifier and Type | Field and Description |
---|---|
private static java.util.logging.Logger |
LOG
Logger.
|
Constructor and Description |
---|
NativeAPIEmulation() |
Modifier and Type | Method and Description |
---|---|
static boolean |
emulates(java.lang.String os,
java.lang.String lib,
java.lang.String func)
The method returns
true if the supplied os name, library and function are supported by the
class. |
private static java.lang.String |
removeStringLiteralOptions(java.lang.String text)
Removes all options from the supplied 4GL string literal.
|
public static boolean emulates(java.lang.String os, java.lang.String lib, java.lang.String func)
true
if the supplied os name, library and function are supported by the
class. In other words the class must declare function func
in the declared classes
os.lib
.os
- The target operating system name.lib
- The target library name. May contain the file name extension.func
- The target function name.true
if the target function is supported, false
otherwise.private static java.lang.String removeStringLiteralOptions(java.lang.String text)
text
- 4GL string literal.