org.eclipse.birt.core.archive.compound
Class ArchiveEntryAdapter
java.lang.Object
org.eclipse.birt.core.archive.compound.ArchiveEntry
org.eclipse.birt.core.archive.compound.ArchiveEntryAdapter
public class ArchiveEntryAdapter
- extends ArchiveEntry
Method Summary |
protected void |
_flush()
|
protected long |
_getLength()
|
protected void |
_refresh()
|
protected void |
_setLength(long length)
|
void |
close()
|
java.lang.String |
getName()
|
int |
read(long offset,
byte[] b,
int off,
int size)
|
void |
write(long offset,
byte[] b,
int off,
int size)
|
Methods inherited from class org.eclipse.birt.core.archive.compound.ArchiveEntry |
discardBuffer, flush, flushBuffer, getLength, getPosition, read, read, readInt, readLong, refresh, refreshBuffer, saveBuffer, seek, setLength, write, write, writeInt, writeLong |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entry
protected ArchiveEntry entry
entryName
protected java.lang.String entryName
ArchiveEntryAdapter
public ArchiveEntryAdapter(java.lang.String name,
ArchiveEntry entry)
getName
public java.lang.String getName()
throws java.io.IOException
- Specified by:
getName
in class ArchiveEntry
- Throws:
java.io.IOException
_getLength
protected long _getLength()
throws java.io.IOException
- Specified by:
_getLength
in class ArchiveEntry
- Throws:
java.io.IOException
_setLength
protected void _setLength(long length)
throws java.io.IOException
- Specified by:
_setLength
in class ArchiveEntry
- Throws:
java.io.IOException
_flush
protected void _flush()
throws java.io.IOException
- Specified by:
_flush
in class ArchiveEntry
- Throws:
java.io.IOException
_refresh
protected void _refresh()
throws java.io.IOException
- Specified by:
_refresh
in class ArchiveEntry
- Throws:
java.io.IOException
read
public int read(long offset,
byte[] b,
int off,
int size)
throws java.io.IOException
- Specified by:
read
in class ArchiveEntry
- Throws:
java.io.IOException
write
public void write(long offset,
byte[] b,
int off,
int size)
throws java.io.IOException
- Specified by:
write
in class ArchiveEntry
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in class ArchiveEntry
- Throws:
java.io.IOException
Copyright © 2008 Actuate Corp. All rights reserved.