public class NInputStreamSource extends AbstractSingleReadNInputSource
| Constructor and Description |
|---|
NInputStreamSource(InputStream inputStream,
NContentMetadata md) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
String |
getCharset() |
long |
getContentLength() |
String |
getContentType() |
InputStream |
getInputStream() |
NContentMetadata |
getMetaData() |
String |
getName() |
isKnownContentLength, isMultiReadgetBufferedReader, getBufferedReader, getDigest, getDigest, getDigestString, getDigestString, getReader, getReader, head, head, lines, lines, nonNullCharset, readBytes, readString, reversedLines, reversedLines, tail, tailpublic NInputStreamSource(InputStream inputStream, NContentMetadata md)
public long getContentLength()
getContentLength in interface NInputSourcegetContentLength in class AbstractSingleReadNInputSourcepublic InputStream getInputStream()
public NContentMetadata getMetaData()
public String getName()
getName in interface NInputContentProvidergetName in class AbstractNInputSourcepublic String getContentType()
getContentType in interface NInputContentProvidergetContentType in class AbstractNInputSourcepublic String getCharset()
getCharset in interface NInputContentProvidergetCharset in class AbstractNInputSourcepublic void dispose()
Copyright © 2026 vpc open source initiative. All rights reserved.