|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mymedialite.io.NumberFile
public class NumberFile
Routines to read lists of numbers from text files.
Method Summary | |
---|---|
static java.util.List<java.lang.Integer> |
readIntegers(java.io.BufferedReader reader)
Read a list of integers from a BufferedReader. |
static java.util.List<java.lang.Integer> |
readIntegers(java.lang.String filename)
Read a list of integers from a file. |
static java.util.List<java.lang.Long> |
readLongs(java.io.BufferedReader reader)
Read a list of longs from a BufferedReader. |
static java.util.List<java.lang.Long> |
readLongs(java.lang.String filename)
Read a list of longs from a file. |
static java.util.List<java.lang.String> |
readStrings(java.io.BufferedReader reader)
Read a list of integers from a BufferedReader. |
static java.util.List<java.lang.String> |
readStrings(java.lang.String filename)
Read a list of integers from a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.List<java.lang.Long> readLongs(java.io.BufferedReader reader) throws java.io.IOException
reader
- the BufferedReader to be read from
java.io.IOException
public static java.util.List<java.lang.Long> readLongs(java.lang.String filename) throws java.io.IOException
filename
- the name of the file to be read from
java.io.IOException
public static java.util.List<java.lang.Integer> readIntegers(java.io.BufferedReader reader) throws java.io.IOException
reader
- the BufferedReader to be read from
java.io.IOException
public static java.util.List<java.lang.Integer> readIntegers(java.lang.String filename) throws java.io.IOException
filename
- the name of the file to be read from
java.io.IOException
public static java.util.List<java.lang.String> readStrings(java.io.BufferedReader reader) throws java.io.IOException
reader
- the BufferedReader to be read from
java.io.IOException
public static java.util.List<java.lang.String> readStrings(java.lang.String filename) throws java.io.IOException
filename
- the name of the file to be read from
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |