Class RamFileOutputStream
java.lang.Object
java.io.OutputStream
org.apache.commons.vfs.provider.ram.RamFileOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
OutputStream to a RamFile
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected byte[]bufferprotected booleanprotected RamFileObjectFile -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Field Details
-
file
File -
buffer1
protected byte[] buffer1buffer -
closed
protected boolean closed
-
-
Constructor Details
-
RamFileOutputStream
- Parameters:
mode-
-
-
Method Details
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-