net.sf.jfilesync.gui.viewmodel
Class BasicFilePresenter

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

public class BasicFilePresenter
extends java.lang.Object
implements TEventListener


Field Summary
private  java.text.SimpleDateFormat dateFormat
           
private  boolean fileSizeInBytes
           
private  boolean isWindows
           
private static java.math.BigInteger KBYTE
           
private static java.util.logging.Logger LOGGER
           
private static java.math.BigInteger ONE
           
private static java.math.BigInteger ZERO
           
 
Constructor Summary
BasicFilePresenter()
           
 
Method Summary
 java.lang.String getModTime(BasicFile file)
           
 java.lang.String getName(BasicFile file)
           
 java.lang.String getSize(BasicFile 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 final java.math.BigInteger KBYTE

ONE

private static final java.math.BigInteger ONE

ZERO

private static final java.math.BigInteger ZERO

isWindows

private final boolean isWindows

fileSizeInBytes

private boolean fileSizeInBytes

LOGGER

private static final java.util.logging.Logger LOGGER

dateFormat

private final java.text.SimpleDateFormat dateFormat
Constructor Detail

BasicFilePresenter

public BasicFilePresenter()
Method Detail

getModTime

public java.lang.String getModTime(BasicFile file)

getSize

public java.lang.String getSize(BasicFile file)

getName

public java.lang.String getName(BasicFile file)

loadConfig

protected void loadConfig()

processEvent

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