long modifiedVfs = new Long(tok.nextToken()).longValue(); long modifiedFs = new Long(tok.nextToken()).longValue(); CmsSynchronizeList sync = new CmsSynchronizeList(resName, tranResName, modifiedVfs, modifiedFs); syncList.put(translate(resName), sync);
fOut = new FileOutputStream(syncListFile); pOut = new PrintWriter(fOut); pOut.println(CmsSynchronizeList.getFormatDescription()); CmsSynchronizeList sync = (CmsSynchronizeList)values.next(); pOut.println(sync.toString());
fsFile = getFileInRfs(sync.getResName()); if (res.getDateLastModified() > sync.getModifiedVfs()) { if ((fsFile.lastModified() > sync.getModifiedFs()) && (fsFile.lastModified() > res.getDateLastModified())) { action = UPDATE_VFS; } else { if (fsFile.lastModified() > sync.getModifiedFs()) { action = UPDATE_VFS;
File fsFile = getFileInRfs(sync.getResName()); CmsSynchronizeList syncList = new CmsSynchronizeList( sync.getResName(), translate(resourcename), res.getDateLastModified(),
File fsFile = getFileInRfs(sync.getResName()); CmsSynchronizeList syncList = new CmsSynchronizeList( sync.getResName(), translate(resourcename), res.getDateLastModified(),
fsFile = getFileInRfs(sync.getResName()); if (res.getDateLastModified() > sync.getModifiedVfs()) { if ((fsFile.lastModified() > sync.getModifiedFs()) && (fsFile.lastModified() > res.getDateLastModified())) { action = UPDATE_VFS; } else { if (fsFile.lastModified() > sync.getModifiedFs()) { action = UPDATE_VFS;
resourcename = sync.getResName(); } else { resourcename = parentSync.getResName() + res.getName(); CmsSynchronizeList syncList = new CmsSynchronizeList( resourcename, translate(resourcename),
fOut = new FileOutputStream(syncListFile); pOut = new PrintWriter(fOut); pOut.println(CmsSynchronizeList.getFormatDescription()); CmsSynchronizeList sync = values.next(); pOut.println(sync.toString());
long modifiedVfs = new Long(tok.nextToken()).longValue(); long modifiedFs = new Long(tok.nextToken()).longValue(); CmsSynchronizeList sync = new CmsSynchronizeList(resName, tranResName, modifiedVfs, modifiedFs); syncList.put(translate(resName), sync);
resourcename = sync.getResName(); } else { resourcename = parentSync.getResName() + res.getName(); CmsSynchronizeList syncList = new CmsSynchronizeList( resourcename, translate(resourcename),
String resourcename = m_cms.getSitePath(newFolder); CmsSynchronizeList sync = new CmsSynchronizeList( folder, resourcename,
String resourcename = m_cms.getSitePath(newFolder); CmsSynchronizeList sync = new CmsSynchronizeList( folder, resourcename,
CmsResource newRes = m_cms.readResource(m_cms.getSitePath(newFile)); CmsSynchronizeList syncList = new CmsSynchronizeList( resName, translate(resName),
CmsResource newRes = m_cms.readResource(m_cms.getSitePath(newFile)); CmsSynchronizeList syncList = new CmsSynchronizeList( resName, translate(resName),