org.media.mn8.util.tar
Class TarBuffer

java.lang.Object
  |
  +--org.media.mn8.util.tar.TarBuffer

public class TarBuffer
extends Object

Version:
$Revision: 1.2 $ $Date: 2002/02/27 19:21:18 $
Author:
Szabo Csaba

Field Summary
static int DEFAULT_BLKSIZE
           
static int DEFAULT_RCDSIZE
           
 
Constructor Summary
TarBuffer(InputStream is)
           
TarBuffer(OutputStream os)
           
 
Method Summary
 void close()
           
 int getBlockSize()
           
 int getRecordSize()
           
 boolean isEOFRecord(byte[] rec)
           
 byte[] readRecord()
           
 void writeRecord(byte[] buffer)
           
 void writeRecord(byte[] buf, int offset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_RCDSIZE

public static final int DEFAULT_RCDSIZE
See Also:
Constant Field Values

DEFAULT_BLKSIZE

public static final int DEFAULT_BLKSIZE
See Also:
Constant Field Values
Constructor Detail

TarBuffer

public TarBuffer(InputStream is)

TarBuffer

public TarBuffer(OutputStream os)
Method Detail

getRecordSize

public int getRecordSize()

getBlockSize

public int getBlockSize()

isEOFRecord

public boolean isEOFRecord(byte[] rec)

readRecord

public byte[] readRecord()
                  throws IOException
IOException

writeRecord

public void writeRecord(byte[] buffer)
                 throws IOException
IOException

writeRecord

public void writeRecord(byte[] buf,
                        int offset)
                 throws IOException
IOException

close

public void close()
           throws IOException
IOException


"Copyright © 2000-2002 Internet Multicasting Services, media.org & noLimits Technologies. All Rights Reserved."