324 |
* An instance of the specialized classes ICC_ProfileRGB or ICC_ProfileGray |
* An instance of the specialized classes ICC_ProfileRGB or ICC_ProfileGray |
325 |
* may be returned if appropriate. |
* may be returned if appropriate. |
326 |
* |
* |
|
* @throws IllegalArgumentException if the profile data is an invalid |
|
|
* v2 profile. |
|
|
* |
|
327 |
* @param data - the profile data |
* @param data - the profile data |
328 |
* @return An ICC_Profile object |
* @return An ICC_Profile object |
329 |
|
* |
330 |
|
* @throws IllegalArgumentException if the profile data is an invalid |
331 |
|
* v2 profile. |
332 |
*/ |
*/ |
333 |
public static ICC_Profile getInstance(byte[] data) |
public static ICC_Profile getInstance(byte[] data) |
334 |
{ |
{ |
373 |
* An instance of the specialized classes ICC_ProfileRGB or ICC_ProfileGray |
* An instance of the specialized classes ICC_ProfileRGB or ICC_ProfileGray |
374 |
* may be returned if appropriate. |
* may be returned if appropriate. |
375 |
* |
* |
376 |
|
* @param filename - the file name of the profile file. |
377 |
|
* @return An ICC_Profile object |
378 |
|
* |
379 |
* @throws IllegalArgumentException if the profile data is an invalid |
* @throws IllegalArgumentException if the profile data is an invalid |
380 |
* v2 profile. |
* v2 profile. |
381 |
* @throws IOException if the file could not be read. |
* @throws IOException if the file could not be read. |
|
* |
|
|
* @param filename - the file name of the profile file. |
|
|
* @return An ICC_Profile object |
|
382 |
*/ |
*/ |
383 |
public static ICC_Profile getInstance(String filename) |
public static ICC_Profile getInstance(String filename) |
384 |
throws IOException |
throws IOException |
400 |
* An instance of the specialized classes ICC_ProfileRGB or ICC_ProfileGray |
* An instance of the specialized classes ICC_ProfileRGB or ICC_ProfileGray |
401 |
* may be returned if appropriate. |
* may be returned if appropriate. |
402 |
* |
* |
403 |
|
* @param in - the input stream to read the profile from. |
404 |
|
* @return An ICC_Profile object |
405 |
|
* |
406 |
* @throws IllegalArgumentException if the profile data is an invalid |
* @throws IllegalArgumentException if the profile data is an invalid |
407 |
* v2 profile. |
* v2 profile. |
408 |
* @throws IOException if the stream could not be read. |
* @throws IOException if the stream could not be read. |
|
* |
|
|
* @param in - the input stream to read the profile from. |
|
|
* @return An ICC_Profile object |
|
409 |
*/ |
*/ |
410 |
public static ICC_Profile getInstance(InputStream in) |
public static ICC_Profile getInstance(InputStream in) |
411 |
throws IOException |
throws IOException |