Class ArchiveEntryAdapter
- java.lang.Object
-
- org.eclipse.birt.core.archive.compound.ArchiveEntry
-
- org.eclipse.birt.core.archive.compound.ArchiveEntryAdapter
-
public class ArchiveEntryAdapter extends ArchiveEntry
-
-
Field Summary
Fields Modifier and Type Field Description protected ArchiveEntryentry-
Fields inherited from class org.eclipse.birt.core.archive.compound.ArchiveEntry
name, output
-
-
Constructor Summary
Constructors Constructor Description ArchiveEntryAdapter(java.lang.String name, ArchiveEntry entry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()longgetLength()intread(long offset, byte[] b, int off, int size)voidrefresh()voidsetLength(long length)protected voidsetOutputStream(RAOutputStream output)voidwrite(long offset, byte[] b, int off, int size)-
Methods inherited from class org.eclipse.birt.core.archive.compound.ArchiveEntry
getName
-
-
-
-
Field Detail
-
entry
protected ArchiveEntry entry
-
-
Constructor Detail
-
ArchiveEntryAdapter
public ArchiveEntryAdapter(java.lang.String name, ArchiveEntry entry)
-
-
Method Detail
-
getLength
public long getLength() throws java.io.IOException- Specified by:
getLengthin classArchiveEntry- Throws:
java.io.IOException
-
setLength
public void setLength(long length) throws java.io.IOException- Specified by:
setLengthin classArchiveEntry- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException- Overrides:
flushin classArchiveEntry- Throws:
java.io.IOException
-
refresh
public void refresh() throws java.io.IOException- Overrides:
refreshin classArchiveEntry- Throws:
java.io.IOException
-
read
public int read(long offset, byte[] b, int off, int size) throws java.io.IOException- Specified by:
readin classArchiveEntry- Throws:
java.io.IOException
-
write
public void write(long offset, byte[] b, int off, int size) throws java.io.IOException- Specified by:
writein classArchiveEntry- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein classArchiveEntry- Throws:
java.io.IOException
-
setOutputStream
protected void setOutputStream(RAOutputStream output)
- Overrides:
setOutputStreamin classArchiveEntry
-
-