org.archive.wayback.liveweb
Class FileRegion
java.lang.Object
org.archive.wayback.liveweb.FileRegion
public class FileRegion
- extends Object
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileRegion
public FileRegion()
getLength
public long getLength()
- Returns:
- the number of bytes in this record, including headers. If the
containing file is compressed, then this represents the number of
compressed bytes.
copyToOutputStream
public void copyToOutputStream(OutputStream o)
throws IOException
- Copy this record to the provided OutputStream
- Parameters:
o - the OutputStream where the bytes should be sent.
- Throws:
IOException - for usual reasons
Copyright © 2005-2011 Internet Archive. All Rights Reserved.