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 boolean
protected RamFileObject
File -
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:
write
in classOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-