FISTest.java Source code

Java tutorial

Introduction

Here is the source code for FISTest.java

Source

import java.io.FileInputStream;

import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamReader;

public class FISTest {
    public static void main(String[] args) throws Exception {
        XMLInputFactory factory = XMLInputFactory.newInstance();
        FileInputStream fis = new FileInputStream("c.xml");
        XMLStreamReader reader = factory.createXMLStreamReader(fis);
        reader.close();
        fis.close();

    }

}