public String toString() { StringBuffer buf = new StringBuffer("LocalRemoteFile["); //$NON-NLS-1$ buf.append("id=").append(getID()).append(";"); //$NON-NLS-1$//$NON-NLS-2$ buf.append("name=").append(getInfo().getName()).append(";"); //$NON-NLS-1$ //$NON-NLS-2$ buf.append("isDir=").append(getInfo().isDirectory()).append(";"); //$NON-NLS-1$ //$NON-NLS-2$ buf.append("length=").append(getInfo().getLength()).append(";"); //$NON-NLS-1$ //$NON-NLS-2$ buf.append("lastMod=").append(getInfo().getLastModified()).append(";"); //$NON-NLS-1$ //$NON-NLS-2$ buf.append("attr=").append(getInfo().getAttributes()).append("]"); //$NON-NLS-1$ //$NON-NLS-2$ return buf.toString(); } }
public long getLastModified(URI location, IProgressMonitor monitor) throws AuthenticationFailedException, FileNotFoundException, CoreException, JREHttpClientRequiredException { IRemoteFile file = getRemoteFile(location, monitor); if (file == null) throw new FileNotFoundException(location.toString()); return file.getInfo().getLastModified(); }
public long getLastModified(URI location, IProgressMonitor monitor) throws AuthenticationFailedException, FileNotFoundException, CoreException, JREHttpClientRequiredException { IRemoteFile file = getRemoteFile(location, monitor); if (file == null) throw new FileNotFoundException(location.toString()); return file.getInfo().getLastModified(); }
public String toString() { StringBuffer buf = new StringBuffer("URLRemoteFile["); //$NON-NLS-1$ buf.append("id=").append(getID()).append(";"); //$NON-NLS-1$//$NON-NLS-2$ buf.append("name=").append(getInfo().getName()).append(";"); //$NON-NLS-1$ //$NON-NLS-2$ buf.append("isDir=").append(getInfo().isDirectory()).append(";"); //$NON-NLS-1$ //$NON-NLS-2$ buf.append("length=").append(getInfo().getLength()).append(";"); //$NON-NLS-1$ //$NON-NLS-2$ buf.append("lastMod=").append(getInfo().getLastModified()).append(";"); //$NON-NLS-1$ //$NON-NLS-2$ buf.append("attr=").append(getInfo().getAttributes()).append("]"); //$NON-NLS-1$ //$NON-NLS-2$ return buf.toString(); } }
public long getLastModified(URI location, IProgressMonitor monitor) throws AuthenticationFailedException, FileNotFoundException, CoreException, JREHttpClientRequiredException { IRemoteFile file = getRemoteFile(location, monitor); if (file == null) throw new FileNotFoundException(location.toString()); return file.getInfo().getLastModified(); }