bs.setName((mimeType != null &&
(mimeType.equalsIgnoreCase("text/xml") ||
mimeType.equalsIgnoreCase("text/rdf"))) ?
BSN_LICENSE_RDF : BSN_LICENSE_TEXT);
bs.setFormat(bs_format);
bs.update();
}
public static void removeLicense(Context context, Item item)
throws SQLException, IOException, AuthorizeException
{