public class JCOReflector
extends java.lang.Object
JCOReflector features| Constructor and Description |
|---|
JCOReflector() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String[] |
getCommandLineArgs()
Get command-line arguments
|
static boolean |
getConsoleLog()
Get console log
|
static boolean |
getDebug()
Get Debug state
|
static boolean |
getFallbackOnNativeParse()
Return the FallbackOnNativeParse value
|
static boolean |
getInitialized()
Return if
JCOReflector is initialized |
static boolean |
getInstanceByAssembly()
Get InstanceByAssembly state
|
static java.lang.String |
getLogFilename()
Get Logging filename
|
static boolean |
getLogging()
Get Logging state
|
static java.lang.String |
getScopedOn()
Return the ScopedOn value
|
static java.lang.String |
getScopedOnVersion()
Return the ScopedOnVersion value
|
static boolean |
getUseFullAssemblyName()
Get UseFullAssemblyName state
|
static void |
init(java.lang.String[] args)
Initialize
JCOReflector runtime |
static boolean |
initRT(java.lang.String pathToUse)
Invoke this method to initialize JCOBridge runtime to a user defined folder
|
static boolean |
initTempRT()
Invoke this method to initialize JCOBridge runtime to a temporary folder
|
static void |
registerPath(java.lang.String path)
Register search path within the engine
|
static void |
setCommandLineArgs(java.lang.String[] args)
Set command-line arguments
|
static void |
setConsoleLog(boolean isConsoleLog)
Set console log
|
static void |
setDebug(boolean isDebug)
Set Debug state
|
static void |
setFallbackOnNativeParse(boolean fallbackOnNativeParse)
Set the FallbackOnNativeParse value
|
static void |
setInstanceByAssembly(boolean isMultiInstance)
Set
JCOBridge instance by assembly state |
static void |
setLogFilename(java.lang.String loggingFilename)
Set Logging filename
|
static void |
setLogging(boolean isLogging)
Set Logging state
|
static void |
setScopedOn(java.lang.String scopedOn)
Set the ScopedOn value
|
static void |
setScopedOnVersion(java.lang.String scopedOnVersion)
Set the ScopedOnVersion value
|
static void |
setUseFullAssemblyName(boolean useFullname)
Set UseFullAssemblyName state
|
static void |
writeLog(java.lang.String msg)
Write a string to JCOReflector log
|
static void |
writeLog(java.lang.String format,
java.lang.Object... args)
Write a log to JCOReflector log
|
static void |
writeLog(java.lang.Throwable t)
Write exception to JCOReflector log
|
public static java.lang.String[] getCommandLineArgs()
public static boolean getConsoleLog()
public static boolean getDebug()
public static boolean getFallbackOnNativeParse()
public static boolean getInitialized()
JCOReflector is initializedJCOReflector is initializedpublic static boolean getInstanceByAssembly()
JCOBridge statepublic static java.lang.String getLogFilename()
public static boolean getLogging()
public static java.lang.String getScopedOn()
public static java.lang.String getScopedOnVersion()
public static boolean getUseFullAssemblyName()
public static void init(java.lang.String[] args)
JCOReflector runtimeargs - command-line argumentspublic static boolean initRT(java.lang.String pathToUse)
pathToUse - The user defined path used for JCOBridge runtimepublic static boolean initTempRT()
public static void registerPath(java.lang.String path)
It can be applied only before any operation
path - the path to registerpublic static void setCommandLineArgs(java.lang.String[] args)
It can be applied only before any operation
args - the command-line argumentspublic static void setConsoleLog(boolean isConsoleLog)
isConsoleLog - the new console log statepublic static void setDebug(boolean isDebug)
isDebug - the new debug statepublic static void setFallbackOnNativeParse(boolean fallbackOnNativeParse)
fallbackOnNativeParse - set the FallbackOnNativeParse valuepublic static void setInstanceByAssembly(boolean isMultiInstance)
JCOBridge instance by assembly state
It can be applied only before any operation
isMultiInstance - the new InstanceByAssembly statepublic static void setLogFilename(java.lang.String loggingFilename)
If the logging operations are started on a JCOBridge instance, it is
not possible to change the name during runtime.
loggingFilename - the new log filenamepublic static void setLogging(boolean isLogging)
isLogging - the new logging statepublic static void setScopedOn(java.lang.String scopedOn)
scopedOn - the ScopedOn valuepublic static void setScopedOnVersion(java.lang.String scopedOnVersion)
scopedOnVersion - the ScopedOnVersion valuepublic static void setUseFullAssemblyName(boolean useFullname)
Set only on startup
useFullname - the new UseFullAssemblyName statepublic static void writeLog(java.lang.String msg)
msg - message to logpublic static void writeLog(java.lang.String format,
java.lang.Object... args)
format - format String to logargs - format argumentspublic static void writeLog(java.lang.Throwable t)
t - Throwable to log