|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.emboss.jemboss.programs.ListFile
Parse an EMBOSS 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
Constructor Summary | |
ListFile()
|
Method Summary | |
private static java.lang.String |
addFileToList(java.lang.String line,
java.lang.String listfile,
java.util.Hashtable filesToMove)
Add a file to the list |
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)
|
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
- name of the list filefilesToMove
- hash to put the files intoprivate static java.lang.String addFileToList(java.lang.String line, java.lang.String listfile, java.util.Hashtable filesToMove)
line
- file to addlistfile
- list filefilesToMove
- files to move to the server
private static byte[] getLocalFile(java.io.File name)
name
- file to read
private static java.lang.String[] expandWildcards(java.lang.String line)
line
- line to expand
private static java.lang.String trim(java.lang.String fn)
fn
- file name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |