com.infoteria.asteria.util.xml
Class SAXUtil

java.lang.Object
  |
  +--com.infoteria.asteria.util.xml.SAXUtil

public class SAXUtil
extends java.lang.Object

SAXのXMLReaderを生成するユーティリティクラスです。


Method Summary
 org.xml.sax.InputSource getInputSource(java.io.File file)
          FileをInputSource化します
 org.xml.sax.InputSource getInputSource(java.io.InputStream stream)
          InputStreamをInputSource化します
static SAXUtil newInstance()
          SAXUtilの新しいインスタンスを生成します
 org.xml.sax.XMLReader newXMLReader()
          新しいXMLReaderを生成します
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static SAXUtil newInstance()
SAXUtilの新しいインスタンスを生成します

newXMLReader

public org.xml.sax.XMLReader newXMLReader()
新しいXMLReaderを生成します

getInputSource

public org.xml.sax.InputSource getInputSource(java.io.File file)
                                       throws java.io.FileNotFoundException
FileをInputSource化します

getInputSource

public org.xml.sax.InputSource getInputSource(java.io.InputStream stream)
                                       throws java.io.FileNotFoundException
InputStreamをInputSource化します