public class NInputStreamSource extends AbstractSingleReadNInputSource
| Constructor and Description |
|---|
NInputStreamSource(InputStream inputStream,
NContentMetadata md,
NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
void |
dispose() |
String |
getCharset() |
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, NWorkspace workspace)
public long contentLength()
contentLength in interface NInputSourcecontentLength 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 © 2025 vpc open source initiative. All rights reserved.