railo.runtime.functions.file
Class FileStreamWrapperReadWrite
java.lang.Object
railo.runtime.type.util.StructSupport
railo.runtime.functions.file.FileStreamWrapper
railo.runtime.functions.file.FileStreamWrapperReadWrite
- All Implemented Interfaces:
- Serializable, Cloneable, Map, Dumpable, Castable, Collection, ForEachIteratorable, Iteratorable, Objects, Sizeable, Struct
public class FileStreamWrapperReadWrite
- extends FileStreamWrapper
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class railo.runtime.functions.file.FileStreamWrapper |
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 |
Methods inherited from class railo.runtime.type.util.StructSupport |
call, callWithNamedValues, clone, containsKey, containsKey, entrySet, equals, get, get, get, get, get, getIterator, hashCode, invalidKey, isEmpty, keySet, put, putAll, remove, set, set, setEL, setEL, sizeOf |
FileStreamWrapperReadWrite
public FileStreamWrapperReadWrite(Resource res,
String charset,
boolean seekable)
write
public void write(Object obj)
throws IOException
- Overrides:
write
in class FileStreamWrapper
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in class FileStreamWrapper
- Throws:
IOException
getMode
public String getMode()
- Specified by:
getMode
in class FileStreamWrapper
read
public Object read(int len)
throws IOException
- Overrides:
read
in class FileStreamWrapper
- Throws:
IOException
isEndOfFile
public boolean isEndOfFile()
- Overrides:
isEndOfFile
in class FileStreamWrapper
getSize
public long getSize()
- Overrides:
getSize
in class FileStreamWrapper
skip
public void skip(int len)
throws PageException
- Specified by:
skip
in class FileStreamWrapper
- Throws:
PageException
seek
public void seek(long pos)
throws PageException
- Specified by:
seek
in class FileStreamWrapper
- Throws:
PageException
writeToRAF
public static void writeToRAF(InputStream is,
RandomAccessFile raf)
throws IOException
- Throws:
IOException
Copyright © 2012 Railo