net.sf.retrotranslator.transformer
Class FolderFileContainer
java.lang.Object
net.sf.retrotranslator.transformer.FileContainer
net.sf.retrotranslator.transformer.FolderFileContainer
class FolderFileContainer
- extends FileContainer
- Author:
- Taras Puchko
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
entries
private java.util.Map<java.lang.String,FolderFileContainer.FolderFileEntry> entries
FolderFileContainer
public FolderFileContainer(java.io.File location)
FolderFileContainer
public FolderFileContainer(java.io.File location,
java.util.List<java.lang.String> fileNames)
getEntries
public java.util.Collection<? extends FileEntry> getEntries()
- Specified by:
getEntries
in class FileContainer
removeEntry
public void removeEntry(java.lang.String name)
- Specified by:
removeEntry
in class FileContainer
scanFolder
private void scanFolder(java.io.File folder,
int prefixLength)
putEntry
public void putEntry(java.lang.String name,
byte[] contents,
boolean modified)
- Specified by:
putEntry
in class FileContainer
initEntries
private void initEntries()
flush
public void flush(SystemLogger logger)
- Specified by:
flush
in class FileContainer
containsUpToDate
public boolean containsUpToDate(java.lang.String name,
long sourceTime)
- Specified by:
containsUpToDate
in class FileContainer
lastModified
public long lastModified()
- Specified by:
lastModified
in class FileContainer