public class PrintPhotoDir extends Object
Usage: java ca.bc.webarts.widgets.PrintPhotoDir [directory] The directory is not required... if NOT spec'd the current dir will be processed.
Modifier and Type | Field and Description |
---|---|
protected String |
imageFileExtension_
The file extension to search for.
|
Constructor and Description |
---|
PrintPhotoDir()
The default empty constructor for this class.
|
PrintPhotoDir(String dirStr)
The main constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
String |
getFileExtension() |
static void |
main(String[] args)
The main entry for this app.
|
int |
printPhotosFromDir(String fileName)
Does the grunt work to print the files in a dir.
|
protected String imageFileExtension_
public PrintPhotoDir()
public PrintPhotoDir(String dirStr)
urlStr
- the string representation of the URL to grab.public static void main(String[] args)
args
- is a dir to do the deed on (NOT REQUIRED - default is current dir).public int printPhotosFromDir(String fileName)
fileName
- is the name of the dir to convert.recurseDir
- flag to recurse the dir.public String getFileExtension()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses