|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softsynth.util.FileSearch
public class FileSearch
Wildcard search for files in directory.
Constructor Summary | |
---|---|
FileSearch()
|
Method Summary | |
---|---|
static void |
createDirectoryIfNeeded(java.io.File dir)
Create directory with the given name if it doesn't exist. |
static void |
createDirectoryIfNeeded(java.lang.String directoryName)
Create directory if it doesn't exist. |
static void |
expandFilename(java.lang.String filename,
java.util.Vector expandedFilenames)
Expand filename that may contain wildcards and add to a vector of filenames without wildcards. |
static java.util.Vector |
expandFilenames(java.util.Vector filenames)
Expand vector of filenames that may contain wildcards into a new vector of filenames without wildcards. |
static void |
main(java.lang.String[] args)
|
static java.lang.String |
removeExtension(java.lang.String pathName)
Remove any dot extension from file name. |
static java.lang.String |
removeParent(java.lang.String pathName)
Extract file name from full pathname. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileSearch()
Method Detail |
---|
public static java.util.Vector expandFilenames(java.util.Vector filenames)
public static void expandFilename(java.lang.String filename, java.util.Vector expandedFilenames)
public static java.lang.String removeParent(java.lang.String pathName)
public static java.lang.String removeExtension(java.lang.String pathName)
public static void main(java.lang.String[] args)
public static void createDirectoryIfNeeded(java.lang.String directoryName) throws java.lang.SecurityException
java.lang.SecurityException
public static void createDirectoryIfNeeded(java.io.File dir) throws java.lang.SecurityException
java.lang.SecurityException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |