|
|||||||||
| Home >> All >> com >> yaftp >> [ utils overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.yaftp.utils
Class EbcdicString

java.lang.Objectcom.yaftp.utils.DataStructure
com.yaftp.utils.EbcdicString
- public class EbcdicString
- extends DataStructure
| Field Summary | |
private byte[] |
_AsciiBuffer
|
private EbcdicTable |
_conversionTable
|
| Fields inherited from class com.yaftp.utils.DataStructure |
_Offset, _Size, _Struct, ISO_LATIN_1 |
| Constructor Summary | |
EbcdicString(EbcdicTable conversionTable,
byte[] GivenBuffer)
|
|
EbcdicString(EbcdicTable conversionTable,
byte[] GivenBuffer,
int BufferPos,
int CurSize)
Construct object using given Byte Array |
|
| Method Summary | |
private byte |
FromEbcdic(int Ii)
|
static void |
main(java.lang.String[] Argv)
use this method just to debug or as a sample implementation of the EbcdicString class |
void |
toEbcdic(java.lang.String InStr)
Convert to ebcdic into _EbcdicBuffer if origin is larger than dest , exception is thrown |
java.lang.String |
toString()
Convert into JavaStr and return the value |
| Methods inherited from class com.yaftp.utils.DataStructure |
ContainerExists, CopyFrom, CopyTo, GiveElem, SetElem |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
_AsciiBuffer
private byte[] _AsciiBuffer
_conversionTable
private EbcdicTable _conversionTable
| Constructor Detail |
EbcdicString
public EbcdicString(EbcdicTable conversionTable, byte[] GivenBuffer, int BufferPos, int CurSize)
- Construct object using given Byte Array
EbcdicString
public EbcdicString(EbcdicTable conversionTable, byte[] GivenBuffer)
| Method Detail |
FromEbcdic
private byte FromEbcdic(int Ii)
toEbcdic
public void toEbcdic(java.lang.String InStr) throws java.lang.ArrayIndexOutOfBoundsException
- Convert to ebcdic into _EbcdicBuffer
if origin is larger than dest , exception is thrown
toString
public java.lang.String toString()
- Convert into JavaStr and return the value
main
public static void main(java.lang.String[] Argv)
- use this method just to debug or as a sample implementation
of the EbcdicString class
|
|||||||||
| Home >> All >> com >> yaftp >> [ utils overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC