equal
deleted
inserted
replaced
1380 return tagData; |
1380 return tagData; |
1381 } |
1381 } |
1382 |
1382 |
1383 /** |
1383 /** |
1384 * Sets a particular tagged data element in the profile from |
1384 * Sets a particular tagged data element in the profile from |
1385 * a byte array. This method is useful |
1385 * a byte array. The array should contain data in a format, corresponded |
1386 * for advanced applets or applications which need to access |
1386 * to the {@code tagSignature} as defined in the ICC specification, section 10. |
1387 * profile data directly. |
1387 * This method is useful for advanced applets or applications which need to |
|
1388 * access profile data directly. |
1388 * |
1389 * |
1389 * @param tagSignature The ICC tag signature for the data element |
1390 * @param tagSignature The ICC tag signature for the data element |
1390 * you want to set. |
1391 * you want to set. |
1391 * @param tagData the data to set for the specified tag signature |
1392 * @param tagData the data to set for the specified tag signature |
|
1393 * @throws IllegalArgumentException if {@code tagSignature} is not a signature |
|
1394 * as defined in the ICC specification. |
|
1395 * @throws IllegalArgumentException if a content of the {@code tagData} |
|
1396 * array can not be interpreted as valid tag data, corresponding |
|
1397 * to the {@code tagSignature}. |
1392 * @see #getData |
1398 * @see #getData |
1393 */ |
1399 */ |
1394 public void setData(int tagSignature, byte[] tagData) { |
1400 public void setData(int tagSignature, byte[] tagData) { |
1395 |
1401 |
1396 if (ProfileDeferralMgr.deferring) { |
1402 if (ProfileDeferralMgr.deferring) { |