[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    svn commit: r760389 -
From:       sebb () apache ! org
Date:       2009-03-31 10:34:54
Message-ID: 20090331103455.1F657238889B () eris ! apache ! org
[Download RAW message or body]

Author: sebb
Date: Tue Mar 31 10:34:52 2009
New Revision: 760389

URL: http://svn.apache.org/viewvc?rev=760389&view=rev
Log:
Javadoc

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveEntry.java


Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveEntry.java
                
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apac \
he/commons/compress/archivers/ArchiveEntry.java?rev=760389&r1=760388&r2=760389&view=diff
 ==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveEntry.java \
                (original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveEntry.java \
Tue Mar 31 10:34:52 2009 @@ -23,9 +23,15 @@
  */
 public interface ArchiveEntry {
 
+    /** The name of the entry in the archive. May refer to a file or directory or \
other item */  public String getName();
 	
+	/** The (uncompressed) size of the entry. May be -1 (SIZE_UNKNOWN) if the size is \
unknown */  public long getSize();
 	
+	/** Special value indicating that the size is unknown */
+	public static final long SIZE_UNKNOWN = -1;
+	
+	/** True if the entry refers to a directory */
 	public boolean isDirectory();
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic