org.exist.util
Class VirtualTempFileInputSource

java.lang.Object
  extended by org.xml.sax.InputSource
      extended by org.exist.util.EXistInputSource
          extended by org.exist.util.VirtualTempFileInputSource

public class VirtualTempFileInputSource
extends EXistInputSource

This class extends InputSource, so it also manages File and VirtualTempFile as input sources.

Author:
jmfernandez

Constructor Summary
VirtualTempFileInputSource(File file)
           
VirtualTempFileInputSource(VirtualTempFile vtempFile)
           
 
Method Summary
 void close()
           
 void free()
           
 InputStream getByteStream()
           
 long getByteStreamLength()
           
 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 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

VirtualTempFileInputSource

public VirtualTempFileInputSource(VirtualTempFile vtempFile)
                           throws IOException
Throws:
IOException

VirtualTempFileInputSource

public VirtualTempFileInputSource(File file)
Method Detail

getByteStream

public InputStream getByteStream()
Overrides:
getByteStream in class InputSource

getByteStreamLength

public long getByteStreamLength()
Specified by:
getByteStreamLength in class EXistInputSource

setByteStream

public void setByteStream(InputStream is)
This method now does nothing, so collateral effects from superclass with this one are avoided

Overrides:
setByteStream in class InputSource

setCharacterStream

public void setCharacterStream(Reader r)
This method now does nothing, so collateral effects from superclass with this one are avoided

Overrides:
setCharacterStream in class InputSource

setSystemId

public void setSystemId(String systemId)
This method now does nothing, so collateral effects from superclass with this one are avoided

Overrides:
setSystemId in class InputSource

free

public void free()

getSymbolicPath

public String getSymbolicPath()
Specified by:
getSymbolicPath in class EXistInputSource

close

public void close()
Specified by:
close in class EXistInputSource


Copyright (C) Wolfgang Meier. All rights reserved.