public class NTempOutputStreamImpl
extends net.thevpc.nuts.io.NTempOutputStream
| Constructor and Description |
|---|
NTempOutputStreamImpl() |
| Modifier and Type | Method and Description |
|---|---|
BufferedReader |
asBufferedReader() |
BufferedReader |
asBufferedReader(Charset cs) |
Reader |
asReader() |
Reader |
asReader(Charset cs) |
String |
charset() |
void |
close() |
long |
contentLength() |
String |
contentType() |
byte[] |
digest() |
String |
digestString() |
void |
dispose() |
void |
flush() |
byte[] |
getDigest(String algo) |
String |
getDigestString(String algo) |
net.thevpc.nuts.util.NStream<String> |
head(long count) |
net.thevpc.nuts.util.NStream<String> |
head(long count,
Charset cs) |
InputStream |
inputStream() |
boolean |
isKnownContentLength() |
boolean |
isMultiRead() |
net.thevpc.nuts.util.NStream<String> |
lines() |
net.thevpc.nuts.util.NStream<String> |
lines(Charset cs) |
net.thevpc.nuts.util.NStream<String> |
lines(Long from,
Long to) |
net.thevpc.nuts.util.NStream<String> |
lines(Long from,
Long to,
Charset cs) |
net.thevpc.nuts.io.NContentMetadata |
metaData() |
String |
name() |
protected Charset |
nonNullCharset(Charset c) |
byte[] |
readBytes() |
String |
readString() |
net.thevpc.nuts.util.NStream<String> |
reversedLines() |
net.thevpc.nuts.util.NStream<String> |
reversedLines(Charset cs) |
NTempOutputStreamImpl |
setOnCompleted(Consumer<InputStream> onCompleted) |
net.thevpc.nuts.util.NStream<String> |
tail(long count) |
net.thevpc.nuts.util.NStream<String> |
tail(long count,
Charset cs) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public NTempOutputStreamImpl setOnCompleted(Consumer<InputStream> onCompleted)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic String name()
public String contentType()
public String charset()
public net.thevpc.nuts.util.NStream<String> reversedLines()
public net.thevpc.nuts.util.NStream<String> lines()
public String readString()
public byte[] readBytes()
public BufferedReader asBufferedReader()
public BufferedReader asBufferedReader(Charset cs)
public net.thevpc.nuts.util.NStream<String> head(long count)
public net.thevpc.nuts.util.NStream<String> tail(long count)
public Reader asReader()
public String digestString()
public byte[] digest()
public byte[] getDigest(String algo)
public boolean isMultiRead()
public boolean isKnownContentLength()
public long contentLength()
public net.thevpc.nuts.io.NContentMetadata metaData()
public InputStream inputStream()
public void dispose()
Copyright © 2026 vpc open source initiative. All rights reserved.