Package kilim.analysis
Class DirIterator.DirEntry
- java.lang.Object
-
- kilim.analysis.FileLister.Entry
-
- kilim.analysis.DirIterator.DirEntry
-
- Enclosing class:
- DirIterator
private class DirIterator.DirEntry extends FileLister.Entry
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.io.Filefile
-
Constructor Summary
Constructors Constructor Description DirEntry(java.io.File f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheck(java.lang.String outdir)check if a newer version of the file exists in an output directory.java.lang.StringgetFileName()java.io.InputStreamgetInputStream()longgetSize()
-
-
-
Method Detail
-
getSize
public long getSize()
- Specified by:
getSizein classFileLister.Entry
-
getFileName
public java.lang.String getFileName()
- Specified by:
getFileNamein classFileLister.Entry
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException- Specified by:
getInputStreamin classFileLister.Entry- Throws:
java.io.IOException
-
check
public boolean check(java.lang.String outdir)
Description copied from class:FileLister.Entrycheck if a newer version of the file exists in an output directory. false negatives are allowed- Overrides:
checkin classFileLister.Entry- Parameters:
outdir- the output directory- Returns:
- true if the newer version exists
-
-