KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > connextra > util > ReaderFactory


1 package com.connextra.util;
2
3 import java.io.*;
4 import java.net.*;
5
6
7 public interface ReaderFactory {
8     public Reader create(File aFile) throws IOException;
9     public Reader create(InputStream anInputStream);
10
11     // BufferedReader due to ElectricXML parsing requiring a reader with mark interface
12
public BufferedReader create(URL aURL) throws IOException;
13 }
Popular Tags