]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - sync/fs/SyncFileVisitor.java
1 package org
.argeo
.sync
.fs
;
3 import java
.nio
.file
.Path
;
5 import org
.apache
.commons
.logging
.Log
;
6 import org
.apache
.commons
.logging
.LogFactory
;
7 import org
.argeo
.fs
.BasicSyncFileVisitor
;
9 /** Synchronises two directory structures. */
10 public class SyncFileVisitor
extends BasicSyncFileVisitor
{
11 private final static Log log
= LogFactory
.getLog(SyncFileVisitor
.class);
13 public SyncFileVisitor(Path sourceBasePath
, Path targetBasePath
, boolean delete
) {
14 super(sourceBasePath
, targetBasePath
, delete
);
18 protected void error(Object obj
, Throwable e
) {
23 protected boolean isDebugEnabled() {
24 return log
.isDebugEnabled();
28 protected void debug(Object obj
) {