|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.idms.io.TraceObject
ca.idms.io.NativeFormat
ca.idms.io.UnicodeFormat
public class UnicodeFormat
Specifies formats of network data types using Unicode.
NativeFormat| Field Summary |
|---|
| Fields inherited from class ca.idms.io.NativeFormat |
|---|
bytes, cecp, CECP, CLIENT, EBCDIC, enc, enci, format, FORMAT, IDMS, ieee, katakana, LOCAL, low, NATIVE, NULLS, platform, PLATFORM, role, ROLE, S390, SERVER, SI, SO, SPACES, UNICODE, UTF8, X64, X86, ZONE42 |
| Fields inherited from class ca.idms.io.TraceObject |
|---|
exclude, EXCLUDE, FALSE, include, INCLUDE, logWriter, PREFIX, PROPERTIES_FILE, PROPERTIES_KEY, snap, SNAP, SNAP_BYTES, SNAP_NATIVE, SNAP_OBJECT, SNAP_SQL, snapBytes, snapNative, snapObject, snapSql, stub, trace, TRACE, TRACE_FILE, TRACE_LIFE, TRACE_NATIVE, TRACE_PRODUCT, traceLife, traceNative, traceStream, TRUE |
| Constructor Summary | |
|---|---|
UnicodeFormat(int opt)
Create a object to format network data using Unicode. |
|
| Method Summary | |
|---|---|
byte[] |
getBytes(java.lang.String str,
int len)
Converts a string into a fixed length array of bytes. |
NativeDataInputStream |
getDataInput(TraceBufferInputStream in)
Creates an input filter stream to read network data. |
NativeDataOutputStream |
getDataOutput(TraceBufferOutputStream out)
Creates an output filter stream to writes network data. |
boolean |
isNative()
Gets format, convenience method. |
boolean |
isUnicode()
Gets format, convenience method. |
boolean |
isUTF8()
Gets format, convenience method. |
| Methods inherited from class ca.idms.io.NativeFormat |
|---|
get, getArch, getBytes, getBytesInternal, getBytesZ, getDefaultEnc, getEnc, getFormat, getMaxBytesPerChar, getPlatform, getRole, getString, getString, getStringInternal, isClient, isIEEE, isKatakana, isLocal, isLow, isMicrosoft, isPC, isS390, isServer, isSOSI, isX64, isX86, pad, readBytes, readBytesZ, toUpperAscii, toUpperEbcdic, writeBytes, writeBytes, writeBytesZ |
| Methods inherited from class ca.idms.io.TraceObject |
|---|
finalize, getBoolean, getClasses, getInteger, getProperty, listProperties, message, parseList, print, print, print, println, println, snap, snap, snap, snap, snap, snap, snap, toHex, toHex, toHex, toHex, toHex, toString, trace, trace, trace, trace, trace, trace, traceEntry, unloadProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnicodeFormat(int opt)
opt - client server role iptions| Method Detail |
|---|
public boolean isNative()
NativeFormat
isNative in class NativeFormatNativeFormat.getFormat(),
NativeFormat.isUTF8(),
NativeFormat.isUnicode()public boolean isUnicode()
NativeFormat
isUnicode in class NativeFormatNativeFormat.getFormat(),
NativeFormat.isNative(),
NativeFormat.isUTF8()public boolean isUTF8()
NativeFormat
isUTF8 in class NativeFormatNativeFormat.getFormat(),
NativeFormat.isNative(),
NativeFormat.isUnicode()
public byte[] getBytes(java.lang.String str,
int len)
throws java.io.UnsupportedEncodingException,
DataTruncationException
getBytes in class NativeFormatstr - String to convertlen - the requested length is doubled
java.io.UnsupportedEncodingException - not likely
DataTruncationException - if the result is truncatedpublic NativeDataInputStream getDataInput(TraceBufferInputStream in)
getDataInput in class NativeFormatin - underlying input stream
NativeDataInputStreampublic NativeDataOutputStream getDataOutput(TraceBufferOutputStream out)
getDataOutput in class NativeFormatout - underlying DataOutputStream
NativeDataOutputStream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||