@ThreadSafe public class UfsFileOutStream extends FileOutStream
mBytesWritten
Constructor and Description |
---|
UfsFileOutStream(OutputStream stream)
Creates a
UfsFileOutStream . |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Aborts the output stream.
|
void |
close() |
long |
getBytesWritten() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flush
public UfsFileOutStream(OutputStream stream)
UfsFileOutStream
.stream
- the embedded UFS output streampublic long getBytesWritten()
getBytesWritten
in class FileOutStream
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void cancel()
FileOutStream
cancel
in interface Cancelable
cancel
in class FileOutStream
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
Copyright © 2023. All Rights Reserved.