|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJLogView_.utils.LGUtils
public class LGUtils
LGUtils is a class that contains all sorts of useful static methods. It is static so that you can call the methods from anywhere without having to instantiate the object.
Constructor Summary | |
---|---|
LGUtils()
|
Method Summary | |
---|---|
static LGTable[] |
extractAll(java.lang.String[] store)
This is core parsing function to read all markup definitions. |
static java.lang.Object |
mergeArrays(java.lang.Object old,
java.lang.Object toadd)
This methods merge two array together, by appending one to the other. |
static LGTable |
readDatFile(java.io.File dat)
This is the main parsing function to read a CCP4 dat file. |
static LGTable[] |
readLogFile(java.io.File log)
This is the main parsing function to read a CCP4 log file. |
static LGTable |
readXmgrFile(java.io.File xmgr)
This methods is meant to read xmgr format, currently it does nothing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LGUtils()
Method Detail |
---|
public static java.lang.Object mergeArrays(java.lang.Object old, java.lang.Object toadd)
old
- one of the two array of Objects, may be nulltoadd
- the other of the two array of Objects, may be null
Object
public static LGTable[] readLogFile(java.io.File log)
log
- a File object representing the log File being read
LGTable
,
File
public static LGTable[] extractAll(java.lang.String[] store)
store
- an array of String containing only the useful lines from the log file
LGTable
,
File
public static LGTable readXmgrFile(java.io.File xmgr)
public static LGTable readDatFile(java.io.File dat)
dat
- a File object representing the dat File being read
LGTable
,
File
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |