mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
add ZipEntry.isDirectory (trivial implementation)
This commit is contained in:
@ -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("/");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user