Package arc.packer
Class TexturePackerFileProcessor
java.lang.Object
arc.packer.FileProcessor
arc.packer.TexturePackerFileProcessor
-
Nested Class Summary
Nested classes/interfaces inherited from class arc.packer.FileProcessor
FileProcessor.Entry
-
Constructor Summary
ConstructorDescriptionTexturePackerFileProcessor
(TexturePacker.Settings defaultSettings, String packFileName) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
deleteOutput
(File outputRoot) Processes the specified input files.Processes the specified input file or directory.protected void
processDir
(FileProcessor.Entry inputDir, Seq<FileProcessor.Entry> files) Called for each input directory.Methods inherited from class arc.packer.FileProcessor
addInputRegex, addInputSuffix, addProcessedFile, process, processFile, setComparator, setFlattenOutput, setInputFilter, setOutputSuffix, setRecursive
-
Constructor Details
-
TexturePackerFileProcessor
public TexturePackerFileProcessor() -
TexturePackerFileProcessor
-
-
Method Details
-
process
Description copied from class:FileProcessor
Processes the specified input file or directory.- Overrides:
process
in classFileProcessor
outputRoot
- May be null if there is no output from processing the files.- Returns:
- the processed files added with
FileProcessor.addProcessedFile(Entry)
. - Throws:
Exception
-
process
Description copied from class:FileProcessor
Processes the specified input files.- Overrides:
process
in classFileProcessor
outputRoot
- May be null if there is no output from processing the files.- Returns:
- the processed files added with
FileProcessor.addProcessedFile(Entry)
. - Throws:
Exception
-
deleteOutput
- Throws:
Exception
-
processDir
protected void processDir(FileProcessor.Entry inputDir, Seq<FileProcessor.Entry> files) throws Exception Description copied from class:FileProcessor
Called for each input directory. The files will besorted
. The specified files list can be modified to change which files are processed.- Overrides:
processDir
in classFileProcessor
- Throws:
Exception
-