public class NamedColorProfileParser extends Object
ICC_Profile class
for parsing the basic structure but adds functionality to parse certain profile tags.| Constructor and Description |
|---|
NamedColorProfileParser() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isNamedColorProfile(ICC_Profile profile)
Indicates whether the profile is a named color profile.
|
NamedColorProfile |
parseProfile(ICC_Profile profile)
Parses a named color profile (NCP).
|
NamedColorProfile |
parseProfile(ICC_Profile profile,
String profileName,
String profileURI)
Parses a named color profile (NCP).
|
public static boolean isNamedColorProfile(ICC_Profile profile)
profile - the color profilepublic NamedColorProfile parseProfile(ICC_Profile profile, String profileName, String profileURI) throws IOException
profile - the profile to analyzeprofileName - Optional profile name associated with this color profileprofileURI - Optional profile URI associated with this color profileIOException - if an I/O error occurspublic NamedColorProfile parseProfile(ICC_Profile profile) throws IOException
profile - the profile to analyzeIOException - if an I/O error occursCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.