BASEXSUFFIX, BLOCKSIZE, BXSSUFFIX, CSVSUFFIX, ENTRIES, FILEPREF, GZSUFFIX, HTMLSUFFIXES, IGNORESUFFIX, JARSUFFIX, JSONSUFFIX, JSSUFFIXES, len, LOGSUFFIX, MAXATTS, NODEPOWER, NODESIZE, pth, RAW, TARGZSUFFIX, TARSUFFIX, TGZSUFFIX, TMPSUFFIX, TXTSUFFIXES, XARSUFFIX, XMLSUFFIX, XQMSUFFIX, XQSUFFIX, XQSUFFIXES, XSLSUFFIXES, ZIPSUFFIX, ZIPSUFFIXES
Constructor and Description |
---|
IOStream(InputStream is)
Constructor.
|
IOStream(InputStream is,
String path)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
InputSource |
inputSource()
Returns an input source.
|
InputStream |
inputStream()
Returns an input stream.
|
byte[] |
read()
Returns the binary contents.
|
StreamSource |
streamSource()
Returns a stream source.
|
String |
toString() |
public IOStream(InputStream is)
is
- input streampublic IOStream(InputStream is, String path)
is
- input streampath
- pathpublic byte[] read() throws IOException
IO
read
in class IO
IOException
- I/O exceptionpublic InputSource inputSource()
IO
inputSource
in class IO
public StreamSource streamSource()
IO
streamSource
in class IO
public InputStream inputStream()
IO
inputStream
in class IO
Copyright © 2005–2023 BaseX Team. All rights reserved.