JIU 0.12.0 Homepage

net.sourceforge.jiu.apps
Class ColorIndexer

java.lang.Object
  extended bynet.sourceforge.jiu.ops.Operation
      extended bynet.sourceforge.jiu.ops.BatchProcessorOperation
          extended bynet.sourceforge.jiu.apps.ColorIndexer

public class ColorIndexer
extends BatchProcessorOperation

Loads image files and generates color index information for them.

Since:
0.12.0
Author:
Marco Schmidt

Field Summary
static int BLACK
           
static int BLUE
           
static String[] COLOR_NAMES
           
static int CYAN
           
static int GREEN
           
static int MAGENTA
           
static int RED
           
static int WHITE
           
static int YELLOW
           
 
Constructor Summary
ColorIndexer()
           
 
Method Summary
static void main(String[] args)
           
 void processFile(String inputDirectory, String inputFileName, String outputDirectory)
          Method to be called on each file given to this operation.
 
Methods inherited from class net.sourceforge.jiu.ops.BatchProcessorOperation
addDirectoryTree, addDirectoryTree, addInputFileName, addInputFileNames, getErrorMessages, getOverwrite, process, setCollectErrorMessages, setOutputDirectory, setOverwrite
 
Methods inherited from class net.sourceforge.jiu.ops.Operation
addProgressListener, addProgressListeners, getAbort, removeProgressListener, setAbort, setProgress, setProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLACK

public static final int BLACK
See Also:
Constant Field Values

RED

public static final int RED
See Also:
Constant Field Values

GREEN

public static final int GREEN
See Also:
Constant Field Values

BLUE

public static final int BLUE
See Also:
Constant Field Values

YELLOW

public static final int YELLOW
See Also:
Constant Field Values

MAGENTA

public static final int MAGENTA
See Also:
Constant Field Values

CYAN

public static final int CYAN
See Also:
Constant Field Values

WHITE

public static final int WHITE
See Also:
Constant Field Values

COLOR_NAMES

public static final String[] COLOR_NAMES
Constructor Detail

ColorIndexer

public ColorIndexer()
Method Detail

main

public static void main(String[] args)

processFile

public void processFile(String inputDirectory,
                        String inputFileName,
                        String outputDirectory)
Description copied from class: BatchProcessorOperation
Method to be called on each file given to this operation. Non-abstract heirs of this class must implement this method to add functionality.

Specified by:
processFile in class BatchProcessorOperation
Parameters:
inputDirectory - name of directory where the file to be processed resides
inputFileName - name of file to be processed
outputDirectory - output directory for that file, need not necessarily be used

JIU 0.12.0 Homepage

Copyright © 2000, 2001, 2002, 2003, 2004 Marco Schmidt