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.Filefile-
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 voidclose()longgetLength()intread(long pos, byte[] b, int off, int len)voidsetLength(long length)voidwrite(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:
getLengthin classArchiveEntry- Throws:
java.io.IOException
-
setLength
public void setLength(long length) throws java.io.IOException- Specified by:
setLengthin classArchiveEntry- Throws:
java.io.IOException
-
read
public int read(long pos, byte[] b, int off, int len) throws java.io.IOException- Specified by:
readin classArchiveEntry- Throws:
java.io.IOException
-
write
public void write(long pos, byte[] b, int off, int len) throws java.io.IOException- Specified by:
writein classArchiveEntry- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein classArchiveEntry- Throws:
java.io.IOException
-
-