org.eclipse.birt.core.archive
Class FolderArchiveEntry

java.lang.Object
  extended by org.eclipse.birt.core.archive.compound.ArchiveEntry
      extended by org.eclipse.birt.core.archive.FolderArchiveEntry

public class FolderArchiveEntry
extends ArchiveEntry


Field Summary
protected  java.io.File file
           
 
Fields inherited from class org.eclipse.birt.core.archive.compound.ArchiveEntry
name, output
 
Constructor Summary
FolderArchiveEntry(java.lang.String name, java.io.File file, java.util.HashSet<RAFolderInputStream> inputs, java.util.HashSet<RAFolderOutputStream> outputs)
           
 
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 org.eclipse.birt.core.archive.compound.ArchiveEntry
flush, getName, refresh, setOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

protected java.io.File file
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 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.