|
||||||||||
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.IOUrl
public final class IOUrl
BaseX input stream.
Field Summary |
---|
Fields inherited from class org.basex.io.IO |
---|
BASEXSUFFIX, BLOCKFILL, BLOCKSIZE, DUMMY, GZSUFFIX, MAXHEIGHT, NODEPOWER, TXTSUFFIX, XMLSUFFIX, XQSUFFIX, ZIPSUFFIX |
Constructor Summary | |
---|---|
IOUrl(java.lang.String u)
Constructor. |
Method Summary | |
---|---|
BufferInput |
buffer()
Returns a buffered reader for the file. |
void |
cache()
Caches the contents. |
boolean |
exists()
Verifies if the file exists. |
org.xml.sax.InputSource |
inputSource()
Returns the next input source. |
IO |
merge(IO f)
Merges two filenames. |
Methods inherited from class org.basex.io.IO |
---|
children, content, date, dbdelete, dbfile, dbname, dbpath, delete, eq, get, getDir, isDir, isSymLink, isSymlink, length, more, name, path, suffix, toString, url, valid, write |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IOUrl(java.lang.String u)
u
- urlMethod Detail |
---|
public void cache() throws java.io.IOException
IO
cache
in class IO
java.io.IOException
- I/O exceptionpublic boolean exists()
IO
exists
in class IO
public org.xml.sax.InputSource inputSource()
IO
inputSource
in class IO
public BufferInput buffer() throws java.io.IOException
IO
buffer
in class IO
java.io.IOException
- I/O exceptionpublic IO merge(IO f)
IO
merge
in class IO
f
- filename of the file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |