net.sf.jfilesync.engine
Class TFileData
java.lang.Object
net.sf.jfilesync.engine.TFileData
- All Implemented Interfaces:
- java.lang.Cloneable
public class TFileData
- extends java.lang.Object
- implements java.lang.Cloneable
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileProperties
private final java.util.List<TFileProperties> fileProperties
supportedProperties
private int[] supportedProperties
lastSortedProperty
private int lastSortedProperty
lastSortDirection
private int lastSortDirection
TFileData
public TFileData()
addFileProperties
public void addFileProperties(TFileProperties fileProp)
getNumberOfFilePropertiesToPublish
public int getNumberOfFilePropertiesToPublish()
getNumberofFiles
public int getNumberofFiles()
getSizeofFilesInKByte
public long getSizeofFilesInKByte()
getFileProperties
public TFileProperties getFileProperties(int pos)
getPropertyAtColumn
public int getPropertyAtColumn(int colIndex)
clone
public java.lang.Object clone()
- Overrides:
clone in class java.lang.Object
getFileProperties
public java.util.List<TFileProperties> getFileProperties()
getFilePropertiesArray
public TFileProperties[] getFilePropertiesArray()
getCurrentSortedProperty
public int getCurrentSortedProperty()
- returns the last sorted property or -1 if never sorted
- See Also:
TFileDataSorter
getLastSortDirection
public int getLastSortDirection()
- returns the last used direction to sort or -1 if never sorted
- See Also:
TFileDataSorter
setCurrentSortedProperty
protected void setCurrentSortedProperty(int property,
int direction)