|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.InputSource
org.exist.util.EXistInputSource
org.exist.util.FileInputSource
public class FileInputSource
Constructor Summary | |
---|---|
FileInputSource()
Empty constructor |
|
FileInputSource(File file)
Constructor which calls setFile(File) |
Method Summary | |
---|---|
void |
close()
|
InputStream |
getByteStream()
This method was re-implemented to open a new GZIPInputStream each time it is called. |
long |
getByteStreamLength()
|
File |
getFile()
If a file source has been set, the File object used for that is returned |
String |
getSymbolicPath()
|
void |
setByteStream(InputStream is)
This method now does nothing, so collateral effects from superclass with this one are avoided |
void |
setCharacterStream(Reader r)
This method now does nothing, so collateral effects from superclass with this one are avoided |
void |
setFile(File file)
This method sets the File object used to get the uncompressed stream of data |
void |
setSystemId(String systemId)
This method now does nothing, so collateral effects from superclass with this one are avoided |
Methods inherited from class org.xml.sax.InputSource |
---|
getCharacterStream, getEncoding, getPublicId, getSystemId, setEncoding, setPublicId |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileInputSource()
public FileInputSource(File file)
setFile(File)
file
- The file passed to setFile(File)
Method Detail |
---|
public File getFile()
public void setFile(File file)
file
- The File object pointing to the GZIP file.public InputStream getByteStream()
getByteStream
in class InputSource
public void close()
close
in class EXistInputSource
public void setByteStream(InputStream is)
setByteStream
in class InputSource
public void setCharacterStream(Reader r)
setCharacterStream
in class InputSource
public void setSystemId(String systemId)
setSystemId
in class InputSource
public long getByteStreamLength()
getByteStreamLength
in class EXistInputSource
public String getSymbolicPath()
getSymbolicPath
in class EXistInputSource
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |