PublishKeywordTask publish_keyword = publisher.getPublishKeywordTask(task.getTargetID());
StringTag file_name = (StringTag)publish_keyword.getTagList().getTag(JKadConstants.TAG_FILENAME);
kad_task.task_info = (String)file_name.getValue();
} else
if (publisher.getPublishSourceTask(task.getTargetID())!=null) {
PublishSourceTask publish_keyword = publisher.getPublishSourceTask(task.getTargetID());
StringTag file_name = (StringTag)publish_keyword.getTagList().getTag(JKadConstants.TAG_FILENAME);
kad_task.task_info = (String)file_name.getValue();
}
}
kad_task.task_id = task.getTargetID().toHexString();