public class FolderArchiveEntry extends ArchiveEntry
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
file |
name, output
Constructor and Description |
---|
FolderArchiveEntry(java.lang.String name,
java.io.File file,
java.util.HashSet<RAFolderInputStream> inputs,
java.util.HashSet<RAFolderOutputStream> outputs) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getLength() |
int |
read(long pos,
byte[] b,
int off,
int len) |
void |
setLength(long length) |
void |
write(long pos,
byte[] b,
int off,
int len) |
flush, getName, refresh, setOutputStream
public FolderArchiveEntry(java.lang.String name, java.io.File file, java.util.HashSet<RAFolderInputStream> inputs, java.util.HashSet<RAFolderOutputStream> outputs) throws java.io.IOException
java.io.IOException
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 int read(long pos, byte[] b, int off, int len) throws java.io.IOException
read
in class ArchiveEntry
java.io.IOException
public void write(long pos, byte[] b, int off, int len) 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
Copyright © 2014 OpenText Corp. All rights reserved.