|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jtools.props.SimplePropertyRepository.PropertyEntry
protected static class SimplePropertyRepository.PropertyEntry
Nested Class Summary | |
---|---|
protected static class |
SimplePropertyRepository.PropertyEntry.SimpleDirectoryFilter
|
protected static class |
SimplePropertyRepository.PropertyEntry.SimpleFileFilter
|
Nested classes/interfaces inherited from interface org.jtools.props.PropertyRepositoryEntry |
---|
PropertyRepositoryEntry.ItemType |
Constructor Summary | |
---|---|
SimplePropertyRepository.PropertyEntry(SimplePropertyRepository.PropertyEntry Parent,
String key,
PropertyRepositoryEntry.ItemType itemType,
boolean isDynamic,
String MainEntry,
String staticDirectoryName,
String BaseFile,
String Prefix,
String ListProperty,
String concatListProperty,
boolean addTargetAsSuffix)
|
Method Summary | |
---|---|
boolean |
addTargetAsSuffix()
indicates whether a target should added as suffix. |
PropertyRepositoryEntry |
createDirSubEntry(String key,
String staticDirectoryName,
String BaseFile,
String MainEntry,
String Prefix,
String ListProperty,
String concatListProperty,
boolean addTargetAsSuffix)
|
PropertyRepositoryEntry |
createFileSubEntry(String key,
String staticDirectoryName,
String BaseFile,
String Prefix,
String ListProperty,
String concatListProperty,
boolean addTargetAsSuffix)
|
String |
getBaseFilename()
returns the filename (without extension) of a basefile |
String |
getConcatListProperty()
indicates whether an property with the generated suffix has to be concatenated with the list property. |
String |
getEntryKey()
returns the key of this entry |
PropertyRepositoryEntry.ItemType |
getItemType()
indicates whether the items are files or subdirectories. |
String |
getKeyPrefix()
returns the property prefix of this entries properties. if this is an static entry it will be taken 1-to-1. if this entry is dynamic, this prefix will be added to the parents entry. |
String |
getListProperty()
returns the property prefix of this entries properties. if this is an static entry it will be taken 1-to-1. if this entry is dynamic, this prefix will be added to the parents entry. |
String |
getMainEntryFilename()
returns the name of the main property file in the directory. |
PropertyRepositoryEntry |
getParentEntry()
returns the parent entry. |
String |
getStaticDirectoryName()
returns the static directory. if Parent is not null, the directory is relative to the parents directoyr |
boolean |
isDynamic()
indicates whether the directory name is dynamic or static. |
int |
read(PropertySupport dest,
File repositoryBase,
String Extension,
String... targets)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimplePropertyRepository.PropertyEntry(SimplePropertyRepository.PropertyEntry Parent, String key, PropertyRepositoryEntry.ItemType itemType, boolean isDynamic, String MainEntry, String staticDirectoryName, String BaseFile, String Prefix, String ListProperty, String concatListProperty, boolean addTargetAsSuffix)
Method Detail |
---|
public boolean addTargetAsSuffix()
PropertyRepositoryEntry
addTargetAsSuffix
in interface PropertyRepositoryEntry
public PropertyRepositoryEntry createDirSubEntry(String key, String staticDirectoryName, String BaseFile, String MainEntry, String Prefix, String ListProperty, String concatListProperty, boolean addTargetAsSuffix)
createDirSubEntry
in interface PropertyRepositoryEntry
public PropertyRepositoryEntry createFileSubEntry(String key, String staticDirectoryName, String BaseFile, String Prefix, String ListProperty, String concatListProperty, boolean addTargetAsSuffix)
createFileSubEntry
in interface PropertyRepositoryEntry
public String getBaseFilename()
PropertyRepositoryEntry
getBaseFilename
in interface PropertyRepositoryEntry
public String getConcatListProperty()
PropertyRepositoryEntry
getConcatListProperty
in interface PropertyRepositoryEntry
public String getEntryKey()
PropertyRepositoryEntry
getEntryKey
in interface PropertyRepositoryEntry
public PropertyRepositoryEntry.ItemType getItemType()
PropertyRepositoryEntry
getItemType
in interface PropertyRepositoryEntry
public String getKeyPrefix()
PropertyRepositoryEntry
getKeyPrefix
in interface PropertyRepositoryEntry
public String getListProperty()
PropertyRepositoryEntry
getListProperty
in interface PropertyRepositoryEntry
public String getMainEntryFilename()
PropertyRepositoryEntry
getMainEntryFilename
in interface PropertyRepositoryEntry
public PropertyRepositoryEntry getParentEntry()
PropertyRepositoryEntry
getParentEntry
in interface PropertyRepositoryEntry
public String getStaticDirectoryName()
PropertyRepositoryEntry
getStaticDirectoryName
in interface PropertyRepositoryEntry
public boolean isDynamic()
PropertyRepositoryEntry
isDynamic
in interface PropertyRepositoryEntry
public int read(PropertySupport dest, File repositoryBase, String Extension, String... targets) throws IOException
read
in interface PropertyRepositoryEntry
IOException
public String toString()
toString
in class Object
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |