+
+ /**
+ * @param inIndex index number
+ * @return source info object
+ */
+ public SourceInfo getSource(int inIndex) {
+ return _sources.get(inIndex);
+ }
+
+ /**
+ * Clone contents of file info
+ */
+ @SuppressWarnings("unchecked")
+ public FileInfo clone()
+ {
+ // copy source list
+ ArrayList<SourceInfo> copy = (ArrayList<SourceInfo>) _sources.clone();
+ return new FileInfo(copy);
+ }