org.jboss.virtual
Class VFSInputSource

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

public class VFSInputSource
extends InputSource

VFS based impl of InputSource.

Author:
Ales Justin

Constructor Summary
VFSInputSource(VirtualFile file)
           
 
Method Summary
 InputStream getByteStream()
           
 Reader getCharacterStream()
           
 String getSystemId()
           
 String toString()
           
 
Methods inherited from class org.xml.sax.InputSource
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 String getSystemId()
Overrides:
getSystemId in class InputSource

getByteStream

public InputStream getByteStream()
Overrides:
getByteStream in class InputSource

getCharacterStream

public Reader getCharacterStream()
Overrides:
getCharacterStream in class InputSource

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 JBoss, A division of Red Hat, Inc. All Rights Reserved.