comparison servlet/src/digilib/io/Directory.java @ 270:b21915a3fc24

Servlet version 1.21b3 - searching in directories got faster (real binarySearch now!) - cached file lists get disposed - some code cleaning (Map types instead of HashMap)
author robcast
date Tue, 12 Oct 2004 16:06:43 +0200
parents 81962224b18b
children 87dca7119596
comparison
equal deleted inserted replaced
269:6e6bf5aa7ad2 270:b21915a3fc24
123 * @return Returns the filenames. 123 * @return Returns the filenames.
124 */ 124 */
125 public String[] getFilenames() { 125 public String[] getFilenames() {
126 return list; 126 return list;
127 } 127 }
128
128 /** 129 /**
129 * @param filenames The filenames to set. 130 * @param filenames The filenames to set.
130 */ 131 */
131 public void setFilenames(String[] filenames) { 132 public void setFilenames(String[] filenames) {
132 this.list = filenames; 133 this.list = filenames;
133 } 134 }
135
136 public void clearFilenames() {
137 this.list = null;
138 }
134 } 139 }