|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.emboss.jemboss.programs.ListFile
| Constructor Summary | |
ListFile()
|
|
| Method Summary | |
private static java.lang.String |
addFileToList(java.lang.String line,
java.lang.String listfile,
java.util.Hashtable filesToMove)
|
private static java.lang.String[] |
expandWildcards(java.lang.String line)
Wildcard (*) is allowed in the filelist data types. |
private static byte[] |
getLocalFile(java.io.File name)
Read file in as a byte array. |
static void |
parse(java.lang.String fn,
java.util.Hashtable filesToMove)
Parse a list file, reading it in line by line, loading other list files recursively if necessary, and loading any files referred to into the filesToMove hash |
private static java.lang.String |
trim(java.lang.String fn)
Given a list file @file or list::file return just the file name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ListFile()
| Method Detail |
public static void parse(java.lang.String fn,
java.util.Hashtable filesToMove)
fn - The name of the list filefilesToMove - The hash to put the files into
private static java.lang.String addFileToList(java.lang.String line,
java.lang.String listfile,
java.util.Hashtable filesToMove)
private static byte[] getLocalFile(java.io.File name)
private static java.lang.String[] expandWildcards(java.lang.String line)
private static java.lang.String trim(java.lang.String fn)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||