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 |
protected java.io.File |
file
|
Method Summary |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
file
protected java.io.File file
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
getLength
public long getLength()
throws java.io.IOException
- Specified by:
getLength
in class ArchiveEntry
- Throws:
java.io.IOException
setLength
public void setLength(long length)
throws java.io.IOException
- Specified by:
setLength
in class ArchiveEntry
- Throws:
java.io.IOException
read
public int read(long pos,
byte[] b,
int off,
int len)
throws java.io.IOException
- Specified by:
read
in class ArchiveEntry
- Throws:
java.io.IOException
write
public void write(long pos,
byte[] b,
int off,
int len)
throws java.io.IOException
- Specified by:
write
in class ArchiveEntry
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in class ArchiveEntry
- Throws:
java.io.IOException
Copyright © 2008 Actuate Corp. All rights reserved.