Mercurial > hg > digilib-old
diff servlet/src/digilib/io/DocuDirentImpl.java @ 582:c7034d166a24 stream
more ripping apart ImageFileSet
author | robcast |
---|---|
date | Tue, 04 Jan 2011 11:56:12 +0100 |
parents | dad720e9b12b |
children | 69bc69381ac4 |
line wrap: on
line diff
--- a/servlet/src/digilib/io/DocuDirentImpl.java Thu Dec 23 19:04:57 2010 +0100 +++ b/servlet/src/digilib/io/DocuDirentImpl.java Tue Jan 04 11:56:12 2011 +0100 @@ -54,18 +54,18 @@ /* (non-Javadoc) * @see digilib.io.DocuDirent#getInput() */ - public abstract File getInput(); + public abstract File getFile(); /* (non-Javadoc) * @see digilib.io.DocuDirent#readMeta() */ public void readMeta() { - if ((fileMeta != null) || (getInput() == null)) { + if ((fileMeta != null) || (getFile() == null)) { // there is already metadata or there is no file return; } // metadata is in the file {filename}.meta - String fn = getInput().getAbsolutePath(); + String fn = getFile().getAbsolutePath(); File mf = new File(fn + ".meta"); if (mf.canRead()) { XMLMetaLoader ml = new XMLMetaLoader(); @@ -86,7 +86,7 @@ * @see digilib.io.DocuDirent#getName() */ public String getName() { - File f = getInput(); + File f = getFile(); return (f != null) ? f.getName() : null; }