Package cc.mallet.util
Class IoUtils
- java.lang.Object
-
- cc.mallet.util.IoUtils
-
public class IoUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IoUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.CharSequence
contentsAsCharSequence(java.io.Reader reader)
static java.lang.String
contentsAsString(java.io.File f)
-
-
-
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
-
-