public interface NewPicScanner
Modifier and Type | Method and Description |
---|---|
int |
getNewPicCount()
calling getNewPicCount() runs the scanner and returns the number of pics found.
|
java.util.ArrayList<java.io.File> |
getNewPics()
Get a list of the Files (Pics) found by running getNewPicCount()
|
java.lang.String |
getProcessNewPicsErrorMessage()
If an error occurred during processNewPics, then it will be found here.
|
boolean |
processNewPics()
process any new pics that we've found.
|
void |
setPicExtensions(java.util.List<java.lang.String> picExtensions)
Set the list of file extensions that can be Pics.
|
void setPicExtensions(java.util.List<java.lang.String> picExtensions)
picExtensions
- A List of extensions, without the period. "jpg", "png". In the end, i am only running with "jpg" right now.int getNewPicCount() throws java.lang.Exception
Root
s
that are not in the database.java.lang.Exception
java.util.ArrayList<java.io.File> getNewPics()
boolean processNewPics()
java.lang.String getProcessNewPicsErrorMessage()