public class FileStreamWrapperWrite extends FileStreamWrapper
Collection.Key
STATE_CLOSE, STATE_OPEN
TYPE_LINKED, TYPE_REGULAR, TYPE_SOFT, TYPE_SYNC, TYPE_WEAKED
Constructor and Description |
---|
FileStreamWrapperWrite(Resource res,
String charset,
boolean append,
boolean seekable) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getMode() |
void |
seek(long pos) |
void |
skip(int len) |
void |
write(Object obj) |
static void |
writeToRAF(InputStream is,
RandomAccessFile raf) |
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, getSize, getStatus, info, isEndOfFile, keyIterator, keys, keysAsStringIterator, read, readLine, remove, removeEL, set, setEL, setStatus, size, toDumpData, toString, valueIterator, values
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 FileStreamWrapperWrite(Resource res, String charset, boolean append, boolean seekable)
public void write(Object obj) throws IOException
write
in class FileStreamWrapper
IOException
public void close() throws IOException
close
in class FileStreamWrapper
IOException
public String getMode()
getMode
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
public static void writeToRAF(InputStream is, RandomAccessFile raf) throws IOException
IOException
Copyright © 2015 Lucee