ca.idms.io
Class FloDataOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by ca.idms.io.NativeDataOutputStream
              extended by ca.idms.io.FloDataOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.DataOutput, java.io.Flushable

public class FloDataOutputStream
extends NativeDataOutputStream

FloDataOutputStream writes floating point types in the format native to the IBM S390 (370) architecture.

Since:
CA IDMS Server 4.2 OS/390 Edition
Version:
1.20, 01/31/03
Author:
Dave Ross

Field Summary
 
Fields inherited from class ca.idms.io.NativeDataOutputStream
dos, fmt
 
Fields inherited from class java.io.FilterOutputStream
out
 
Method Summary
 void writeDouble(double v)
          Writes the double argument to the output stream in S/390 format.
 void writeFloat(float v)
          Writes the float argument to the output stream in S/390 format.
 
Methods inherited from class ca.idms.io.NativeDataOutputStream
getBuffer, getCount, getFormat, setBuffer, setCount, setSize, snap, toCharArray, write, writeBoolean, writeByte, writeBytes, writeBytes, writeBytesInternal, writeBytesVariable, writeChar, writeChars, 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

writeFloat

public void writeFloat(float v)
                throws java.io.IOException
Writes the float argument to the output stream in S/390 format.

Specified by:
writeFloat in interface java.io.DataOutput
Overrides:
writeFloat in class NativeDataOutputStream
Parameters:
v - a float value to be written.
Throws:
java.io.IOException - if an I/O error occurs.
See Also:
Float.floatToIntBits(float)

writeDouble

public void writeDouble(double v)
                 throws java.io.IOException
Writes the double argument to the output stream in S/390 format.

Specified by:
writeDouble in interface java.io.DataOutput
Overrides:
writeDouble in class NativeDataOutputStream
Parameters:
v - a double value to be written.
Throws:
java.io.IOException - if an I/O error occurs.
See Also:
Double.doubleToLongBits(double)


Copyright © 2009 CA, All rights reserved