|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.launch.FileSpec
public class FileSpec
Provide file matching for deriving the class path.
Constructor Summary | |
---|---|
FileSpec(File filespec)
Constructor. |
|
FileSpec(File filespec,
boolean caseSensative)
Constructor |
Method Summary | |
---|---|
File[] |
getFiles()
Get the files matching the filespec. |
static boolean |
match(String pattern,
String str,
boolean isCaseSensitive)
Tests whether or not a string matches against a pattern. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileSpec(File filespec)
filespec
- public FileSpec(File filespec, boolean caseSensative)
filespec
- caseSensative
- Method Detail |
---|
public File[] getFiles()
public static boolean match(String pattern, String str, boolean isCaseSensitive)
pattern
- The pattern to match against.
Must not be null
.str
- The string which must be matched against the pattern.
Must not be null
.isCaseSensitive
- Whether or not matching should be performed
case sensitively.
true
if the string matches against the pattern,
or false
otherwise.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |