Compartilhar via


LengthLimitingStream Classe

  • java.lang.Object
    • OutputStream

public class LengthLimitingStream extends BlobOutputStream

Resumo do Construtor

Construtor Description
LengthLimitingStream(OutputStream wrappedStream, long start, Long length)

Resumo do método

Modificador e tipo Método e descrição
void close()
void flush()
void write(byte[] data, int offset, int length)
void write(InputStream sourceStream, long writeLength)

Membros herdados

Detalhes do construtor

LengthLimitingStream

public LengthLimitingStream(OutputStream wrappedStream, long start, Long length)

Parameters:

wrappedStream
start
length

Detalhes do método

close

public void close()

flush

public void flush()

write

public void write(byte[] data, int offset, int length)

Parameters:

data
offset
length

write

public void write(InputStream sourceStream, long writeLength)

Parameters:

sourceStream
writeLength

Aplica-se a