org.jboss.virtual
Class VFSInputSource

java.lang.Object
  extended by org.xml.sax.InputSource
      extended by org.jboss.virtual.VFSInputSource

public class VFSInputSource
extends org.xml.sax.InputSource

VFS based impl of InputSource.

Author:
Ales Justin

Constructor Summary
VFSInputSource(VirtualFile file)
           
 
Method Summary
 java.io.InputStream getByteStream()
           
 java.lang.String getSystemId()
           
 java.lang.String toString()
           
 
Methods inherited from class org.xml.sax.InputSource
getCharacterStream, getEncoding, getPublicId, setByteStream, setCharacterStream, setEncoding, setPublicId, setSystemId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VFSInputSource

public VFSInputSource(VirtualFile file)
Method Detail

getSystemId

public java.lang.String getSystemId()
Overrides:
getSystemId in class org.xml.sax.InputSource

getByteStream

public java.io.InputStream getByteStream()
Overrides:
getByteStream in class org.xml.sax.InputSource

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object