mirror of
https://github.com/corda/corda.git
synced 2025-05-31 22:50:53 +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 String getName();
|
||||||
public abstract int getCompressedSize();
|
public abstract int getCompressedSize();
|
||||||
public abstract int getSize();
|
public abstract int getSize();
|
||||||
|
|
||||||
|
public boolean isDirectory() {
|
||||||
|
return getName().endsWith("/");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user