Uses of Class
org.javlo.service.syncro.FileInfo
-
Packages that use FileInfo Package Description org.javlo.service.syncro -
-
Uses of FileInfo in org.javlo.service.syncro
Methods in org.javlo.service.syncro that return FileInfo Modifier and Type Method 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)
Methods in org.javlo.service.syncro that return types with arguments of type FileInfo Modifier and Type Method 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)
Methods in org.javlo.service.syncro with parameters of type FileInfo Modifier and Type Method 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)
Method parameters in org.javlo.service.syncro with type arguments of type FileInfo Modifier and Type Method 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)
-