AR System Java API

com.bmc.arsys.api
Class Util

java.lang.Object
  extended by com.bmc.arsys.api.Util
All Implemented Interfaces:
Serializable

public class Util
extends Object
implements Serializable

The Util class combines all the functions not related to specific server objects into a "catch-all" class.

For all the methods in the Util class, there is a corresponding C API function. You can read full descriptions of their functionality in the C API Reference Guide.

See Also:
Serialized Form

Constructor Summary
Util()
           
 
Method Summary
static void clearMap(Map map)
          dereference all references for a Map which contains JNI objects we do not use map.clear() since we need to dereference all objects in the map.
static String find(String patternStr, CharSequence input)
           
static boolean isFieldIdPresent(String expr)
          Helper routine to find if any field id references is present in the given assignment strings.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

clearMap

public static void clearMap(Map map)
dereference all references for a Map which contains JNI objects we do not use map.clear() since we need to dereference all objects in the map.


find

public static String find(String patternStr,
                          CharSequence input)

isFieldIdPresent

public static boolean isFieldIdPresent(String expr)
Helper routine to find if any field id references is present in the given assignment strings. For example "$PROCESS$ $8$" will return true; while "$PROCESS$ $Short Description$" would return false (since the later has field name not id.

Parameters:
expr -

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.