}
long modif;
try {
modif = df.parse(attrs.getValue("modified")).getTime();
} catch (ParseException e) { throw new SAXException(e); }
FileStatus fs = "file".equals(qname)
? new FileStatus(
Long.valueOf(attrs.getValue("size")).longValue(), false,
Short.valueOf(attrs.getValue("replication")).shortValue(),
Long.valueOf(attrs.getValue("blocksize")).longValue(),
modif, FsPermission.valueOf(attrs.getValue("permission")),
attrs.getValue("owner"), attrs.getValue("group"),
new Path("hftp", fshostname + ":" + fsport,
attrs.getValue("path")))
: new FileStatus(0L, true, 0, 0L,
modif, FsPermission.valueOf(attrs.getValue("permission")),
attrs.getValue("owner"), attrs.getValue("group"),
new Path("hftp", fshostname + ":" + fsport,
attrs.getValue("path")));
fslist.add(fs);