com.canoo.ant.table
Class APropertyTable
java.lang.Object
com.canoo.ant.table.APropertyTable
- All Implemented Interfaces:
- IPropertyTable
- Direct Known Subclasses:
- DirectoryPropertyTable, ExcelPropertyTable
public abstract class APropertyTable
- extends Object
- implements IPropertyTable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY
protected static final String EMPTY
- See Also:
- Constant Field Values
KEY_JOIN
protected static final String KEY_JOIN
- See Also:
- Constant Field Values
APropertyTable
protected APropertyTable()
getColumnInfo
public Map getColumnInfo()
- Specified by:
getColumnInfo in interface IPropertyTable
- Returns:
- columnName -> expander (Type IPropertyTable)
getPropertiesList
public List getPropertiesList(String filterValue,
String prefix)
- Specified by:
getPropertiesList in interface IPropertyTable
- Returns:
- List of Property objects
- See Also:
Properties
expandName
protected void expandName(List result,
String expansionName,
Map colInfo)
expandProps
protected List expandProps(Properties props,
String expansionName,
Map colInfo)
getContainer
public File getContainer()
- Specified by:
getContainer in interface IPropertyTable
setContainer
public void setContainer(File container)
- Specified by:
setContainer in interface IPropertyTable
getTable
public String getTable()
- Specified by:
getTable in interface IPropertyTable
setTable
public void setTable(String table)
- Specified by:
setTable in interface IPropertyTable
getFilter
public ITableFilter getFilter()
- Specified by:
getFilter in interface IPropertyTable
setFilter
public void setFilter(ITableFilter filter)
- Specified by:
setFilter in interface IPropertyTable
getPrefix
public String getPrefix()
- Specified by:
getPrefix in interface IPropertyTable
setPrefix
public void setPrefix(String prefix)
- Specified by:
setPrefix in interface IPropertyTable
getRawTable
public List getRawTable()
- lazy getter, cached
getMetaTable
public List getMetaTable()
- lazy getter, cached
hasJoinTable
protected boolean hasJoinTable()
- Indicates if the table container has a JOIN table.
- Returns:
- default is
true
getCachedTable
protected List getCachedTable(String table,
List tableCache)
read
protected abstract List read(String table)
throws IOException
- Throws:
IOException