cc.mallet.util
Class IoUtils

java.lang.Object
  extended by cc.mallet.util.IoUtils

public class IoUtils
extends java.lang.Object


Constructor Summary
IoUtils()
           
 
Method Summary
static java.lang.CharSequence contentsAsCharSequence(java.io.Reader reader)
           
static java.lang.String contentsAsString(java.io.File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IoUtils

public IoUtils()
Method Detail

contentsAsCharSequence

public static java.lang.CharSequence contentsAsCharSequence(java.io.Reader reader)
                                                     throws java.io.IOException
Throws:
java.io.IOException

contentsAsString

public static java.lang.String contentsAsString(java.io.File f)
                                         throws java.io.IOException
Throws:
java.io.IOException