|
xmlgraphics-commons 1.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlgraphics.java2d.color.profile.NamedColorProfileParser
public class NamedColorProfileParser
This class is a parser for ICC named color profiles. It uses Java's ICC_Profile class
for parsing the basic structure but adds functionality to parse certain profile tags.
| Constructor Summary | |
|---|---|
NamedColorProfileParser()
|
|
| Method Summary | |
|---|---|
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). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NamedColorProfileParser()
| Method Detail |
|---|
public static boolean isNamedColorProfile(ICC_Profile profile)
profile - the color profile
public 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 profile
IOException - if an I/O error occurs
public NamedColorProfile parseProfile(ICC_Profile profile)
throws IOException
profile - the profile to analyze
IOException - if an I/O error occurs
|
xmlgraphics-commons 1.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||