|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFileScanner
Scans for files in a background thread. When
interrupted
, it should end ASAP. The
Runnable.run()
may throw RuntimeException
.
Method Summary | |
---|---|
TrackOriginEnum |
getOrigin()
Returns the storage type. |
void |
init(Library library,
GenreCache genreCache)
Initializes the scanner. |
boolean |
isUserNotified()
Invoked when the scan finishes. |
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
---|
void init(Library library, GenreCache genreCache)
library
- the library instance.genreCache
- the genre cache.TrackOriginEnum getOrigin()
null
.boolean isUserNotified()
true
if user was notified about the scan being
finished, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |