public class ArchiveEntryAdapter extends ArchiveEntry
| 限定符和类型 | 字段和说明 |
|---|---|
protected ArchiveEntry |
entry |
name, output| 构造器和说明 |
|---|
ArchiveEntryAdapter(java.lang.String name,
ArchiveEntry entry) |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
getNameprotected ArchiveEntry entry
public ArchiveEntryAdapter(java.lang.String name,
ArchiveEntry entry)
public long getLength()
throws java.io.IOException
getLength 在类中 ArchiveEntryjava.io.IOExceptionpublic void setLength(long length)
throws java.io.IOException
setLength 在类中 ArchiveEntryjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush 在类中 ArchiveEntryjava.io.IOExceptionpublic void refresh()
throws java.io.IOException
refresh 在类中 ArchiveEntryjava.io.IOExceptionpublic int read(long offset,
byte[] b,
int off,
int size)
throws java.io.IOException
read 在类中 ArchiveEntryjava.io.IOExceptionpublic void write(long offset,
byte[] b,
int off,
int size)
throws java.io.IOException
write 在类中 ArchiveEntryjava.io.IOExceptionpublic void close()
throws java.io.IOException
close 在类中 ArchiveEntryjava.io.IOExceptionprotected void setOutputStream(RAOutputStream output)
setOutputStream 在类中 ArchiveEntryCopyright © 2008 Actuate Corp. All rights reserved.