Package | Description |
---|---|
org.javlo.service.syncro |
Modifier and Type | Method and Description |
---|---|
FileInfo |
FileInfo.clone() |
static FileInfo |
FileInfo.getDeletedFileInfo(String path,
long deletedDate) |
static FileInfo |
FileInfo.getFileInfo(String relativePath,
File file,
String precomputedChecksum) |
FileInfo |
BaseSynchroContext.getInfo(AbstractSynchroContext.SynchroSide side,
String path) |
protected FileInfo |
BaseSynchroService.moveLocalFile(BaseSynchroContext context,
FileInfo localInfo,
String newPath) |
FileInfo |
BaseSynchroContext.updateOutState(String path,
File localFile,
FileInfo fileInfo) |
Modifier and Type | Method and Description |
---|---|
static Map<String,FileInfo> |
FileStructureFactory.asMapByPath(List<FileInfo> list) |
static Map<String,FileInfo> |
FileStructureFactory.cloneMap(Map<String,FileInfo> map) |
List<FileInfo> |
FileStructureFactory.fileTreeToList(boolean useKnownFiles,
boolean includeDeleted) |
Map<String,FileInfo> |
FileStructureFactory.fileTreeToMap(boolean useKnownFiles,
boolean includeDeleted) |
List<FileInfo> |
BaseSynchroContext.getDistantDirectoryToDelete() |
List<FileInfo> |
BaseSynchroContext.getLocalDirectoryToDelete() |
Map<String,FileInfo> |
BaseSynchroContext.getOutState() |
protected Map<String,FileInfo> |
BaseSynchroContext.loadDistantInfo() |
protected Map<String,FileInfo> |
BaseSynchroContext.loadLocalInfo() |
protected Map<String,FileInfo> |
BaseSynchroContext.loadPreviousInfo(Object previousState) |
static Map<String,FileInfo> |
FileStructureFactory.readFromStream(InputStream in) |
Modifier and Type | Method and Description |
---|---|
File |
BaseSynchroService.buildLocalFile(FileInfo fileInfo) |
int |
BaseSynchroService.FileInfoPathComparator.compare(FileInfo o1,
FileInfo o2) |
protected boolean |
BaseSynchroService.copyDistantToLocal(BaseSynchroContext context,
FileInfo distantInfo) |
protected boolean |
BaseSynchroService.copyLocalToDistant(BaseSynchroContext context,
FileInfo localInfo) |
protected boolean |
BaseSynchroService.copyLocalToDistant(BaseSynchroContext context,
FileInfo localInfo,
int retry) |
protected boolean |
BaseSynchroService.deleteDistantFile(BaseSynchroContext context,
FileInfo distantInfo) |
protected boolean |
BaseSynchroService.deleteLocalFile(BaseSynchroContext context,
FileInfo localInfo) |
protected FileInfo |
BaseSynchroService.moveLocalFile(BaseSynchroContext context,
FileInfo localInfo,
String newPath) |
FileInfo |
BaseSynchroContext.updateOutState(String path,
File localFile,
FileInfo fileInfo) |
Modifier and Type | Method and Description |
---|---|
static Map<String,FileInfo> |
FileStructureFactory.asMapByPath(List<FileInfo> list) |
static Map<String,FileInfo> |
FileStructureFactory.cloneMap(Map<String,FileInfo> map) |
static boolean |
SynchroHelper.splitBigFiles(File baseFolder,
Map<String,FileInfo> map)
Split files if required.
|
static void |
FileStructureFactory.writeToStream(Collection<FileInfo> list,
OutputStream outStream) |
Copyright © 2012-2018. All Rights Reserved.