2013-07-03 02:52:38 +00:00
|
|
|
/* Copyright (c) 2008-2013, Avian Contributors
|
2008-11-11 15:20:49 +00:00
|
|
|
|
|
|
|
Permission to use, copy, modify, and/or distribute this software
|
|
|
|
for any purpose with or without fee is hereby granted, provided
|
|
|
|
that the above copyright notice and this permission notice appear
|
|
|
|
in all copies.
|
|
|
|
|
|
|
|
There is NO WARRANTY for this software. See license.txt for
|
|
|
|
details. */
|
|
|
|
|
|
|
|
package java.util.zip;
|
|
|
|
|
|
|
|
public abstract class ZipEntry {
|
|
|
|
public abstract String getName();
|
|
|
|
public abstract int getCompressedSize();
|
2011-03-26 01:14:21 +00:00
|
|
|
public abstract int getSize();
|
2012-03-21 16:38:30 +00:00
|
|
|
|
|
|
|
public boolean isDirectory() {
|
|
|
|
return getName().endsWith("/");
|
|
|
|
}
|
2008-11-11 15:20:49 +00:00
|
|
|
}
|