Lines Matching refs:pattern
77 /** The string property name used to get the date format pattern to use for
78 * directory listings in the web app. It needs to be a pattern acceptable
243 * Get the {@link SimpleDateFormat} pattern to use to show the last modified
245 * @return an always usuable pattern for date formatting.
252 * Set the {@link SimpleDateFormat} pattern to use to show the last modified
254 * @param pattern the pattern to use. Ignored if {@code null} or invalid.
256 public void setDirlistDatePattern(String pattern) {
257 if (pattern == null) {
262 SimpleDateFormat sdf = new SimpleDateFormat(pattern);
263 dirlistDatePattern = pattern;
265 logger.warning("Invalid web directory list date format pattern ("
266 + pattern + ") ignored: " + e.getMessage());