net.sf.jfilesync.gui.viewmodel
Class BasicFilePresenter
java.lang.Object
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
BasicFilePresenter
public BasicFilePresenter()
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