Interface FileSynchronizationStrategy
- All Known Implementing Classes:
LastModifiedStrategy,NeverSynchronizationStrategy,WatchServiceSynchronizationStrategy
public interface FileSynchronizationStrategy
Defines how a
CustomFile should be synchronized
with its underlying filesystem representation.-
Method Summary
Modifier and TypeMethodDescriptionvoidsynchronize(CustomFile file) Synchronizes the given file if required.
-
Method Details
-
synchronize
Synchronizes the given file if required.- Parameters:
file- the file to synchronize
-