public class ArchiveEntryAdapter extends ArchiveEntry
Modifier and Type | Field and Description |
---|---|
protected ArchiveEntry |
entry |
name, output
Constructor and Description |
---|
ArchiveEntryAdapter(java.lang.String name,
ArchiveEntry entry) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
long |
getLength() |
int |
read(long offset,
byte[] b,
int off,
int size) |
void |
refresh() |
void |
setLength(long length) |
protected void |
setOutputStream(RAOutputStream output) |
void |
write(long offset,
byte[] b,
int off,
int size) |
getName
protected ArchiveEntry entry
public ArchiveEntryAdapter(java.lang.String name, ArchiveEntry entry)
public long getLength() throws java.io.IOException
getLength
in class ArchiveEntry
java.io.IOException
public void setLength(long length) throws java.io.IOException
setLength
in class ArchiveEntry
java.io.IOException
public void flush() throws java.io.IOException
flush
in class ArchiveEntry
java.io.IOException
public void refresh() throws java.io.IOException
refresh
in class ArchiveEntry
java.io.IOException
public int read(long offset, byte[] b, int off, int size) throws java.io.IOException
read
in class ArchiveEntry
java.io.IOException
public void write(long offset, byte[] b, int off, int size) throws java.io.IOException
write
in class ArchiveEntry
java.io.IOException
public void close() throws java.io.IOException
close
in class ArchiveEntry
java.io.IOException
protected void setOutputStream(RAOutputStream output)
setOutputStream
in class ArchiveEntry
Copyright © 2014 OpenText Corp. All rights reserved.