Package org.eclipse.birt.core.archive
Class FolderArchiveEntry
- java.lang.Object
-
- org.eclipse.birt.core.archive.compound.ArchiveEntry
-
- org.eclipse.birt.core.archive.FolderArchiveEntry
-
public class FolderArchiveEntry extends ArchiveEntry
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.File
file
-
Fields inherited from class org.eclipse.birt.core.archive.compound.ArchiveEntry
name, output
-
-
Constructor Summary
Constructors Constructor Description FolderArchiveEntry(java.lang.String name, java.io.File file, java.util.HashSet<RAFolderInputStream> inputs, java.util.HashSet<RAFolderOutputStream> outputs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.eclipse.birt.core.archive.compound.ArchiveEntry
flush, getName, refresh, setOutputStream
-
-
-
-
Constructor Detail
-
FolderArchiveEntry
public FolderArchiveEntry(java.lang.String name, java.io.File file, java.util.HashSet<RAFolderInputStream> inputs, java.util.HashSet<RAFolderOutputStream> outputs) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getLength
public long getLength() throws java.io.IOException
- Specified by:
getLength
in classArchiveEntry
- Throws:
java.io.IOException
-
setLength
public void setLength(long length) throws java.io.IOException
- Specified by:
setLength
in classArchiveEntry
- Throws:
java.io.IOException
-
read
public int read(long pos, byte[] b, int off, int len) throws java.io.IOException
- Specified by:
read
in classArchiveEntry
- Throws:
java.io.IOException
-
write
public void write(long pos, byte[] b, int off, int len) throws java.io.IOException
- Specified by:
write
in classArchiveEntry
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in classArchiveEntry
- Throws:
java.io.IOException
-
-