|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.argouml.uml.reveng.FileImportUtils
public class FileImportUtils
Utility methods for source file importers.
| Constructor Summary | |
|---|---|
FileImportUtils()
|
|
| Method Summary | |
|---|---|
static java.util.List<java.io.File> |
getList(java.io.File file,
boolean recurse,
org.argouml.util.SuffixFilter[] filters)
Deprecated. for 0.25.4 by tfmorris. Use getList(File, boolean, SuffixFilter[], ProgressMonitor). |
static java.util.List<java.io.File> |
getList(java.io.File file,
boolean recurse,
org.argouml.util.SuffixFilter[] filters,
org.argouml.taskmgmt.ProgressMonitor monitor)
This method returns a List of source files to import. |
static boolean |
matchesSuffix(java.lang.Object file,
org.argouml.util.SuffixFilter[] filters)
Tells if the filename matches one of the given suffixes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileImportUtils()
| Method Detail |
|---|
@Deprecated
public static java.util.List<java.io.File> getList(java.io.File file,
boolean recurse,
org.argouml.util.SuffixFilter[] filters)
getList(File, boolean, SuffixFilter[], ProgressMonitor).
Processing each file in turn is equivalent to a breadth first search through the directory structure.
file - file or directory to importrecurse - if true, descend directory tree recursivelyfilters - array of file suffixes to match for filtering
public static java.util.List<java.io.File> getList(java.io.File file,
boolean recurse,
org.argouml.util.SuffixFilter[] filters,
org.argouml.taskmgmt.ProgressMonitor monitor)
Processing each file in turn is equivalent to a breadth first search through the directory structure.
file - file or directory to importrecurse - if true, descend directory tree recursivelyfilters - array of file suffixes to match for filteringmonitor - a progress monitor which will be monitored for cancellation
requests. (Progress updates are not provided since the amount
of time required to get the files is non-deterministic).
public static boolean matchesSuffix(java.lang.Object file,
org.argouml.util.SuffixFilter[] filters)
file - file to be tested.filters - array of filters to test against.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Cookbook |