Remote System Explorer DataStore
Release 1.0

org.eclipse.dstore.core.model
Class DefaultByteConverter

java.lang.Object
  extended byorg.eclipse.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 System Explorer DataStore
Release 1.0

Guidelines for using DataStore APIs.