Remote Systems
v6.4.1

com.ibm.etools.systems.dstore.core.model
Class DefaultByteConverter

java.lang.Object
  extended bycom.ibm.etools.systems.dstore.core.model.DefaultByteConverter
All Implemented Interfaces:
IByteConverter

public class DefaultByteConverter
extends Object
implements IByteConverter


Constructor Summary
DefaultByteConverter()
           
 
Method Summary
 byte[] convertClientBytesToHostBytes(byte[] buffer, int offset, int length)
           
 byte[] convertHostBytesToClientBytes(byte[] buffer, int offset, int length)
           
 void setClientEncoding(String clientEncoding)
           
 void setContext(File file)
           
 void setHostEncoding(String hostEncoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultByteConverter

public DefaultByteConverter()
Method Detail

setContext

public void setContext(File file)
Specified by:
setContext in interface IByteConverter

setHostEncoding

public void setHostEncoding(String hostEncoding)

setClientEncoding

public void setClientEncoding(String clientEncoding)

convertHostBytesToClientBytes

public byte[] convertHostBytesToClientBytes(byte[] buffer,
                                            int offset,
                                            int length)
Specified by:
convertHostBytesToClientBytes in interface IByteConverter

convertClientBytesToHostBytes

public byte[] convertClientBytesToHostBytes(byte[] buffer,
                                            int offset,
                                            int length)
Specified by:
convertClientBytesToHostBytes in interface IByteConverter

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.