You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gr...@apache.org on 2009/04/07 18:56:01 UTC

svn commit: r762849 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveEntry.java

Author: grobmeier
Date: Tue Apr  7 16:56:00 2009
New Revision: 762849

URL: http://svn.apache.org/viewvc?rev=762849&view=rev
Log:
added more ar entry details

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

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveEntry.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveEntry.java?rev=762849&r1=762848&r2=762849&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveEntry.java (original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveEntry.java Tue Apr  7 16:56:00 2009
@@ -25,6 +25,27 @@
 /**
  * Represents an archive entry in the "ar" format.
  * 
+ * Each AR archive starts with "!<arch>" followed by a LF. After these 8 bytes
+ * the archive entries are listed. The format of an entry header is as it follows:
+ * 
+ * <code>
+ * START BYTE   END BYTE    NAME                    FORMAT      LENGHT
+ * 0            15          File name               ASCII       16
+ * 16           27          Modification timestamp  Decimal     12
+ * 28           33          Owner ID                Decimal     6
+ * 34           39          Group ID                Decimal     6
+ * 40           47          File mode               Octal       8
+ * 48           57          File size (bytes)       Decimal     10
+ * 58           59          File magic              \140\012    2
+ * </code>
+ * 
+ * This specifies that an ar archive entry header contains 60 bytes.
+ * 
+ * Due to the limitation of the file name length to 16 bytes GNU and BSD has
+ * their own variants of this format. This formats are currently not supported
+ * and file names with a bigger size than 16 bytes are not possible at the
+ * moment.
+ * 
  * @Immutable
  */
 public class ArArchiveEntry implements ArchiveEntry {



Re: Welcome Christian (was Re: svn commit: r762849 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveEntry.java)

Posted by Christian Grobmeier <gr...@gmail.com>.
Thanks for all the welcome mails :-)
Cheers!

2009/4/8 Min Cha <mi...@gmail.com>:
> I have been seeing his activity in Commons so I think he will be a good
> committer for Commons.
>
> Congratulation, Christian! <Especially, for your first commit  :) >
>
> On Wed, Apr 8, 2009 at 2:34 PM, Stefan Bodewig <bo...@apache.org> wrote:
>
>> Christian Grobmeier has been elected as a new Commons committer about
>> two weeks ago and this has been his first commit
>>
>> On 2009-04-07, <gr...@apache.org> wrote:
>>
>> > Author: grobmeier
>> > Date: Tue Apr  7 16:56:00 2009
>> > New Revision: 762849
>>
>> Welcome!
>>
>> Stefan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> --
> Min Cha, Dreaming Developer
> Robust-Task :
> http://code.google.com/p/robust-coupe/wiki/RobustTaskIntroduction
> English : http://minslovey.blogspot.com
> Korean : http://minslovey.tistory.com
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: Welcome Christian (was Re: svn commit: r762849 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveEntry.java)

Posted by Min Cha <mi...@gmail.com>.
I have been seeing his activity in Commons so I think he will be a good
committer for Commons.

Congratulation, Christian! <Especially, for your first commit  :) >

On Wed, Apr 8, 2009 at 2:34 PM, Stefan Bodewig <bo...@apache.org> wrote:

> Christian Grobmeier has been elected as a new Commons committer about
> two weeks ago and this has been his first commit
>
> On 2009-04-07, <gr...@apache.org> wrote:
>
> > Author: grobmeier
> > Date: Tue Apr  7 16:56:00 2009
> > New Revision: 762849
>
> Welcome!
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
Min Cha, Dreaming Developer
Robust-Task :
http://code.google.com/p/robust-coupe/wiki/RobustTaskIntroduction
English : http://minslovey.blogspot.com
Korean : http://minslovey.tistory.com

Welcome Christian (was Re: svn commit: r762849 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveEntry.java)

Posted by Stefan Bodewig <bo...@apache.org>.
Christian Grobmeier has been elected as a new Commons committer about
two weeks ago and this has been his first commit

On 2009-04-07, <gr...@apache.org> wrote:

> Author: grobmeier
> Date: Tue Apr  7 16:56:00 2009
> New Revision: 762849

Welcome!

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org