tomp.ext.util.file
Class FileSet

java.lang.Object
  |
  +--tomp.ext.Base
        |
        +--tomp.ext.util.file.FileSet

public class FileSet
extends Base


Field Summary
protected  java.util.Iterator destination
           
protected  java.util.List files
           
protected  java.util.Iterator source
           
protected  java.lang.String sourceConvertPatternMatch
           
protected  java.lang.String sourceConvertPatternReplace
           
protected  java.util.Iterator style
           
protected  java.lang.String styleConvertPatternMatch
           
protected  java.lang.String styleConvertPatternReplace
           
 
Fields inherited from class tomp.ext.Base
action, application, status, STATUS, STATUS_ABORTED, STATUS_IN_PROCESSING, STATUS_NOT_PROCESSED, STATUS_READY, STATUS_READY_INVALID, STATUS_READY_VALID, validator
 
Constructor Summary
FileSet(Action e, java.lang.String id, Validator v, java.io.File[] f, java.lang.String sourcePatternMatch, java.lang.String sourcePatternReplace, java.lang.String stylePatternMatch, java.lang.String stylePatternReplace)
           
 
Method Summary
protected  java.io.File convertFile(java.io.File original, java.lang.String patternMatch, java.lang.String patternReplace)
           
 boolean hasNextFile()
           
 java.io.File nextFile()
           
 java.io.File nextSourceFile()
           
 java.io.File nextStyleFile()
           
 
Methods inherited from class tomp.ext.Base
abortProcessing, commitProcessing, getAsRawSource, getAsSource, id, isReady, isValid, startProcessing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

files

protected java.util.List files

destination

protected java.util.Iterator destination

source

protected java.util.Iterator source

style

protected java.util.Iterator style

sourceConvertPatternMatch

protected java.lang.String sourceConvertPatternMatch

sourceConvertPatternReplace

protected java.lang.String sourceConvertPatternReplace

styleConvertPatternMatch

protected java.lang.String styleConvertPatternMatch

styleConvertPatternReplace

protected java.lang.String styleConvertPatternReplace
Constructor Detail

FileSet

public FileSet(Action e,
               java.lang.String id,
               Validator v,
               java.io.File[] f,
               java.lang.String sourcePatternMatch,
               java.lang.String sourcePatternReplace,
               java.lang.String stylePatternMatch,
               java.lang.String stylePatternReplace)
        throws EXTException
Method Detail

nextFile

public java.io.File nextFile()

hasNextFile

public boolean hasNextFile()

nextSourceFile

public java.io.File nextSourceFile()
                            throws java.io.IOException
java.io.IOException

nextStyleFile

public java.io.File nextStyleFile()
                           throws java.io.IOException
java.io.IOException

convertFile

protected java.io.File convertFile(java.io.File original,
                                   java.lang.String patternMatch,
                                   java.lang.String patternReplace)
                            throws java.io.IOException
java.io.IOException