(String) hidlistTranslation.get(
hid.toUpperCase().replace(':', '_'));
if (translatedHid != null)
hid = translatedHid;
hid = URLEncoder.encode(hid);
Dbt key = new Dbt(hid.getBytes("UTF8"));
int fileLen = fileB.length;
if (anchorB != null)
fileLen += (1 + anchorB.length);
int dataLen = 1 + fileLen + 1 + jarfileB.length + 1 + titleB.length;
byte[] dataB = new byte[dataLen];
int i = 0;
dataB[i++] = (byte) fileLen;
for (int j = 0; j < fileB.length; ++j)
dataB[i++] = fileB[j];
if (anchorB != null) {
dataB[i++] = '#';
for (int j = 0; j < anchorB.length; ++j)
dataB[i++] = anchorB[j];
}
dataB[i++] = (byte) jarfileB.length;
for (int j = 0; j < jarfileB.length; ++j)
dataB[i++] = jarfileB[j];
dataB[i++] = (byte) titleB.length;
for (int j = 0; j < titleB.length; ++j)
dataB[i++] = titleB[j];
Dbt data = new Dbt(dataB);
dbBase.put(null, key, data, 0);
}