diff servlet/src/digilib/io/FileOps.java @ 582:c7034d166a24 stream

more ripping apart ImageFileSet
author robcast
date Tue, 04 Jan 2011 11:56:12 +0100
parents dad720e9b12b
children 7357ad8f9f42
line wrap: on
line diff
--- a/servlet/src/digilib/io/FileOps.java	Thu Dec 23 19:04:57 2010 +0100
+++ b/servlet/src/digilib/io/FileOps.java	Tue Jan 04 11:56:12 2011 +0100
@@ -334,15 +334,15 @@
 	 * 
 	 * @param fileClass
 	 * @param file
-	 * @param hints
+	 * @param baseDirs
 	 *            optional additional parameters
 	 * @return
 	 */
-	public static DocuDirent fileForClass(FileClass fileClass, File file, Map<Integer,Object> hints) {
+	public static DocuDirent fileForClass(FileClass fileClass, File file, Directory[] baseDirs) {
 		// what class of file do we have?
 		if (fileClass == FileClass.IMAGE) {
 			// image file
-			return new ImageFileSet(file, hints);
+			return new ImageFileSet(file, baseDirs);
 		} else if (fileClass == FileClass.TEXT) {
 			// text file
 			return new TextFile(file);