Data Request Broker
2-3-release

fr.gael.drb.value
Interface ValueFormat

All Known Implementing Classes:
AbstractNumericArray, BinaryInteger, Byte, ByteArray, DateTime, Double, DoubleArray, Float, FloatArray, Int, IntArray, Long, LongArray, Short, ShortArray, UnsignedByte, UnsignedByteArray, UnsignedInt, UnsignedIntArray, UnsignedLong, UnsignedLongArray, UnsignedShort, UnsignedShortArray

public interface ValueFormat

Interface to format the value. Used to create an output string or buffer to write the value in a file.


Method Summary
 byte[] getFormattedBuffer()
          Return a byte buffer containing the value in a fixed format.
 String getFormattedString(int length)
          Return a string containing the value with a fixed format.
 

Method Detail

getFormattedString

String getFormattedString(int length)
Return a string containing the value with a fixed format.

Parameters:
length - The expected length of the output string
Returns:
The formatted string.

getFormattedBuffer

byte[] getFormattedBuffer()
Return a byte buffer containing the value in a fixed format.

Returns:
The formatted buffer.

Data Request Broker - DRB API®
2-3-release

Copyright© 2001-2009 GAEL Consultant. All rights reserved. Use is subject to license terms .