public class FileStreamWrapperReadBinary extends FileStreamWrapper
Collection.Key
STATE_CLOSE, STATE_OPEN
TYPE_LINKED, TYPE_REGULAR, TYPE_SOFT, TYPE_SYNC, TYPE_WEAKED
Constructor and Description |
---|
FileStreamWrapperReadBinary(Resource res,
boolean seekable)
Constructor of the class
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getMode() |
long |
getSize() |
boolean |
isEndOfFile() |
Object |
read(int len) |
void |
seek(long pos) |
void |
skip(int len) |
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, clear, compareTo, compareTo, compareTo, compareTo, containsKey, containsValue, duplicate, entryIterator, get, get, getFilename, getFilepath, getLabel, getLastmodified, getMetadata, getResource, getStatus, info, keyIterator, keys, keysAsStringIterator, readLine, remove, removeEL, set, setEL, setStatus, size, toDumpData, toString, valueIterator, values, write
call, callWithNamedValues, clone, containsKey, containsKey, entrySet, equals, get, get, get, get, get, getIterator, invalidKey, isEmpty, keySet, put, putAll, remove, set, set, setEL, setEL, sizeOf
getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, containsKey, get, get, set, setEL
getIterator
public FileStreamWrapperReadBinary(Resource res, boolean seekable)
res
- charset
- IOException
public Object read(int len) throws IOException
read
in class FileStreamWrapper
IOException
public void close() throws IOException
close
in class FileStreamWrapper
IOException
public String getMode()
getMode
in class FileStreamWrapper
public boolean isEndOfFile()
isEndOfFile
in class FileStreamWrapper
public long getSize()
getSize
in class FileStreamWrapper
public void skip(int len) throws PageException
skip
in class FileStreamWrapper
PageException
public void seek(long pos) throws PageException
seek
in class FileStreamWrapper
PageException
Copyright © 2015 Lucee