|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
org.eclipse.rse.services.clientserver.archiveutils.TarOutputStream
public class TarOutputStream
This class implements an output stream filter for writing files in the tar file format.
Constructor Summary | |
---|---|
TarOutputStream(OutputStream out)
Creates a new tar output stream. |
Method Summary | |
---|---|
void |
close()
|
void |
closeEntry()
Closes the current tar entry, and positions the stream for writing the next entry. |
void |
putNextEntry(TarEntry entry)
Begins writing a new tar entry, and positions the stream to the start of the entry data. |
void |
write(int b)
|
Methods inherited from class java.io.OutputStream |
---|
flush, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TarOutputStream(OutputStream out)
out
- the actual output stream.Method Detail |
---|
public void close() throws IOException
close
in interface Closeable
close
in class OutputStream
IOException
OutputStream.close()
public void write(int b) throws IOException
write
in class OutputStream
IOException
OutputStream.write(int)
public void putNextEntry(TarEntry entry) throws IOException
IOException
- if an I/O occurs.public void closeEntry() throws IOException
IOException
- if an I/O error occurs.
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |