com.ibm.as400.access.ConverterImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jt400 Show documentation
Show all versions of jt400 Show documentation
The Open Source version of the IBM Toolbox for Java
The newest version!
///////////////////////////////////////////////////////////////////////////////
//
// JTOpen (IBM Toolbox for Java - OSS version)
//
// Filename: ConverterImpl.java
//
// The source code contained herein is licensed under the IBM Public License
// Version 1.0, which has been approved by the Open Source Initiative.
// Copyright (C) 1997-2004 International Business Machines Corporation and
// others. All rights reserved.
//
///////////////////////////////////////////////////////////////////////////////
package com.ibm.as400.access;
import java.io.UnsupportedEncodingException;
interface ConverterImpl
{
abstract void setEncoding(String encoding) throws UnsupportedEncodingException;
abstract void setCcsid(int ccsid, AS400Impl systemImpl) throws UnsupportedEncodingException;
abstract String getEncoding();
abstract int getCcsid();
abstract String byteArrayToString(byte[] source, int offset, int length);
abstract String byteArrayToString(byte[] source, int offset, int length, BidiConversionProperties properties);
abstract byte[] stringToByteArray(String source);
abstract byte[] stringToByteArray(String source, BidiConversionProperties properties);
//@AI5A
abstract char[] byteArrayToCharArray(byte[] source, int offset, int length);
abstract char[] byteArrayToCharArray(byte[] source, int offset, int length, BidiConversionProperties properties);
abstract byte[] charArrayToByteArray(char[] source);
abstract byte[] charArrayToByteArray(char[] source, BidiConversionProperties properties);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy