Class ArchiveEntry
- java.lang.Object
-
- org.eclipse.birt.core.archive.compound.ArchiveEntry
-
- Direct Known Subclasses:
ArchiveEntryAdapter
,ArchiveEntryV3
,FolderArchiveEntry
public abstract class ArchiveEntry extends java.lang.Object
the user must close the archive
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
name
protected RAOutputStream
output
-
Constructor Summary
Constructors Constructor Description ArchiveEntry(java.lang.String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
close()
void
flush()
abstract long
getLength()
java.lang.String
getName()
abstract int
read(long pos, byte[] b, int off, int len)
void
refresh()
abstract void
setLength(long length)
protected void
setOutputStream(RAOutputStream output)
abstract void
write(long pos, byte[] b, int off, int len)
-
-
-
Field Detail
-
name
protected java.lang.String name
-
output
protected RAOutputStream output
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setOutputStream
protected void setOutputStream(RAOutputStream output)
-
getLength
public abstract long getLength() throws java.io.IOException
- Throws:
java.io.IOException
-
setLength
public abstract void setLength(long length) throws java.io.IOException
- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException
- Throws:
java.io.IOException
-
refresh
public void refresh() throws java.io.IOException
- Throws:
java.io.IOException
-
read
public abstract int read(long pos, byte[] b, int off, int len) throws java.io.IOException
- Throws:
java.io.IOException
-
write
public abstract void write(long pos, byte[] b, int off, int len) throws java.io.IOException
- Throws:
java.io.IOException
-
close
public abstract void close() throws java.io.IOException
- Throws:
java.io.IOException
-
-