All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.com.ibm.as400.access.ConverterImpl Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy