org.jboss.seam.xml.util
Class FileDataReader
java.lang.Object
org.jboss.seam.xml.util.FileDataReader
public class FileDataReader
- extends Object
Utility class that reads a file or URL into a String
- Author:
- Stuart Douglas
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileDataReader
public FileDataReader()
readUrl
public static String readUrl(URL u)
throws IOException
- Throws:
IOException
readFile
public static String readFile(InputStream file)
throws IOException
- Throws:
IOException
Copyright © 2010 Seam Framework. All Rights Reserved.