org.xerial.util.xml
Class XMLInputSource

java.lang.Object
  extended by org.xerial.util.xml.XMLInputSource

public class XMLInputSource
extends Object

XMLの入力元(ファイル、InputStreamなど)をそれぞれ同様に扱うためのinterface

Author:
leo

Constructor Summary
XMLInputSource(InputStream byteStream)
           
XMLInputSource(Reader characterStream)
           
XMLInputSource(String fileName)
          URI (ファイルへのパスや、http:// ...など)からXMLを読むときに使う
 
Method Summary
 Reader getReader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLInputSource

public XMLInputSource(InputStream byteStream)

XMLInputSource

public XMLInputSource(Reader characterStream)

XMLInputSource

public XMLInputSource(String fileName)
               throws FileNotFoundException
URI (ファイルへのパスや、http:// ...など)からXMLを読むときに使う

Parameters:
fileName - an URI of an XML resource
Throws:
FileNotFoundException
Method Detail

getReader

public Reader getReader()


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.