|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.stellarium.data.DataFileUtil
public class DataFileUtil
Utility class for all flat file manipulation in Stellarium
Constructor Summary | |
---|---|
DataFileUtil()
|
Method Summary | |
---|---|
static java.util.List<java.lang.String> |
getLines(java.lang.String fileName,
java.lang.String fileDescription, boolean exceptionOnOpen)
Extract all the lines of a file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataFileUtil()
Method Detail |
---|
public static java.util.List<java.lang.String> getLines(java.lang.String fileName, java.lang.String fileDescription, boolean exceptionOnOpen) throws StellariumException
fileName
- - the path of the file to open
fileDescription
- - the message if file cannot be read or exception occurs
exceptionOnOpen
-
StellariumException
- If exception during the file reading, but not during file opening
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |