return new AttributeListAttributeRes(fileRecord, offset);
} else {
return new AttributeListAttributeNonRes(fileRecord, offset);
}
case Types.FILE_NAME:
return new FileNameAttribute(fileRecord, offset);
case Types.INDEX_ROOT:
return new IndexRootAttribute(fileRecord, offset);
case Types.INDEX_ALLOCATION:
return new IndexAllocationAttribute(fileRecord, offset);
}