util
Class HNSBytesInputConverter

java.lang.Object
  extended by util.HNSBytesInputConverter

public class HNSBytesInputConverter
extends java.lang.Object

Converts an input byte array, supplied as a constructor parameter, to a string, taking account of UCS encodings (UTF-16, with and without a Byte-Order-Mark [BOM], UTF-8 with BOM, ISO_8859-1), and converting HNS-Unicode character values to traditional HNS character octet values.


Constructor Summary
HNSBytesInputConverter(byte[] inb)
          Constructs a new converter for the given array of HNS input bytes.
 
Method Summary
 java.lang.String getInputString()
          Returns the decoded string for the input bytes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HNSBytesInputConverter

public HNSBytesInputConverter(byte[] inb)
                       throws java.io.IOException
Constructs a new converter for the given array of HNS input bytes.

Throws:
java.io.IOException
Method Detail

getInputString

public java.lang.String getInputString()
Returns the decoded string for the input bytes.