net.sf.jfilesync.gui.viewmodel
Class TFileDataPresenter

java.lang.Object
  extended by net.sf.jfilesync.gui.viewmodel.TFileDataPresenter
All Implemented Interfaces:
java.util.EventListener, TEventListener

public class TFileDataPresenter
extends java.lang.Object
implements TEventListener


Field Summary
private  boolean fileSizeInBytes
           
private static java.math.BigInteger kByte
           
private static java.util.logging.Logger LOGGER
           
private static java.math.BigInteger one
           
private  boolean windows
           
private static java.math.BigInteger zero
           
 
Constructor Summary
TFileDataPresenter()
           
 
Method Summary
 java.lang.String getModTime(TFileProperties file)
           
 java.lang.String getName(TFileProperties file)
           
 java.lang.String getSize(TFileProperties file)
           
protected  void loadConfig()
           
 void processEvent(TEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kByte

private static java.math.BigInteger kByte

one

private static java.math.BigInteger one

zero

private static java.math.BigInteger zero

windows

private boolean windows

fileSizeInBytes

private boolean fileSizeInBytes

LOGGER

private static final java.util.logging.Logger LOGGER
Constructor Detail

TFileDataPresenter

public TFileDataPresenter()
Method Detail

getModTime

public java.lang.String getModTime(TFileProperties file)

getSize

public java.lang.String getSize(TFileProperties file)

getName

public java.lang.String getName(TFileProperties file)

loadConfig

protected void loadConfig()

processEvent

public void processEvent(TEvent e)
Specified by:
processEvent in interface TEventListener