public void start(long adaptor, String type, String bytesPerSecParam,
long offset, ChunkReceiver dest) throws AdaptorException {
try {
bytesPerSec = Integer.parseInt(bytesPerSecParam.trim());
} catch (NumberFormatException e) {
throw new AdaptorException("bad argument to const rate adaptor: ["
+ bytesPerSecParam + "]");
}
this.adaptorID = adaptor;
this.offset = offset;
this.type = type;