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.
Reality V15.0 ()
: Class RealItemTokenizer (RealSQL-JDBC) (realitemtokenizer.html)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.northgateis.reality.util.ItemView | +--com.northgateis.reality.realsql.RealItemTokenizer
Wrapper object for a com.northgateis.util.ItemView object.
Fields inherited from class com.northgateis.reality.util.ItemView |
AM,
SM,
SVM,
VM
|
Constructor Summary | |
RealItemTokenizer(byte[] itm) Create a new item view with normal system delimiters (AM, VM, SVM) | |
RealItemTokenizer(byte[] item,
byte del) Create a new item view with user defined delimiter | |
RealItemTokenizer(byte[] itm,
byte del1,
byte del2,
byte del3) Create a new item view with user defined delimiters |
Method Summary | |
int | getIndex(byte[] buf,
int start,
int len,
int num,
int delim) Find the n'th occurrence of the delimiter in the byte array. |
java.lang.String | toString(byte[] buf,
int start,
int len) Convert the byte array to a character string. |
java.lang.String | toString(byte[] buf,
int start,
int len,
boolean delim) Convert the byte array to a character string. |
Methods inherited from class com.northgateis.reality.util.ItemView |
copy,
copy,
copy,
get,
get,
get,
getAll,
getLength,
main,
numAttributes,
numSubValues,
numValues,
trace |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public RealItemTokenizer(byte[] itm)
item
- byte array holding the reality item to be viewedpublic RealItemTokenizer(byte[] item, byte del)
item
- byte array holding the reality item to be vieweddel
- byte containing first level delimiterpublic RealItemTokenizer(byte[] itm, byte del1, byte del2, byte del3)
item
- byte array holding the reality item to be vieweddel1
- byte containing first level delimiterdel2
- byte containing second level delimiterdel3
- byte containing third level delimiterMethod Detail |
public java.lang.String toString(byte[] buf, int start, int len, boolean delim)
buf
- byte array to be converted.start
- starting offset into byte array for conversion.len
- number of bytes to convert.delim
- true if conversion should terminate on meeting a Reality system delimiter (SVM | VM | AM | SM).public java.lang.String toString(byte[] buf, int start, int len)
buf
- byte array to be converted.start
- starting offset into byte array for conversion.len
- number of bytes to convert.public int getIndex(byte[] buf, int start, int len, int num, int delim)
buf
- byte array to be converted.start
- starting offset into byte array for conversion.len
- number of bytes to scan.num
- number of delimiters to skip.delim
- true if conversion should terminate on meeting a Reality system delimiter (SVM | VM | AM | SM).PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |