public interface ColorTableIO
ColorTable from files and write ColorTable to
files.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
java.lang.String |
getName() |
void |
read(ColorTable colorTable,
java.io.File file)
Reads file to set information to
ColorTable received as
parameter. |
ColorTable |
read(java.io.File file)
Reads file to create
ColorTable from it. |
void |
write(ColorTable colorTable,
java.io.File file)
Writes
ColorTable to file. |
java.lang.String getName()
ColorTableIOjava.lang.String getDescription()
ColorTableIOColorTable read(java.io.File file) throws ColorTableIOException
ColorTable from it.file - ColorTable file.ColorTable created from file.ColorTableIOExceptionvoid read(ColorTable colorTable, java.io.File file) throws ColorTableIOException
ColorTable received as
parameter.colorTable - ColorTable to be filled.file - File of new ColorTable.ColorTableIOExceptionvoid write(ColorTable colorTable, java.io.File file) throws ColorTableIOException
ColorTable to file.colorTable - ColorTable to be writtenfile - File of ColorTableColorTableIOException