super(path, id, buf, md5, context, outbound);
this.encoding = Encoding.BASE64;
}
synchronized public void read () {
IFile virtualFile = getVirtualFile();
if (virtualFile == null) {
Flog.warn("Couldn't get virtual file in readFromDisk %s", this);
return;
}
final byte[] bytes = virtualFile.getBytes();
if (bytes == null) {
Flog.warn("Could not get byte array contents for file %s", this);
return;
}
buf = bytes;