JTools

org.jtools.props
Class SimplePropertyRepository

java.lang.Object
  extended by org.jtools.props.SimplePropertyRepository
All Implemented Interfaces:
PropertyRepository

public class SimplePropertyRepository
extends Object
implements PropertyRepository


Nested Class Summary
static class SimplePropertyRepository.Factory
           
protected static class SimplePropertyRepository.PropertyEntry
           
 
Constructor Summary
SimplePropertyRepository()
           
 
Method Summary
 PropertyRepositoryEntry createDirEntry(String key, String Directory, String BaseFile, String MainEntry, String Prefix, String ListProperty, String concatListProperty, boolean addTargetAsSuffix)
           
 PropertyRepositoryEntry createFileEntry(String key, String Directory, String BaseFile, String Prefix, String ListProperty, String concatListProperty, boolean addTargetAsSuffix)
           
 Collection<PropertyRepositoryEntry> getEntries()
           
static PropertyRepository.Factory getFactory()
           
 int read(PropertySupport dest, File repositoryBase, String Extension)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePropertyRepository

public SimplePropertyRepository()
Method Detail

getFactory

public static PropertyRepository.Factory getFactory()

createDirEntry

public PropertyRepositoryEntry createDirEntry(String key,
                                              String Directory,
                                              String BaseFile,
                                              String MainEntry,
                                              String Prefix,
                                              String ListProperty,
                                              String concatListProperty,
                                              boolean addTargetAsSuffix)
Specified by:
createDirEntry in interface PropertyRepository

createFileEntry

public PropertyRepositoryEntry createFileEntry(String key,
                                               String Directory,
                                               String BaseFile,
                                               String Prefix,
                                               String ListProperty,
                                               String concatListProperty,
                                               boolean addTargetAsSuffix)
Specified by:
createFileEntry in interface PropertyRepository

getEntries

public Collection<PropertyRepositoryEntry> getEntries()
Specified by:
getEntries in interface PropertyRepository

read

public int read(PropertySupport dest,
                File repositoryBase,
                String Extension)
         throws IOException
Specified by:
read in interface PropertyRepository
Throws:
IOException

JTools

© 2000-2006, JTools.org.