org.eclipse.dstore.core.model
Class DefaultByteConverter
java.lang.Object
org.eclipse.dstore.core.model.DefaultByteConverter
- All Implemented Interfaces:
- IByteConverter
- public class DefaultByteConverter
- extends Object
- implements IByteConverter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultByteConverter
public DefaultByteConverter()
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
Guidelines for using DataStore APIs.