Package org.basex.io
Class IOStream
java.lang.Object
org.basex.io.IO
org.basex.io.IOStream
IO stream.- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
Fields inherited from class org.basex.io.IO
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 Summary
ConstructorsConstructorDescriptionIOStream(InputStream is) Constructor.IOStream(InputStream is, String path) Constructor. -
Method Summary
-
Constructor Details
-
IOStream
Constructor.- Parameters:
is- input stream
-
IOStream
Constructor.- Parameters:
is- input streampath- path
-
-
Method Details
-
read
Description copied from class:IOReturns the binary contents.- Specified by:
readin classIO- Returns:
- binary contents
- Throws:
IOException- I/O exception
-
inputSource
Description copied from class:IOReturns an input source.- Specified by:
inputSourcein classIO- Returns:
- input source
-
streamSource
Description copied from class:IOReturns a stream source.- Specified by:
streamSourcein classIO- Returns:
- stream source
-
inputStream
Description copied from class:IOReturns an input stream.- Specified by:
inputStreamin classIO- Returns:
- input stream
-
toString
-