org.media.mn8.util.tar
Class TarInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.FilterInputStream
|
+--org.media.mn8.util.tar.TarInputStream
- public class TarInputStream
- extends java.io.FilterInputStream
- Version:
- $Revision: 1.1 $ $Date: 2002/02/27 19:09:47 $
- Author:
- Szabo Csaba
Fields inherited from class java.io.FilterInputStream |
in |
Methods inherited from class java.io.FilterInputStream |
mark, markSupported, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffer
protected TarBuffer buffer
readBuf
protected byte[] readBuf
oneBuf
protected byte[] oneBuf
hasEOF
protected boolean hasEOF
currEntry
protected TarEntry currEntry
entrySize
protected int entrySize
entryOffset
protected int entryOffset
TarInputStream
public TarInputStream(java.io.InputStream is)
getRecordSize
public int getRecordSize()
available
public int available()
throws java.io.IOException
- Overrides:
available
in class java.io.FilterInputStream
close
public void close()
throws java.io.IOException
- Overrides:
close
in class java.io.FilterInputStream
skip
public void skip(int nSkip)
throws java.io.IOException
read
public int read()
throws java.io.IOException
- Overrides:
read
in class java.io.FilterInputStream
read
public int read(byte[] buf)
throws java.io.IOException
- Overrides:
read
in class java.io.FilterInputStream
read
public int read(byte[] buf,
int offset,
int length)
throws java.io.IOException
- Overrides:
read
in class java.io.FilterInputStream
getNextEntry
public TarEntry getNextEntry()
throws java.io.IOException
"Copyright © 2001 Internet Multicasting Services & media.org. All Rights Reserved."