public class FileLister extends java.lang.Object implements java.lang.Iterable<FileLister.Entry>
| Modifier and Type | Class and Description |
|---|---|
static class |
FileLister.Entry |
| Constructor and Description |
|---|
FileLister(java.lang.String dirOrJarName) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
check(java.lang.String src,
java.lang.String dst)
check if dst is up to date with src, ie at least as new
|
java.util.Iterator<FileLister.Entry> |
iterator() |
FileLister.Entry |
open(java.lang.String relativeFileName) |
public FileLister(java.lang.String dirOrJarName)
throws java.io.IOException
java.io.IOExceptionpublic FileLister.Entry open(java.lang.String relativeFileName) throws java.io.IOException
relativeFileName - java.io.IOExceptionpublic java.util.Iterator<FileLister.Entry> iterator()
iterator in interface java.lang.Iterable<FileLister.Entry>public static boolean check(java.lang.String src,
java.lang.String dst)
src - the source filenamedst - the destination filename