Package org.hibernate.search.util
Class FileHelper
java.lang.Object
org.hibernate.search.util.FileHelper
Utility class for synchronizing files/directories.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT_COPY_BUFFER_SIZE
public static final long DEFAULT_COPY_BUFFER_SIZE- See Also:
-
-
Constructor Details
-
FileHelper
public FileHelper()
-
-
Method Details
-
areInSync
- Throws:
IOException
-
synchronize
- Throws:
IOException
-
synchronize
public static void synchronize(File source, File destination, boolean smart, long chunkSize) throws IOException - Throws:
IOException
-
delete
-