|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
ca.idms.io.NativeDataOutputStream
ca.idms.io.UtfDataOutputStream
public class UtfDataOutputStream
A UtfDataOutputStream writes data in "network" format using UTF-8.
| Field Summary |
|---|
| Fields inherited from class ca.idms.io.NativeDataOutputStream |
|---|
dos, fmt |
| Fields inherited from class java.io.FilterOutputStream |
|---|
out |
| Method Summary | |
|---|---|
void |
writeBytes(java.lang.String str)
Writes a string to a stream as an array of bytes. |
void |
writeBytes(java.lang.String str,
int len)
Writes a string to a stream as an array of bytes. |
| Methods inherited from class ca.idms.io.NativeDataOutputStream |
|---|
getBuffer, getCount, getFormat, setBuffer, setCount, setSize, snap, toCharArray, write, writeBoolean, writeByte, writeBytesInternal, writeBytesVariable, writeChar, writeChars, writeDouble, writeFloat, writeGraphic, writeInt, writeLong, writeNulls, writePacked, writeShort, writeUTF, writeZoned |
| Methods inherited from class java.io.FilterOutputStream |
|---|
close, flush, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.io.DataOutput |
|---|
write, write |
| Method Detail |
|---|
public void writeBytes(java.lang.String str)
throws java.io.IOException
writeBytes in interface java.io.DataOutputwriteBytes in class NativeDataOutputStreamstr - String to convert
java.io.IOException - if an IO error occurs
public void writeBytes(java.lang.String str,
int len)
throws java.io.IOException
writeBytes in class NativeDataOutputStreamstr - String to convertlen - the requested length is ignored
java.io.IOException - if an IO error occurs
DataTruncationException - if the result is truncated
java.io.UnsupportedEncodingException - if the
character set encoding is not supportedNativeDataInputStream.readBytes(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||