org.springframework.batch.item.file
Class SimpleResourceSuffixCreator

java.lang.Object
  extended by org.springframework.batch.item.file.SimpleResourceSuffixCreator
All Implemented Interfaces:
ResourceSuffixCreator

public class SimpleResourceSuffixCreator
extends Object
implements ResourceSuffixCreator

Trivial implementation of ResourceSuffixCreator that uses the index itself as suffix, separated by dot.

Author:
Robert Kasanicky

Constructor Summary
SimpleResourceSuffixCreator()
           
 
Method Summary
 String getSuffix(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleResourceSuffixCreator

public SimpleResourceSuffixCreator()
Method Detail

getSuffix

public String getSuffix(int index)
Specified by:
getSuffix in interface ResourceSuffixCreator


Copyright © 2009 SpringSource. All Rights Reserved.