Class RamFileOutputStream
java.lang.Object
java.io.OutputStream
org.apache.commons.vfs2.provider.ram.RamFileOutputStream
- All Implemented Interfaces:
- Closeable,- Flushable,- AutoCloseable
OutputStream to a RamFile.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected byte[]buffer.protected booleanFile is open or closedprotected RamFileObjectFile.
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.io.OutputStreamwrite
- 
Field Details- 
fileFile.
- 
buffer1buffer.
- 
closedFile is open or closed
 
- 
- 
Constructor Details- 
RamFileOutputStreamConstructs a new instance.- Parameters:
- file- The base file.
 
 
- 
- 
Method Details- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- OutputStream
- Throws:
- IOException
 
- 
flush- Specified by:
- flushin interface- Flushable
- Overrides:
- flushin class- OutputStream
- Throws:
- IOException
 
- 
write- Overrides:
- writein class- OutputStream
- Throws:
- IOException
 
- 
write- Specified by:
- writein class- OutputStream
- Throws:
- IOException
 
 
-