|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.routing.file.FileListAccessor
public class FileListAccessor
FileListAccessor is a utility class that retrieves list file names
from the Smooks ExecutionContext.
| Method Summary | |
|---|---|
static void |
addFileName(String fileName,
ExecutionContext execContext)
Adds the passes in listFileName to the ExecutionContext. |
static List<String> |
getFileList(ExecutionContext executionContext,
String fromFile)
Return the list of files contained in the passed in file "fromFile" |
static List<String> |
getListFileNames(ExecutionContext executionContext)
|
static List<String> |
getListFileNames(Map attributes)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void addFileName(String fileName,
ExecutionContext execContext)
listFileName to the ExecutionContext.
Note that the filename should be specified with a path. This is so that the same filename can be used
in multiple directories.
fileName - - list file name to add to the contextexecContext - - Smooks ExceutionContext
public static List<String> getFileList(ExecutionContext executionContext,
String fromFile)
throws IOException
executionContext - - Smooks execution contextfromFile - - path to list file
IOException - - If the "fromFile" cannot be found or something else IO related goes wrong.public static List<String> getListFileNames(ExecutionContext executionContext)
public static List<String> getListFileNames(Map attributes)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||