public final TargetFileListProducer getTargetFileListProducer ( ) { if ( tflProducer != null ) { return tflProducer ; } final Object obj = Utils4J . createInstance ( className ) ; if ( ! ( obj instanceof TargetFileListProducer ) ) { throw new IllegalStateException ( "Expected class to be of type '" + TargetFileListProducer . class . getName ( ) + "', but was: " + className ) ; } tflProducer = ( TargetFileListProducer ) obj ; return tflProducer ; }
Returns an existing target file list producer instance or creates a new one if it s the first call to this method .