mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
add ZipEntry.isDirectory (trivial implementation)
This commit is contained in:
parent
f2e26791a4
commit
8e6f5ac6e3
@ -14,4 +14,8 @@ public abstract class ZipEntry {
|
||||
public abstract String getName();
|
||||
public abstract int getCompressedSize();
|
||||
public abstract int getSize();
|
||||
|
||||
public boolean isDirectory() {
|
||||
return getName().endsWith("/");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user