assertNotNull(firstInfo.getName());
assertTrue(firstInfo.getLastModified() > 0);
trace("lastModified=" + new SimpleDateFormat().format(new Date(firstInfo.getLastModified())));
trace("length=" + firstInfo.getLength());
trace("isDirectory=" + firstInfo.isDirectory());
final IRemoteFileAttributes attributes = firstInfo.getAttributes();
assertNotNull(attributes);
final Iterator attrNames = attributes.getAttributeKeys();
for (; attrNames.hasNext();) {
final String key = (String) attrNames.next();
String s = "attrname=" + key;
s += " attrvalue=" + attributes.getAttribute(key);
trace(s);
}
}
}