|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
org.apache.commons.compress.archivers.ArchiveOutputStream
org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
public class ArArchiveOutputStream
Implements the "ar" archive format as an output stream.
| Constructor Summary | |
|---|---|
ArArchiveOutputStream(java.io.OutputStream pOut)
|
|
| Method Summary | |
|---|---|
void |
close()
|
void |
closeArchiveEntry()
Closes the archive entry, writing any trailer information that may be required. |
ArchiveEntry |
createArchiveEntry(java.io.File inputFile,
java.lang.String entryName)
Create an archive entry using the inputFile and entryName provided. |
void |
finish()
Finishes the addition of entries to this stream, without closing it. |
void |
putArchiveEntry(ArchiveEntry pEntry)
Writes the headers for an archive entry to the output stream. |
void |
write(byte[] b,
int off,
int len)
|
| Methods inherited from class org.apache.commons.compress.archivers.ArchiveOutputStream |
|---|
count, getCount, write |
| Methods inherited from class java.io.OutputStream |
|---|
flush, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArArchiveOutputStream(java.io.OutputStream pOut)
| Method Detail |
|---|
public void closeArchiveEntry()
throws java.io.IOException
ArchiveOutputStream
closeArchiveEntry in class ArchiveOutputStreamjava.io.IOException
public void putArchiveEntry(ArchiveEntry pEntry)
throws java.io.IOException
ArchiveOutputStreamArchiveOutputStream.closeArchiveEntry() to complete the process.
putArchiveEntry in class ArchiveOutputStreampEntry - describes the entry
java.io.IOException
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOException
public ArchiveEntry createArchiveEntry(java.io.File inputFile,
java.lang.String entryName)
throws java.io.IOException
ArchiveOutputStream
createArchiveEntry in class ArchiveOutputStreamjava.io.IOException
public void finish()
throws java.io.IOException
ArchiveOutputStream
finish in class ArchiveOutputStreamjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||