public abstract class ArchiveEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
protected RAOutputStream |
output |
Constructor and Description |
---|
ArchiveEntry(java.lang.String name) |
Modifier and Type | Method and 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) |
protected java.lang.String name
protected RAOutputStream output
public java.lang.String getName()
protected void setOutputStream(RAOutputStream output)
public abstract long getLength() throws java.io.IOException
java.io.IOException
public abstract void setLength(long length) throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
java.io.IOException
public void refresh() throws java.io.IOException
java.io.IOException
public abstract int read(long pos, byte[] b, int off, int len) throws java.io.IOException
java.io.IOException
public abstract void write(long pos, byte[] b, int off, int len) throws java.io.IOException
java.io.IOException
public abstract void close() throws java.io.IOException
java.io.IOException
Copyright © 2008 Actuate Corp. All rights reserved.