public class PaletteParser extends Object
Constructor and Description |
---|
PaletteParser() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkSanity(byte[] bytes) |
static Map<String,String> |
parse(byte[] bytes,
String filename) |
static Map<String,String> |
parse(InputStream in,
String filename) |
static Map<String,String> |
parse(URL url) |
static String |
rgbToHex(int r,
int g,
int b) |
public PaletteParser()
public static boolean checkSanity(byte[] bytes)
public static Map<String,String> parse(InputStream in, String filename) throws IOException, PaletteParseException
IOException
PaletteParseException
public static Map<String,String> parse(byte[] bytes, String filename) throws PaletteParseException
PaletteParseException
Copyright © 2015 Nuxeo SA. All rights reserved.