AZS

com.a2zss.ISO8583
Class EBCDIC

java.lang.Object
  extended by com.a2zss.ISO8583.EBCDIC

public class EBCDIC
extends java.lang.Object


Constructor Summary
EBCDIC()
           
 
Method Summary
static byte fromAscii(byte ascii)
           
static byte[] fromAscii(byte[] ascii)
           
static byte[] fromAscii(byte[] ascii, int offs, int len)
           
static byte toAscii(byte ebcdic)
           
static byte[] toAscii(byte[] ebcdic)
           
static byte[] toAscii(byte[] ebcdic, int offs, int len)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EBCDIC

public EBCDIC()
Method Detail

toAscii

public static final byte toAscii(byte ebcdic)
Parameters:
ebcdic -
Returns:
ascii equivalent

toAscii

public static final byte[] toAscii(byte[] ebcdic)

toAscii

public static final byte[] toAscii(byte[] ebcdic,
                                   int offs,
                                   int len)
Parameters:
ebcdic -
offs -
len -
Returns:
ascii bytes

fromAscii

public static final byte fromAscii(byte ascii)
Parameters:
ascii -
Returns:
ebcdic equivalent

fromAscii

public static final byte[] fromAscii(byte[] ascii)

fromAscii

public static final byte[] fromAscii(byte[] ascii,
                                     int offs,
                                     int len)
Parameters:
ascii -
offs -
len -
Returns:
bytes in ebcdic

AZS

Copyright © 2002-2010 AZS Services Ltd. All Rights Reserved.