public class RemoteFileOutputStream
extends java.io.OutputStream
| Constructor and Description |
|---|
RemoteFileOutputStream(byte[] id,
SyncRemoteFileChannel channel)
Cria um
OutputStream a partir de um canal de acesso a um
arquivo remoto. |
RemoteFileOutputStream(tecgraf.ftc.common.logic.RemoteFileChannelInfo info)
Cria um
OutputStream a partir de um canal de acesso a um
arquivo remoto. |
public RemoteFileOutputStream(tecgraf.ftc.common.logic.RemoteFileChannelInfo info)
throws java.io.IOException
OutputStream a partir de um canal de acesso a um
arquivo remoto.info - Informações para conexão do canal.java.io.IOException - Em caso de falha na operação.public RemoteFileOutputStream(byte[] id,
SyncRemoteFileChannel channel)
OutputStream a partir de um canal de acesso a um
arquivo remoto.id - Indentificador do arquivo remoto.channel - Canal de acesso ao arquivo remoto. Deve ter sido aberto
antes de ser passado a esse construtor.public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2016. All Rights Reserved.