JTools

org.jtools.props
Interface PropertyRepository

All Known Implementing Classes:
SimplePropertyRepository

public interface PropertyRepository


Nested Class Summary
static interface PropertyRepository.Factory
           
 
Method Summary
 PropertyRepositoryEntry createDirEntry(String key, String directory, String baseFile, String mainEntryFilename, 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()
           
 int read(PropertySupport dest, File repositoryRoot, String extension)
           
 

Method Detail

getEntries

Collection<PropertyRepositoryEntry> getEntries()

createFileEntry

PropertyRepositoryEntry createFileEntry(String key,
                                        String directory,
                                        String baseFile,
                                        String prefix,
                                        String listProperty,
                                        String concatListProperty,
                                        boolean addTargetAsSuffix)

createDirEntry

PropertyRepositoryEntry createDirEntry(String key,
                                       String directory,
                                       String baseFile,
                                       String mainEntryFilename,
                                       String prefix,
                                       String listProperty,
                                       String concatListProperty,
                                       boolean addTargetAsSuffix)

read

int read(PropertySupport dest,
         File repositoryRoot,
         String extension)
         throws IOException
Throws:
IOException

JTools

© 2000-2006, JTools.org.