net.sf.jfilesync.engine
Class CapiFileImpl

java.lang.Object
  extended by net.sf.jfilesync.engine.CapiFileImpl
All Implemented Interfaces:
CapiFile

public class CapiFileImpl
extends java.lang.Object
implements CapiFile

This class stores the common file properties like size, modification time, permissions. This class is supposed to be the replacement class for TFileProperties.

Author:
sascha

Field Summary
private  java.util.List<CapiFile> children
           
private  TFileProperties fileProps
           
 
Constructor Summary
CapiFileImpl(TFileProperties properties)
           
 
Method Summary
 void addChild(CapiFile file)
           
 boolean hasChildren()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

children

private java.util.List<CapiFile> children

fileProps

private final TFileProperties fileProps
Constructor Detail

CapiFileImpl

public CapiFileImpl(TFileProperties properties)
Method Detail

addChild

public void addChild(CapiFile file)
Specified by:
addChild in interface CapiFile

hasChildren

public boolean hasChildren()
Specified by:
hasChildren in interface CapiFile