|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.io.IO
org.basex.io.IOContent
public final class IOContent
Byte contents, wrapped into an IO representation.
| Field Summary |
|---|
| Fields inherited from class org.basex.io.IO |
|---|
BASEXSUFFIX, BLOCKFILL, BLOCKSIZE, DUMMY, GZSUFFIX, MAXHEIGHT, NODEPOWER, NUMOFF, XMLSUFFIX, XQSUFFIX, ZIPSUFFIX |
| Constructor Summary | |
|---|---|
IOContent(byte[] c)
Constructor. |
|
IOContent(byte[] c,
String p)
Constructor. |
|
| Method Summary | |
|---|---|
BufferInput |
buffer()
Returns a buffered reader for the file. |
void |
cache()
Caches the contents. |
InputSource |
inputSource()
Returns the next input source. |
IO |
merge(String f)
Merges two filenames. |
String |
toString()
|
| Methods inherited from class org.basex.io.IO |
|---|
children, content, date, dbname, delete, dir, eq, exists, get, getDir, isDir, length, md, more, name, path, url, write |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IOContent(byte[] c)
c - contents
public IOContent(byte[] c,
String p)
c - contentsp - content path| Method Detail |
|---|
public void cache()
IO
cache in class IOpublic InputSource inputSource()
IO
inputSource in class IOpublic BufferInput buffer()
IO
buffer in class IOpublic IO merge(String f)
IO
merge in class IOf - filename of the file
public String toString()
toString in class IO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||