|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.wtc.jatmi.DynamicFldTbl
public class DynamicFldTbl
This class provides a dynamic implementation of the FldTbl interface. It parses an FML or FML32 field definition file at run-time, then provides name-to-field id and field id-to-name mappings.
Constructor Summary | |
---|---|
DynamicFldTbl(String fieldFileName,
boolean hdrType32)
Parses an FML or FML32 field table definition file. |
|
DynamicFldTbl(String fieldFileName,
boolean hdrType32,
int initialCapacity,
float loadFactor)
Parses an FML or FML32 field table definition file. |
Method Summary | |
---|---|
String |
Fldid_to_name(int fldId)
Returns the name of the field corresponding to the given field id. |
String[] |
getFldNames()
Returns an array of strings representing the names of the fields in the table. |
int |
name_to_Fldid(String name)
Returns the id of the field corresponding to the given name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicFldTbl(String fieldFileName, boolean hdrType32)
fieldFileName
- The pathname of the field table file. This may
be an absolute pathname, a path relative to the directory from which Java
was started or a relative path that may be found as a resource on the
classpath.hdrType32
- true for FML32, false for FML.public DynamicFldTbl(String fieldFileName, boolean hdrType32, int initialCapacity, float loadFactor)
fieldFileName
- The pathname of the field table file. This may
be an absolute pathname, a path relative to the directory from which Java
was started or a relative path that may be found as a resource on the
classpath.hdrType32
- true for FML32, false for FML.initialCapacity
- A hint about the size of the field table. This
value and the loadFactor can be used to tune the implementation in the same
way that initialCapacity and loadFactor are used in the Java HashMap class.loadFactor
- A tuning hint used in the same way as the loadFactor in the
Java HashMap class.Method Detail |
---|
public String Fldid_to_name(int fldId)
Fldid_to_name
in interface FldTbl
fldId
- The field id of the field.
public String[] getFldNames()
getFldNames
in interface FldTbl
public int name_to_Fldid(String name)
name_to_Fldid
in interface FldTbl
name
- The name of the field.
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |