BASEXSUFFIX, BLOCKSIZE, BXSSUFFIX, CSVSUFFIX, ENTRIES, FILEPREF, GZSUFFIX, HTMLSUFFIXES, JARSUFFIX, JSONSUFFIX, JSSUFFIX, LOGSUFFIX, MAXATTS, NODEPOWER, NODESIZE, OFFCOMP, OFFNUM, RAW, TARGZSUFFIX, TARSUFFIX, TGZSUFFIX, TXTSUFFIXES, XARSUFFIX, XMLSUFFIX, XMLSUFFIXES, XQMSUFFIX, XQSUFFIX, XQSUFFIXES, XSLSUFFIXES, ZIPSUFFIX, ZIPSUFFIXES
Constructor and Description |
---|
IOContent(byte[] content)
Constructor.
|
IOContent(byte[] content,
String path)
Constructor.
|
IOContent(String content)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
InputSource |
inputSource()
Returns an input source.
|
ArrayInput |
inputStream()
Returns an input stream.
|
byte[] |
read()
Returns the binary contents.
|
StreamSource |
streamSource()
Returns a stream source.
|
String |
toString() |
public IOContent(byte[] content)
content
- contentspublic IOContent(String content)
content
- contentspublic IOContent(byte[] content, String path)
content
- contentpath
- content pathpublic byte[] read()
IO
public InputSource inputSource()
IO
inputSource
in class IO
public StreamSource streamSource()
IO
streamSource
in class IO
public ArrayInput inputStream()
IO
inputStream
in class IO
Copyright © 2005–2015 BaseX Team. All rights reserved.